Skip to content

Commit

Permalink
Merge pull request #6 from minitriga/V4_DarkMode
Browse files Browse the repository at this point in the history
Fix Darkmode
  • Loading branch information
minitriga authored May 8, 2024
2 parents 96124f7 + 1fee279 commit 53ecb5c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions netbox_reorder_rack/static/netbox_reorder_rack/js/rack.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions netbox_reorder_rack/static/netbox_reorder_rack/js/rack.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions netbox_reorder_rack/static_dev/css/rack.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
:root {
--nbx-rack-bg: #e9ecef;
--nbx-rack-bg: var(--tblr-bg-surface-secondary);
--nbx-rack-border: #000;
--nbx-rack-slot-bg: #e9ecef;
--nbx-rack-slot-border: #adb5bd;
--nbx-rack-slot-hover-bg: #ced4da;
--nbx-rack-link-color: #0d6efd;
--nbx-rack-unit-color: #6c757d
--nbx-rack-unit-color: #6c757d;
}

:root[data-netbox-color-mode=dark] {
--nbx-rack-bg: #343a40;
:root[data-bs-theme=dark] {
--nbx-rack-bg: rgb(27, 41, 58);
--nbx-rack-border: #6c757d;
--nbx-rack-slot-bg: #343a40;
--nbx-rack-slot-border: #495057;
--nbx-rack-slot-hover-bg: #212529;
--nbx-rack-link-color: #9ec5fe;
--nbx-rack-unit-color: #6c757d
--nbx-rack-unit-color: #adb5bd;
}

.device_rear {
Expand Down
4 changes: 2 additions & 2 deletions netbox_reorder_rack/static_dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"bundle:scripts": "node bundle.js --scripts"
},
"dependencies": {
"bootstrap": "~5.0.2",
"gridstack": "^7.2.3"
"bootstrap": "5.3.3",
"gridstack": "10.1.2"
},
"devDependencies": {
"esbuild": "^0.20.1",
Expand Down
16 changes: 8 additions & 8 deletions netbox_reorder_rack/static_dev/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==

bootstrap@~5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.0.2.tgz#aff23d5e0e03c31255ad437530ee6556e78e728e"
integrity sha512-1Ge963tyEQWJJ+8qtXFU6wgmAVj9gweEjibUdbmcCEYsn38tVwRk8107rk2vzt6cfQcRr3SlZ8aQBqaD8aqf+Q==
bootstrap@5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.3.tgz#de35e1a765c897ac940021900fcbb831602bac38"
integrity sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==

braces@~3.0.2:
version "3.0.2"
Expand Down Expand Up @@ -218,10 +218,10 @@ glob-parent@~5.1.2:
dependencies:
is-glob "^4.0.1"

gridstack@^7.2.3:
version "7.3.0"
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-7.3.0.tgz#7b32395edcd885bc39b84068ac86f2831f7a2451"
integrity sha512-JKZgsHzm1ljkn1NnBZpf8j4NDOBCXTuw0m1ZC0sr6NKUh0BFWzXAONIxtX1hWGUVeKLj5l1VcmnTwCXw5ypDNw==
gridstack@10.1.2:
version "10.1.2"
resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-10.1.2.tgz#58b5ae0057a8aa5e4f6563041c4ca2def3aa4268"
integrity sha512-Nn27XGQ68WtBC513cKQQ4t/dA2uuN/xnNUU50puXEJv6IFk5SzT0Dnsq68GpopO1n0tXUKZKm1Rw7uOUMDz1KQ==

hasown@^2.0.0:
version "2.0.2"
Expand Down

0 comments on commit 53ecb5c

Please sign in to comment.