diff options
| author | Bobby <[email protected]> | 2023-05-09 19:41:27 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-05-09 19:41:27 -0400 |
| commit | ca81030bd777ea04441f9b0cfc388e096f60a5a4 (patch) | |
| tree | 8d67eaf74d81e5b5cb888d91624caa02a4f6c3de /app/globals.css | |
| download | mafia-ca81030bd777ea04441f9b0cfc388e096f60a5a4.tar.xz mafia-ca81030bd777ea04441f9b0cfc388e096f60a5a4.zip | |
Initial commit from Create Next App
Diffstat (limited to 'app/globals.css')
| -rw-r--r-- | app/globals.css | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/globals.css b/app/globals.css new file mode 100644 index 0000000..fd81e88 --- /dev/null +++ b/app/globals.css @@ -0,0 +1,27 @@ +@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)); +} |
