From 446b4a456fad47e80e793d5c868b1591409b8cc0 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Thu, 28 Nov 2024 13:53:30 +0100 Subject: [PATCH] kaas --- src/routes/(editor).tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/routes/(editor).tsx b/src/routes/(editor).tsx index d38bb41..abd29df 100644 --- a/src/routes/(editor).tsx +++ b/src/routes/(editor).tsx @@ -46,15 +46,19 @@ export default function Editor(props: ParentProps) { return isServer ? 'lch(.5 .75 0deg)' : globalThis.getComputedStyle(document.body).backgroundColor; }); + createEffect(() => { + console.log(theme(), themeColor()); + }) + return <> - + ; } }