diff --git a/src/lib/components/colors/Header.svelte b/src/lib/components/colors/Header.svelte index a74b51dc..3d96363f 100644 --- a/src/lib/components/colors/Header.svelte +++ b/src/lib/components/colors/Header.svelte @@ -14,8 +14,8 @@ $: targetSpace = getSpaceFromFormatId(format); $: display = serialize($color, { inGamut: false, format }); $: displayType = type === 'bg' ? 'Background' : 'Foreground'; - $: editing = false; - $: inputValue = ''; + let editing = false; + let inputValue = ''; let hasError = false; // When not editing, sync input value with color (e.g. when sliders change) diff --git a/src/lib/components/util/CopyButton.svelte b/src/lib/components/util/CopyButton.svelte index 672efbaa..ca174b2c 100644 --- a/src/lib/components/util/CopyButton.svelte +++ b/src/lib/components/util/CopyButton.svelte @@ -1,19 +1,20 @@