From 5c83b3252274c7be6e4ba8a3d41f82846caf4e2b Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 11 Dec 2024 18:57:50 +0000 Subject: [PATCH] Add gamut selector --- src/lib/components/GamutSelect.svelte | 45 ++++++++++++++++++++++++ src/lib/components/Header.svelte | 2 ++ src/lib/components/SpaceSelect.svelte | 2 +- src/lib/components/colors/Sliders.svelte | 16 +++++++-- src/lib/constants.ts | 8 +++++ src/lib/stores.ts | 4 ++- src/lib/utils.ts | 20 +++++++---- src/sass/initial/_layout.scss | 2 +- 8 files changed, 86 insertions(+), 13 deletions(-) create mode 100644 src/lib/components/GamutSelect.svelte diff --git a/src/lib/components/GamutSelect.svelte b/src/lib/components/GamutSelect.svelte new file mode 100644 index 00000000..86e31e1a --- /dev/null +++ b/src/lib/components/GamutSelect.svelte @@ -0,0 +1,45 @@ + + +
+ + +
+ + diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 360fff76..0bb934f4 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -1,4 +1,5 @@ @@ -9,6 +10,7 @@ OddContrast +