fix(temas/color): ssr:false to kill the color-input hydration warning

Diagnosis: the SSR HTML already emits valid hex on all 6 <input type="color">
(verified), and the warning stack pointed to SvelteKit hydration ("await in
start"). Svelte momentarily sets a color input's value to "" while hydrating
before applying the real hex -> "specified value '' does not conform" x6. The page
is a client-only interactive tool (no SEO/SSR need), so ssr:false removes
hydration entirely -> no warning. Belt-and-suspenders with the existing value
guards.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
active-uix
dev 4 months ago
parent a13352aa9e
commit 1f61ef1b43

@ -1,2 +1,6 @@
// Live demo of the Eidos color system — no static prerender.
// Live demo of the Eidos color system — client-rendered. It is an interactive tool
// (no SEO/SSR need), and ssr:false avoids the Svelte `<input type="color">`
// hydration warning (hydration momentarily sets the value to "" before applying the
// real hex; with no SSR there is no hydration). SSR HTML was already valid.
export const prerender = false
export const ssr = false

Loading…
Cancel
Save

Powered by TurnKey Linux.