fixes dark mode primary button contrast issue

This commit is contained in:
Andrew Gormley 2024-07-25 16:29:28 +01:00 committed by Jeremy Stretch
parent a921eb08e9
commit faea4b326e
3 changed files with 13 additions and 0 deletions

Binary file not shown.

View File

@ -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 {

View File

@ -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;
}
}
}
}