// Applies PageSettings to the page. It picks the daisyUI theme from Styles/theme.css and sets the hue and chroma // variables that theme derives every colour from. It loads in
right after css/app.css and applies the // settings saved in localStorage before the first paint. Once Blazor runs, CascadingState calls neoTheme.apply // through AppStatusService.ApplyTheme whenever the settings change. (() => { const root = document.documentElement let current = null // The same precedence the old CascadingState