feat: update theme handling and improve icons
All checks were successful
build dist / build-dist (push) Successful in 47s
All checks were successful
build dist / build-dist (push) Successful in 47s
This commit is contained in:
parent
0e48c6baf7
commit
17a1981fba
8 changed files with 45 additions and 49 deletions
|
@ -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!;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue