fix(styles): target correct footer class for dark mode

Add .nav-footer to the footer dark mode selectors. The actual footer
element uses the class 'nav-footer' not just 'footer', so the dark
mode styling wasn't being applied.

Thanks to @eimlav for identifying the correct class name and providing
the fix suggestion.

Fixes the footer still showing in light theme when dark mode is active.
This commit is contained in:
Vijay Janapa Reddi
2025-10-27 10:19:17 -04:00
parent 976e471d29
commit 03c7c4f7d9

View File

@@ -385,9 +385,10 @@ html[data-bs-theme="dark"] .quarto-color-scheme-toggle .bi::before {
color: #adb5bd !important;
}
// Footer - support both class names Quarto might use
// Footer - support all class names Quarto might use
.page-footer,
.footer,
.nav-footer,
footer {
background-color: $navbar-bg-dark !important;
border-top-color: $border-color-dark !important;