The inline script in app.html that applies the dark mode class before
paint is not covered by SvelteKit's nonce system. Whitelist it by
its SHA-256 hash instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SvelteKit now handles script-src with automatic nonces via its
built-in CSP support. The hooks handler merges extra directives
(style-src, font-src, img-src, etc.) onto SvelteKit's nonce-based
policy for page responses, and sets a full CSP for API responses.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>