diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-04 23:30:32 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-04 23:30:32 +0000 |
| commit | fd256793f165595fdb078d9ab52f06d79e776fdd (patch) | |
| tree | 62c61f5d3da0a64b564d02bd42fd1038c5512e19 /app/globals.css | |
| download | karakeep-fd256793f165595fdb078d9ab52f06d79e776fdd.tar.zst | |
Initial commit from Create Next App
Diffstat (limited to 'app/globals.css')
| -rw-r--r-- | app/globals.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/globals.css b/app/globals.css new file mode 100644 index 00000000..875c01e8 --- /dev/null +++ b/app/globals.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --foreground-rgb: 0, 0, 0; + --background-start-rgb: 214, 219, 220; + --background-end-rgb: 255, 255, 255; +} + +@media (prefers-color-scheme: dark) { + :root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + } +} + +body { + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} + +@layer utilities { + .text-balance { + text-wrap: balance; + } +} |
