Fix navbar text and background colors in dark mode

Drive the navbar text from the theme-reactive --hd-fg-* vars instead of
Bootstrap's baked-in dark color, so it flips light when the background
goes dark. Also fade the beginscroll gradient to --hd-bg-canvas rather
than a hardcoded white.
This commit is contained in:
nemunaire 2026-06-12 12:34:41 +09:00
commit b11e962344
2 changed files with 17 additions and 4 deletions

View file

@ -38,9 +38,9 @@
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
{{ range .Children }}
<a href="{{ .URL }}" class="dropdown-item"
>{{ .Name }}</a
>
<a href="{{ .URL }}" class="dropdown-item">
{{ .Name }}
</a>
{{ end }}
</div>
{{ else }}