Skip to content

Commit 90b9707

Browse files
cadamsdotcomclaude
andcommitted
Redesign docs home page with warm park/nature aesthetic
Replace the dark tech-heavy monochrome look with a warm "walk in the park" palette that matches the dog-on-a-leash product analogy. Add LeashComparison section with side-by-side cartoon images and new copy explaining the leash analogy. Swap Instrument Serif for Fraunces, introduce earth-brown card variants replacing blue, warm plum for platform tags, and matched black/green CTA buttons mirroring the Code/Leash branding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 963fd35 commit 90b9707

6 files changed

Lines changed: 315 additions & 152 deletions

File tree

docs-site/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const config: Config = {
4444
tagName: 'link',
4545
attributes: {
4646
rel: 'stylesheet',
47-
href: 'https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=Instrument+Serif:ital@0;1&display=swap',
47+
href: 'https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&display=swap',
4848
},
4949
},
5050
],

docs-site/src/css/custom.css

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
11
:root {
2-
/* Brand blue (rgb(59 130 246)) mapped to Docusaurus primary palette */
3-
--ifm-color-primary: rgb(59, 130, 246);
4-
--ifm-color-primary-dark: rgb(37, 112, 237);
5-
--ifm-color-primary-darker: rgb(26, 104, 233);
6-
--ifm-color-primary-darkest: rgb(17, 82, 192);
7-
--ifm-color-primary-light: rgb(81, 148, 255);
8-
--ifm-color-primary-lighter: rgb(92, 155, 255);
9-
--ifm-color-primary-lightest: rgb(125, 175, 255);
2+
/* Docusaurus primary palette — recalculated around park sky rgb(70, 170, 220) */
3+
--ifm-color-primary: rgb(70, 170, 220);
4+
--ifm-color-primary-dark: rgb(50, 155, 210);
5+
--ifm-color-primary-darker: rgb(40, 148, 205);
6+
--ifm-color-primary-darkest: rgb(25, 125, 175);
7+
--ifm-color-primary-light: rgb(95, 185, 228);
8+
--ifm-color-primary-lighter: rgb(110, 192, 232);
9+
--ifm-color-primary-lightest: rgb(145, 210, 240);
1010

1111
--ifm-code-font-size: 87.5%;
1212
--ifm-font-size-base: 17px;
1313
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
1414

15-
/* Brand tokens */
16-
--brand-black: rgb(15, 15, 15);
17-
--brand-blue: rgb(59, 130, 246);
15+
/* Brand tokens — warmed neutrals */
16+
--brand-black: rgb(40, 35, 30);
17+
--brand-blue: rgb(105, 196, 240);
1818
--brand-green: rgb(34, 197, 94);
1919
--brand-red: rgb(239, 68, 68);
20-
--grey-dark: rgb(55, 55, 55);
21-
--grey-mid: rgb(160, 160, 160);
22-
--grey-light: rgb(224, 224, 224);
23-
--grey-bg: rgb(248, 249, 250);
20+
--grey-dark: rgb(70, 60, 50);
21+
--grey-mid: rgb(155, 150, 140);
22+
--grey-light: rgb(195, 195, 190);
23+
--grey-bg: rgb(252, 250, 245);
24+
25+
/* Park / nature palette */
26+
--park-sky: rgb(105, 196, 240);
27+
--park-sky-light: rgb(185, 228, 248);
28+
--park-grass: rgb(100, 180, 80);
29+
--park-grass-light: rgb(195, 225, 170);
30+
--park-earth: rgb(160, 100, 50);
31+
--park-earth-light: rgb(215, 185, 150);
32+
--park-sun: rgb(245, 200, 60);
33+
--park-sidewalk: rgb(195, 195, 190);
34+
--park-warm-black: rgb(40, 35, 30);
2435

2536
--ifm-font-family-base: 'DM Mono', 'SFMono-Regular', Consolas,
2637
'Liberation Mono', Menlo, monospace;
27-
--ifm-heading-font-family: 'Instrument Serif', Georgia, serif;
38+
--ifm-heading-font-family: 'Fraunces', Georgia, serif;
2839
--ifm-font-family-monospace: 'DM Mono', 'SFMono-Regular', Consolas,
2940
'Liberation Mono', Menlo, monospace;
3041
}
@@ -34,7 +45,7 @@ html {
3445
}
3546

3647
.navbar__title {
37-
font-family: 'Instrument Serif', Georgia, serif;
48+
font-family: 'Fraunces', Georgia, serif;
3849
font-size: 1.35rem;
3950
letter-spacing: -0.02em;
4051
}

0 commit comments

Comments
 (0)