dark mode
This commit is contained in:
+34
-1
@@ -6,8 +6,9 @@
|
||||
:root {
|
||||
--background: 0 0% 100%;
|
||||
--foreground: 0 0% 10%;
|
||||
--card: 0 0% 100%;
|
||||
--card: 0 0% 98%;
|
||||
--card-foreground: 0 0% 10%;
|
||||
--badge: 0 100%, 50%;
|
||||
--popover: 0 0% 100%;
|
||||
--popover-foreground: 0 0% 10%;
|
||||
--primary: 0 0% 10%;
|
||||
@@ -26,6 +27,38 @@
|
||||
--radius: 0.5rem;
|
||||
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
[data-theme='dark'] {
|
||||
--background: 0 0% 10%;
|
||||
--foreground: 0 0% 90%;
|
||||
--card: 0 0% 15%;
|
||||
--card-foreground: 0 0% 90%;
|
||||
--popover: 0 0% 20%;
|
||||
--popover-foreground: 0 0% 90%;
|
||||
--primary: 0 0% 90%;
|
||||
--primary-foreground: 0 0% 10%;
|
||||
--secondary: 0 0% 30%;
|
||||
--secondary-foreground: 0 0% 90%;
|
||||
--muted: 0 0% 30%;
|
||||
--muted-foreground: 0 0% 70%;
|
||||
--accent: 0 0% 30%;
|
||||
--accent-foreground: 0 0% 90%;
|
||||
--destructive: 0 84% 60%;
|
||||
--destructive-foreground: 0 0% 10%;
|
||||
--border: 0 0% 20%;
|
||||
--input: 0 0% 20%;
|
||||
--ring: 0 0% 90%;
|
||||
--radius: 0.5rem;
|
||||
--shadow: 0 1px 3px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
}
|
||||
|
||||
.border {
|
||||
border: 1px solid hsl(var(--border));
|
||||
}
|
||||
|
||||
.shadow {
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
/* Optional: Add smooth scrolling */
|
||||
|
||||
Reference in New Issue
Block a user