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:
parent
ccfb30dbc2
commit
b11e962344
2 changed files with 17 additions and 4 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue