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 <james@xylight.dev>
This commit is contained in:
Peter BuiandXyphyn authored and GitHub committed 2023-07-31 17:08:00 -07:00
1 parent 9e4fcae599
commit 2aed207b54
1 file changed
+1 -1
+1 -1
View File
@@ -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}
`
</script>