mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
fixes dark mode primary button contrast issue
This commit is contained in:
parent
a921eb08e9
commit
faea4b326e
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -91,6 +91,10 @@ pre {
|
|||||||
// Dark mode overrides
|
// Dark mode overrides
|
||||||
body[data-bs-theme=dark] {
|
body[data-bs-theme=dark] {
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
color: $rich-black!important;
|
||||||
|
}
|
||||||
|
|
||||||
// Change content color when primary teal changes with theme
|
// Change content color when primary teal changes with theme
|
||||||
.bg-primary {
|
.bg-primary {
|
||||||
.card-title,a,i {
|
.card-title,a,i {
|
||||||
@ -115,6 +119,10 @@ body[data-bs-theme=dark] {
|
|||||||
background-color: $rich-black-light!important;
|
background-color: $rich-black-light!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-link.active, .active>.page-link {
|
||||||
|
color: $rich-black;
|
||||||
|
}
|
||||||
|
|
||||||
// Adjusting text colors
|
// Adjusting text colors
|
||||||
.text- {
|
.text- {
|
||||||
&bg-primary {
|
&bg-primary {
|
||||||
|
@ -77,6 +77,11 @@ body[data-bs-theme=dark] {
|
|||||||
table.object-list {
|
table.object-list {
|
||||||
a {
|
a {
|
||||||
color: var(--#{$prefix}body-color)!important;
|
color: var(--#{$prefix}body-color)!important;
|
||||||
|
|
||||||
|
// Ensures primary button color remains legible
|
||||||
|
&.btn-primary {
|
||||||
|
color: $rich-black!important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user