"\n\t\t\tdocument.documentElement.classList.add(\n\t\t\t\t((c) =>\n\t\t\t\t\tc === 'dark' || (c !== 'light' && matchMedia('(prefers-color-scheme:dark)').matches)\n\t\t\t\t\t\t? 'dark'\n\t\t\t\t\t\t: 'light')(localStorage.getItem('fuz:color-scheme'))\n\t\t\t);\n\t\t" import {COLOR_SCHEME_SCRIPT} from '@fuzdev/fuz_ui/csp.js'; The exact body of the color-scheme loader <script> in app.html, the inline script
COLOR_SCHEME_SCRIPT_HASH admits.
The loader has to run before first paint to avoid a flash of the wrong scheme, so it is inline
rather than a render-blocking src, and CSP admits it by hash. That makes its bytes
load-bearing: whitespace, quoting, and trailing commas all move the hash, so a formatter that
reflows app.html breaks the theme on every cold load with nothing but a console violation to
show for it. Consumers can guard their own app.html against this constant.