Skip to content

Commit a353a19

Browse files
committed
deploy: even out header nav spacing and switch brand to cyan-teal
Reworked header nav so each separator is attached to the following link with a uniform mx-3, removing the double-spacing caused by gap-x-4 plus per-item m-1 and mx-2. Primary palette swapped from Tokyo Night blue/purple to a balanced cyan-teal OKLCH ramp.
1 parent 237b38c commit a353a19

3 files changed

Lines changed: 29 additions & 29 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ tsconfig.tsbuildinfo
6060
.claude
6161
public/static/images/_hero-clipart/
6262
CLAUDE.md
63+
.playwright-mcp/page-2026-04-16T06-58-49-547Z.yml
64+
.playwright-mcp/page-2026-04-16T07-01-42-393Z.yml

components/Header.tsx

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,26 @@ const Header = () => {
3232
</div>
3333
</Link>
3434
<div className="flex items-center space-x-4 leading-5 sm:-mr-6 sm:space-x-6">
35-
<div className="no-scrollbar hidden max-w-40 items-center gap-x-4 overflow-x-auto sm:flex md:max-w-72 lg:max-w-96">
36-
<div className="flex items-center">
37-
<a
38-
href={siteMetadata.github}
39-
target="_blank"
40-
rel="noopener noreferrer"
41-
aria-label="GitHub profile"
42-
className="text-heading hover:text-primary-500 dark:hover:text-primary-500 m-1 flex items-center"
43-
>
44-
<Github className="h-5 w-5 fill-current" />
45-
</a>
46-
<span className="text-muted mx-2">|</span>
47-
</div>
35+
<div className="no-scrollbar hidden max-w-40 items-center overflow-x-auto sm:flex md:max-w-72 lg:max-w-96">
36+
<a
37+
href={siteMetadata.github}
38+
target="_blank"
39+
rel="noopener noreferrer"
40+
aria-label="GitHub profile"
41+
className="text-heading hover:text-primary-500 dark:hover:text-primary-500 flex items-center"
42+
>
43+
<Github className="h-5 w-5 fill-current" />
44+
</a>
4845
{headerNavLinks
4946
.filter((link) => link.href !== '/')
50-
.map((link, index, array) => (
47+
.map((link) => (
5148
<div key={link.title} className="flex items-center">
52-
<Link href={link.href} className="text-heading m-1 font-medium">
49+
<span className="text-muted mx-3" aria-hidden="true">
50+
|
51+
</span>
52+
<Link href={link.href} className="text-heading font-medium">
5353
{link.title}
5454
</Link>
55-
{index < array.length - 1 && <span className="text-muted mx-2">|</span>}
5655
</div>
5756
))}
5857
</div>

css/tailwind.css

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@
1212
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1313

1414
/* Colors */
15-
/* PRIMARY COLORS - BitWise Brand (Tokyo Night Blue → Purple) */
16-
/* Based on GitHub profile: #7aa2f7 (blue) → #bb9af7 (purple) */
17-
--color-primary-50: oklch(0.95 0.03 270);
18-
--color-primary-100: oklch(0.9 0.06 270);
19-
--color-primary-200: oklch(0.83 0.1 265);
20-
--color-primary-300: oklch(0.76 0.13 260);
21-
--color-primary-400: oklch(0.7 0.12 250); /* #7aa2f7 - Brand blue */
22-
--color-primary-500: oklch(0.74 0.14 290); /* #bb9af7 - Brand purple */
23-
--color-primary-600: oklch(0.65 0.13 295);
24-
--color-primary-700: oklch(0.55 0.11 300);
25-
--color-primary-800: oklch(0.45 0.09 300);
26-
--color-primary-900: oklch(0.35 0.07 305);
27-
--color-primary-950: oklch(0.25 0.05 305);
15+
/* PRIMARY COLORS - BitWise Brand (Cyan → Teal, balanced) */
16+
--color-primary-50: oklch(0.96 0.025 200);
17+
--color-primary-100: oklch(0.92 0.05 200);
18+
--color-primary-200: oklch(0.86 0.08 198);
19+
--color-primary-300: oklch(0.79 0.1 196);
20+
--color-primary-400: oklch(0.74 0.11 194);
21+
--color-primary-500: oklch(0.7 0.12 192);
22+
--color-primary-600: oklch(0.6 0.1 190);
23+
--color-primary-700: oklch(0.5 0.085 188);
24+
--color-primary-800: oklch(0.4 0.07 186);
25+
--color-primary-900: oklch(0.32 0.055 184);
26+
--color-primary-950: oklch(0.22 0.04 182);
2827

2928
--color-gray-50: oklch(0.985 0.002 247.839);
3029
--color-gray-100: oklch(0.967 0.003 264.542);

0 commit comments

Comments
 (0)