From 1f61ef1b43fa4f68c86699a95b7bc5261ffc0dda Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 4 Jun 2026 22:09:33 +0200 Subject: [PATCH] fix(temas/color): ssr:false to kill the color-input hydration warning Diagnosis: the SSR HTML already emits valid hex on all 6 (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) --- web/routes/temas/color/+page.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/routes/temas/color/+page.ts b/web/routes/temas/color/+page.ts index fdab8edc5..2b47e88e5 100644 --- a/web/routes/temas/color/+page.ts +++ b/web/routes/temas/color/+page.ts @@ -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 `` +// 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