diff options
Diffstat (limited to 'src/app/globals.css')
| -rw-r--r-- | src/app/globals.css | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/src/app/globals.css b/src/app/globals.css index a2dc41e..e29be92 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,26 +1,17 @@ @import "tailwindcss"; :root { - --background: #ffffff; - --foreground: #171717; -} - -@theme inline { - --color-background: var(--background); - --color-foreground: var(--foreground); - --font-sans: var(--font-geist-sans); - --font-mono: var(--font-geist-mono); -} - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; } body { - background: var(--background); - color: var(--foreground); - font-family: Arial, Helvetica, sans-serif; -} + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +}
\ No newline at end of file |
