Skip to content

Commit 6a2c131

Browse files
committed
style: remove residual blue accents and warm base palette
1 parent 67ac157 commit 6a2c131

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

src/components/SkillDiffCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ function applyMonacoTheme(monaco: NonNullable<ReturnType<typeof useMonaco>>) {
423423
const ink = styles.getPropertyValue('--ink').trim() || '#1d1a17'
424424
const inkSoft = styles.getPropertyValue('--ink-soft').trim() || '#4c463f'
425425
const line = styles.getPropertyValue('--line').trim() || 'rgba(29, 26, 23, 0.12)'
426-
const accent = styles.getPropertyValue('--accent').trim() || '#4f9dff'
426+
const accent = styles.getPropertyValue('--accent').trim() || '#e65c46'
427427
const seafoam = styles.getPropertyValue('--seafoam').trim() || '#2bc6a4'
428428
const diffAdded = styles.getPropertyValue('--diff-added').trim() || seafoam
429429
const diffRemoved = styles.getPropertyValue('--diff-removed').trim() || accent

src/components/ui/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const DropdownMenuItem = React.forwardRef<
3434
<DropdownMenuPrimitive.Item
3535
ref={ref}
3636
className={cn(
37-
'flex cursor-pointer select-none items-center gap-2 rounded-lg px-3 py-2 text-sm font-semibold text-[color:var(--ink)] outline-none transition-colors focus:bg-[color:rgba(93,167,255,0.12)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
37+
'flex cursor-pointer select-none items-center gap-2 rounded-lg px-3 py-2 text-sm font-semibold text-[color:var(--ink)] outline-none transition-colors focus:bg-[color:var(--surface-muted)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
3838
className,
3939
)}
4040
{...props}

src/components/ui/toggle-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ToggleGroupItem = React.forwardRef<
2424
<ToggleGroupPrimitive.Item
2525
ref={ref}
2626
className={cn(
27-
'inline-flex h-9 w-9 items-center justify-center rounded-full text-[color:var(--ink-soft)] transition-colors hover:text-[color:var(--ink)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:rgba(93,167,255,0.4)] data-[state=on]:bg-[color:var(--accent)] data-[state=on]:text-white',
27+
'inline-flex h-9 w-9 items-center justify-center rounded-full text-[color:var(--ink-soft)] transition-colors hover:text-[color:var(--ink)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--accent)] data-[state=on]:bg-[color:var(--accent)] data-[state=on]:text-white',
2828
className,
2929
)}
3030
{...props}

src/styles.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55

66
:root {
77
color-scheme: light dark;
8-
--bg: #f2f7f9;
9-
--bg-soft: #f7fcfd;
8+
--bg: #f8f2ed;
9+
--bg-soft: #fdf7f2;
1010
--bg-glow-1: #ffe1d4;
11-
--bg-glow-2: #d8f0f2;
11+
--bg-glow-2: #ffe8d8;
1212
--surface: #ffffff;
13-
--surface-muted: #f0f8fa;
14-
--nav-bg: rgba(242, 247, 249, 0.88);
15-
--ink: #14242e;
16-
--ink-soft: #4b6677;
13+
--surface-muted: #f7efe9;
14+
--nav-bg: rgba(248, 242, 237, 0.88);
15+
--ink: #2a1f19;
16+
--ink-soft: #6b5549;
1717
--accent: #e65c46;
1818
--accent-deep: #bf3f30;
1919
--seafoam: #209e92;
2020
--gold: #e7bb67;
21-
--line: rgba(20, 36, 46, 0.14);
21+
--line: rgba(42, 31, 25, 0.14);
2222
--border-ui: rgba(191, 63, 48, 0.28);
2323
--border-ui-hover: rgba(191, 63, 48, 0.42);
2424
--border-ui-active: rgba(191, 63, 48, 0.62);
25-
--shadow: 0 22px 52px rgba(16, 34, 44, 0.11);
25+
--shadow: 0 22px 52px rgba(44, 28, 20, 0.11);
2626
--radius-lg: 20px;
2727
--radius-md: 14px;
2828
--radius-sm: 9px;
@@ -36,20 +36,20 @@
3636

3737
[data-theme="dark"] {
3838
color-scheme: dark;
39-
--bg: #0d1b24;
40-
--bg-soft: #142632;
39+
--bg: #14100d;
40+
--bg-soft: #1d1713;
4141
--bg-glow-1: #4b211b;
42-
--bg-glow-2: #11303b;
43-
--surface: #1a2d39;
44-
--surface-muted: #213744;
45-
--nav-bg: rgba(13, 27, 36, 0.88);
46-
--ink: #edf6f9;
47-
--ink-soft: #acc2cf;
42+
--bg-glow-2: #3a2018;
43+
--surface: #241b16;
44+
--surface-muted: #2f241d;
45+
--nav-bg: rgba(20, 16, 13, 0.88);
46+
--ink: #f7eee8;
47+
--ink-soft: #c8b3a6;
4848
--accent: #ff7357;
4949
--accent-deep: #e25640;
5050
--seafoam: #47c3b8;
5151
--gold: #f3c97a;
52-
--line: rgba(232, 243, 249, 0.16);
52+
--line: rgba(247, 235, 225, 0.16);
5353
--border-ui: rgba(255, 115, 87, 0.4);
5454
--border-ui-hover: rgba(255, 115, 87, 0.58);
5555
--border-ui-active: rgba(255, 115, 87, 0.78);
@@ -3300,7 +3300,7 @@ html.theme-transition::view-transition-new(theme) {
33003300
}
33013301

33023302
.scan-result-icon-vt {
3303-
color: #0030ff;
3303+
color: var(--accent-deep);
33043304
}
33053305

33063306
.scan-result-icon-oc {
@@ -3449,7 +3449,7 @@ html.theme-transition::view-transition-new(theme) {
34493449
}
34503450

34513451
.version-scan-icon-vt {
3452-
color: #0030ff;
3452+
color: var(--accent-deep);
34533453
}
34543454

34553455
.version-scan-icon-oc {

0 commit comments

Comments
 (0)