aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/globals.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/globals.css')
-rw-r--r--src/styles/globals.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css
new file mode 100644
index 0000000..fd81e88
--- /dev/null
+++ b/src/styles/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));
+}