feat: update theme handling and improve icons
All checks were successful
build dist / build-dist (push) Successful in 47s

This commit is contained in:
z0x 2025-05-23 21:04:11 -04:00
parent 0e48c6baf7
commit 17a1981fba
8 changed files with 45 additions and 49 deletions

View file

@ -1,6 +1,6 @@
@import "tailwindcss";
@custom-variant dark (&:is(.dark *));
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
@theme inline {
--font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif,
@ -49,7 +49,7 @@
--ring: oklch(0.708 0 0);
}
.dark {
[data-theme="dark"] {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--primary: oklch(0.922 0 0);
@ -73,20 +73,4 @@
::file-selector-button {
@apply border-border outline-ring/50 tracking-tight;
}
html {
@apply bg-background text-foreground scheme-light;
&.dark {
@apply scheme-dark;
}
::-webkit-scrollbar-corner {
@apply bg-transparent;
}
}
.disable-transitions * {
@apply transition-none!;
}
}