Skip to content

Commit 94c66e4

Browse files
jmacotclaude
andcommitted
style: improve bg/card contrast for Windows displays
Darken --bg (#eaeff5 → #e4eaf2) for better contrast with white cards on Windows gamma (~2.2). Update CLAUDE.md with new canonical values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8fdc0a6 commit 94c66e4

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747

4848
```css
4949
:root {
50-
--bg: #f8fafc;
50+
--bg: #e8edf4;
5151
--surface: #ffffff;
5252
--ink: #0f172a;
5353
--ink-muted: #64748b;
5454
--border: #e2e8f0;
5555
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
56-
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
56+
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.09), 0 2px 4px -2px rgb(0 0 0 / 0.09);
5757
--shadow-hover: 0 25px 50px -12px rgb(0 0 0 / 0.12);
5858
--radius: 20px;
5959

@@ -95,9 +95,9 @@
9595

9696
```css
9797
:root {
98-
--bg: #f1f5f9;
98+
--bg: #e5eaf2;
9999
--surface: #ffffff;
100-
--surface2: #e8eef4;
100+
--surface2: #dbe2ec;
101101
--border: #e2e8f0;
102102
--border-light: #e5e7eb;
103103
--accent: #1a3a5c;
@@ -113,7 +113,7 @@
113113
--red: #dc2626;
114114
--red-light: #fee2e2;
115115
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
116-
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
116+
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
117117
--shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1);
118118
--radius-sm: 8px;
119119
--radius: 16px;
@@ -303,7 +303,7 @@
303303
--amber: #c0540a; --amber-light: #fef3c7;
304304
--red: #dc2626; --red-light: #fee2e2;
305305
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
306-
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
306+
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
307307
--shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1);
308308
--radius-sm: 8px; --radius: 16px; --radius-lg: 24px;
309309
--transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap" rel="stylesheet" />
2424
<style>
2525
:root {
26-
--bg: #eaeff5;
26+
--bg: #e4eaf2;
2727
--surface: #ffffff;
2828
--ink: #0f172a;
2929
--ink-muted: #64748b;

0 commit comments

Comments
 (0)