summaryrefslogtreecommitdiff
path: root/app/globals.css
diff options
context:
space:
mode:
authorYuren Hao <97327730+YurenHao0426@users.noreply.github.com>2025-02-02 23:59:29 -0600
committerGitHub <noreply@github.com>2025-02-02 23:59:29 -0600
commit1774317d667aed94b2a2f0acae885ce9420de8e2 (patch)
tree71ca71920e68a43536bc58085ebc96e193db776a /app/globals.css
Add files via uploadHEADmain
initialization
Diffstat (limited to 'app/globals.css')
-rw-r--r--app/globals.css23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/globals.css b/app/globals.css
new file mode 100644
index 0000000..99d2c7a
--- /dev/null
+++ b/app/globals.css
@@ -0,0 +1,23 @@
+@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));
+}
+