Hi, I'm using starlight and want to customize it a bit. I did some overrides with layers, it works well, but for some reason, when I modify --sl-color-bg-nav and put a new color for the variable, it doesn't change the navigation bar color. Not sure why though..
My css looks like this:
@layer starlight, rapide, hardsploit;
@layer hardsploit {
:root,
::backdrop {
--sl-color-bg: #2d2d2d;
--sl-color-bg-nav: #212121;
--sl-color-bg-sidebar: #212121;
--sl-color-accent-low: orange;
--sl-color-accent: orange;
--sl-color-accent-high: orange;
}
.sl-link-button {
&.primary {
border-color: orange;
color: orange;
&:is(:hover, :focus-visible) {
border-color: orange;
color: orange;
}
}
}
}
Note that it works for the other variables, I do get another sidebar bg color etc. just not for the navbar. Any ideas what the issue might be?