mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28: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
|
||||
body[data-bs-theme=dark] {
|
||||
|
||||
.btn-primary {
|
||||
color: $rich-black!important;
|
||||
}
|
||||
|
||||
// Change content color when primary teal changes with theme
|
||||
.bg-primary {
|
||||
.card-title,a,i {
|
||||
@ -115,6 +119,10 @@ body[data-bs-theme=dark] {
|
||||
background-color: $rich-black-light!important;
|
||||
}
|
||||
|
||||
.page-link.active, .active>.page-link {
|
||||
color: $rich-black;
|
||||
}
|
||||
|
||||
// Adjusting text colors
|
||||
.text- {
|
||||
&bg-primary {
|
||||
|
@ -77,6 +77,11 @@ body[data-bs-theme=dark] {
|
||||
table.object-list {
|
||||
a {
|
||||
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