From 2aed207b54e4687b04bc12f87293457986fc2aad Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Mon, 31 Jul 2023 20:08:00 -0400 Subject: [PATCH] misc: set different disabled backgrounds for light and dark mode (#51) * misc: set different disabled backgrounds for light and dark mode * misc: use dark theme instead of weird override --------- Co-authored-by: Xyphyn --- src/lib/components/input/TextInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/input/TextInput.svelte b/src/lib/components/input/TextInput.svelte index d7487cab..c56ed0b3 100644 --- a/src/lib/components/input/TextInput.svelte +++ b/src/lib/components/input/TextInput.svelte @@ -17,7 +17,7 @@ ${value.length != 0 ? 'invalid:border-red-400' : ''} w-full px-3 text-sm py-2.5 bg-white dark:bg-zinc-950 border border-slate-300 dark:border-zinc-700 dark:focus:border-white - focus:outline-none focus:border-black transition-colors rounded-md disabled:bg-slate-200 disabled:bg-zinc-800 disabled:opacity-70 + focus:outline-none focus:border-black transition-colors rounded-md disabled:bg-slate-200 disabled:border-slate-300 dark:disabled:border-zinc-600 dark:disabled:bg-zinc-700 disabled:opacity-70 ${$$props.class} `