Skip to content

Commit 86b6747

Browse files
JoeMattclaude
andcommitted
chore: simplify globals.css
Remove duplicate body rules and unused CSS custom properties. Consolidate to a single body rule with gray-950 background and light default text. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ade26a5 commit 86b6747

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

src/app/globals.css

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,12 @@
11
@import "tailwindcss";
22

3-
:root {
4-
--background: #ffffff;
5-
--foreground: #171717;
6-
}
7-
83
@theme inline {
9-
--color-background: var(--background);
10-
--color-foreground: var(--foreground);
114
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
125
--font-mono: 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
136
}
147

15-
@media (prefers-color-scheme: dark) {
16-
:root {
17-
--background: #0a0a0a;
18-
--foreground: #ededed;
19-
}
20-
}
21-
228
body {
23-
background: var(--background);
24-
color: var(--foreground);
9+
background-color: #030712; /* gray-950 */
10+
color: #ededed;
2511
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
2612
}
27-
28-
body {
29-
background-color: #030712; /* gray-950 — matches page backgrounds */
30-
}

0 commit comments

Comments
 (0)