Skip to content

Commit 3bdb982

Browse files
Update globals.css
1 parent 1ee2847 commit 3bdb982

1 file changed

Lines changed: 57 additions & 34 deletions

File tree

app/globals.css

Lines changed: 57 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,67 @@
22
@tailwind components;
33
@tailwind utilities;
44

5-
@layer base {
6-
:root {
7-
--background: 240, 6%, 10%;
8-
--foreground: 0 0% 98%;
9-
--card: 240 10% 3.9%;
10-
--card-foreground: 0 0% 98%;
11-
--popover: 240, 5%, 13%;
12-
--popover-foreground: 0 0% 98%;
13-
--primary: 0 0% 98%;
14-
--primary-foreground: 240 5.9% 10%;
15-
--secondary: 240 3.7% 15.9%;
16-
--secondary-foreground: 0 0% 98%;
17-
--muted: 240 3.7% 15.9%;
18-
--muted-foreground: 240 5% 64.9%;
19-
--accent: 240 3.7% 15.9%;
20-
--accent-foreground: 0 0% 98%;
21-
--destructive: 0 62.8% 30.6%;
22-
--destructive-foreground: 0 0% 98%;
23-
--border: 270, 2%, 19%;
24-
--input: 240 3.7% 15.9%;
25-
--ring: 0, 0%, 100%, 0.1;
26-
--chart-1: 220 70% 50%;
27-
--chart-2: 160 60% 45%;
28-
--chart-3: 30 80% 55%;
29-
--chart-4: 280 65% 60%;
30-
--chart-5: 340 75% 55%;
31-
}
5+
:root {
6+
--background: 0 0% 100%;
7+
--foreground: 240 10% 3.9%;
8+
--card: 0 0% 100%;
9+
--card-foreground: 240 10% 3.9%;
10+
--popover: 0 0% 100%;
11+
--popover-foreground: 240 10% 3.9%;
12+
--primary: 240 5.9% 10%;
13+
--primary-foreground: 0 0% 98%;
14+
--secondary: 240 4.8% 95.9%;
15+
--secondary-foreground: 240 5.9% 10%;
16+
--muted: 240 4.8% 95.9%;
17+
--muted-foreground: 240 3.8% 46.1%;
18+
--accent: 240 5.9% 10%;
19+
--accent-foreground: 0 0% 98%;
20+
--destructive: 0 84.2% 60.2%;
21+
--destructive-foreground: 0 0% 98%;
22+
--border: 240 5.9% 90%;
23+
--input: 240 5.9% 90%;
24+
--ring: 240 5.9% 10%;
25+
--radius: 0.5rem;
26+
--font-sans: "Inter", "Circularpro book", sans-serif;
27+
--font-mono: "Jetbrainsmono", monospace;
28+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
29+
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
30+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
31+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
32+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
33+
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
34+
}
35+
36+
.dark {
37+
--background: 240 10% 3.9%;
38+
--foreground: 0 0% 98%;
39+
--card: 240 10% 3.9%;
40+
--card-foreground: 0 0% 98%;
41+
--popover: 240 10% 3.9%;
42+
--popover-foreground: 0 0% 98%;
43+
--primary: 0 0% 98%;
44+
--primary-foreground: 240 5.9% 10%;
45+
--secondary: 240 3.7% 15.9%;
46+
--secondary-foreground: 0 0% 98%;
47+
--muted: 240 3.7% 15.9%;
48+
--muted-foreground: 240 5% 64.9%;
49+
--accent: 240 3.7% 15.9%;
50+
--accent-foreground: 0 0% 98%;
51+
--destructive: 0 62.8% 30.6%;
52+
--destructive-foreground: 0 0% 98%;
53+
--border: 240 3.7% 15.9%;
54+
--input: 240 3.7% 15.9%;
55+
--ring: 240 4.9% 83.9%;
3256
}
3357

3458
@layer base {
3559
* {
36-
border-color: var(--border);
60+
border-color: hsl(var(--border));
3761
}
3862
body {
39-
background-color: var(--background);
40-
color: var(--foreground);
63+
background-color: hsl(var(--background));
64+
color: hsl(var(--foreground));
4165
font-family: var(--font-sans, sans-serif);
42-
}
43-
body {
44-
background-color: #111111;
4566
background-image: radial-gradient(
4667
ellipse 80% 50% at 50% -20%,
4768
rgba(0, 174, 239, 0.3),
@@ -68,5 +89,7 @@
6889
.popover-content,
6990
.dropdown-menu-content {
7091
border-radius: 0.75rem !important; /* rounded-xl */
92+
background-color: hsl(var(--popover));
93+
color: hsl(var(--popover-foreground));
7194
}
72-
}
95+
}

0 commit comments

Comments
 (0)