You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Light/dark toggle shown without dark stylesheet when the dark brand file holds only comments #15131
Since #15101, a brand file that holds only comments is ignored with a warning instead of stopping the render (#14891). When this is the dark file of a light/dark brand, the HTML page still gets the light/dark color-scheme toggle, but no dark stylesheet is generated, so the toggle does nothing.
This is also used by website navigation, dashboards, giscus and brand Sass defaults, so the fix needs to keep explicit dark themes (theme: {light, dark}) working.
Activity
Fix light/dark toggle shown when the dark brand file is ignored (#15132)