Skip to content

Commit b0ba80d

Browse files
fjbarrettclaude
andauthored
feat: adopt graphite & amber palette and apply Geist Sans (#93)
The previous palette was GitHub's hex-for-hex, which made the app read as a GitHub skin rather than its own product. Move to neutral graphite darks and warm paper lights with an amber accent, and update the two hardcoded blues (::selection, search match highlight) to match. Geist Sans was loaded in the layout but never applied — put it at the front of the body font stack so the type carries some identity too. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 98f7e06 commit b0ba80d

2 files changed

Lines changed: 39 additions & 37 deletions

File tree

app/globals.css

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,46 @@
33
@tailwind utilities;
44

55
:root {
6-
/* GitHub dark palette */
7-
--color-canvas: #010409;
8-
--color-background: #0d1117;
9-
--color-surface: #161b22;
10-
--color-surface-hover: #21262d;
11-
--color-border: #30363d;
12-
--color-border-muted: #21262d;
13-
--color-text: #e6edf3;
14-
--color-muted: #7d8590;
15-
--color-subtle: #6e7681;
16-
--color-link: #2f81f7;
17-
--color-link-hover: #58a6ff;
18-
--color-accent: #238636;
19-
--color-accent-fg: #ffffff;
20-
--color-accent-hover: #2ea043;
21-
--color-danger: #f85149;
22-
--color-attention: #d29922;
23-
--color-done: #a371f7;
6+
/* Graphite & amber — neutral darks, warm accent */
7+
--color-canvas: #0c0c0d;
8+
--color-background: #131315;
9+
--color-surface: #1a1a1d;
10+
--color-surface-hover: #232327;
11+
--color-border: #313136;
12+
--color-border-muted: #232327;
13+
--color-text: #ececee;
14+
--color-muted: #8f8f98;
15+
--color-subtle: #717179;
16+
--color-link: #e2a33c;
17+
--color-link-hover: #f0b75a;
18+
--color-accent: #d97916;
19+
--color-accent-fg: #16130d;
20+
--color-accent-hover: #ef8c1f;
21+
--color-accent-border: #d97916;
22+
--color-danger: #f0564a;
23+
--color-attention: #d9a514;
24+
--color-done: #9a7ff0;
2425
}
2526

2627
[data-theme="light"] {
27-
--color-canvas: #f2f5f8;
28-
--color-background: #ffffff;
29-
--color-surface: #f6f8fa;
30-
--color-surface-hover: #e7ecf0;
31-
--color-border: #c6cdd5;
32-
--color-border-muted: #d8dee4;
33-
--color-text: #1f2328;
34-
--color-muted: #656d76;
35-
--color-subtle: #6e7781;
36-
--color-link: #0969da;
37-
--color-link-hover: #0550ae;
38-
--color-accent: #1a7f37;
28+
--color-canvas: #f3f1ec;
29+
--color-background: #fffefb;
30+
--color-surface: #f8f6f1;
31+
--color-surface-hover: #edeae2;
32+
--color-border: #d2cdc2;
33+
--color-border-muted: #e0dbd1;
34+
--color-text: #211f1b;
35+
--color-muted: #6e6a61;
36+
--color-subtle: #7f7a70;
37+
--color-link: #a35100;
38+
--color-link-hover: #7f3f00;
39+
--color-accent: #b45309;
3940
--color-accent-fg: #ffffff;
40-
--color-accent-hover: #218c3a;
41-
--color-accent-border: #1a7f37;
41+
--color-accent-hover: #92400e;
42+
--color-accent-border: #b45309;
4243
--color-danger: #cf222e;
4344
--color-attention: #9a6700;
44-
--color-done: #8250df;
45+
--color-done: #7c5cd6;
4546
}
4647

4748
html,
@@ -51,8 +52,9 @@ body {
5152
}
5253

5354
body {
54-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
55-
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
55+
font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont,
56+
"Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif,
57+
"Apple Color Emoji", "Segoe UI Emoji";
5658
font-size: 14px;
5759
line-height: 1.5;
5860
}
@@ -84,7 +86,7 @@ html {
8486
}
8587

8688
::selection {
87-
background: rgba(56, 139, 253, 0.4);
89+
background: rgba(217, 121, 22, 0.35);
8890
color: var(--color-text);
8991
}
9092

components/SearchOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function HighlightMatch({ text, query }: { text: string; query: string }) {
9696
return (
9797
<>
9898
{text.slice(0, idx)}
99-
<mark className="rounded-sm bg-[rgba(56,139,253,0.35)] px-0.5 text-inherit">
99+
<mark className="rounded-sm bg-[rgba(217,121,22,0.35)] px-0.5 text-inherit">
100100
{text.slice(idx, idx + q.length)}
101101
</mark>
102102
{text.slice(idx + q.length)}

0 commit comments

Comments
 (0)