From 6f442eceab7d4562b0f1772e5b412ffc83277dbd Mon Sep 17 00:00:00 2001 From: James Xylight Date: Wed, 5 Feb 2025 18:48:29 -0800 Subject: [PATCH] misc: redesign switches --- src/lib/components/input/Switch.svelte | 29 ++++++++++++++-------- src/routes/admin/applications/+page.svelte | 3 +-- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/src/lib/components/input/Switch.svelte b/src/lib/components/input/Switch.svelte index ff670320..ff467383 100644 --- a/src/lib/components/input/Switch.svelte +++ b/src/lib/components/input/Switch.svelte @@ -1,10 +1,6 @@ -
+
{#each options as option, index} + {@const slctd = selected == option}