Skip to content

Commit e4e9e31

Browse files
Claudeclaude
authored andcommitted
fix: apply gitmem.ai brand colors and add banner to docs
Replace emerald/teal theme with correct brand palette: - Primary accent: #ed1e25 (red) instead of hsl(158) emerald - Dark mode gradient uses red tint - Memory loop, install block, CTA buttons all updated Add banner.svg from README to docs landing page hero section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c965b3e commit e4e9e31

File tree

3 files changed

+95
-21
lines changed

3 files changed

+95
-21
lines changed

apps/docs/app/global.css

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,48 @@
22
@import "fumadocs-ui/css/neutral.css";
33
@import "fumadocs-ui/css/preset.css";
44

5-
/* GitMem brand: emerald/teal accent */
5+
/* GitMem brand: red #ed1e25 accent, dark grays */
66
@theme {
7-
--color-fd-primary: hsl(158, 64%, 32%);
7+
--color-fd-primary: hsl(358, 84%, 42%);
88
--color-fd-primary-foreground: hsl(0, 0%, 98%);
9-
--color-fd-ring: hsl(158, 64%, 42%);
9+
--color-fd-ring: hsl(358, 84%, 48%);
1010
}
1111

1212
.dark {
13-
--color-fd-primary: hsl(158, 64%, 62%);
14-
--color-fd-primary-foreground: hsl(0, 0%, 9%);
15-
--color-fd-ring: hsl(158, 64%, 62%);
13+
--color-fd-primary: hsl(358, 84%, 55%);
14+
--color-fd-primary-foreground: hsl(0, 0%, 98%);
15+
--color-fd-ring: hsl(358, 84%, 55%);
1616
}
1717

18-
/* Subtle gradient in dark mode like ocean preset */
18+
/* Subtle gradient in dark mode */
1919
.dark body {
2020
background-image: linear-gradient(
21-
rgba(16, 185, 129, 0.08),
21+
rgba(237, 30, 37, 0.06),
2222
transparent 20rem,
2323
transparent
2424
);
2525
background-repeat: no-repeat;
2626
}
2727

28+
/* Banner image on docs landing */
29+
.gitmem-banner {
30+
margin: 0 auto 1.5rem;
31+
max-width: 48rem;
32+
border-radius: 0.75rem;
33+
overflow: hidden;
34+
border: 1px solid hsl(0, 0%, 85%);
35+
}
36+
37+
.dark .gitmem-banner {
38+
border-color: hsl(0, 0%, 20%);
39+
}
40+
41+
.gitmem-banner img {
42+
width: 100%;
43+
height: auto;
44+
display: block;
45+
}
46+
2847
/* Hero section styles for docs landing */
2948
.gitmem-hero {
3049
text-align: center;
@@ -65,21 +84,21 @@
6584
}
6685

6786
.gitmem-hero .hero-cta a.primary {
68-
background: hsl(158, 64%, 32%);
87+
background: hsl(358, 84%, 42%);
6988
color: white;
7089
}
7190

7291
.gitmem-hero .hero-cta a.primary:hover {
73-
background: hsl(158, 64%, 28%);
92+
background: hsl(358, 84%, 36%);
7493
}
7594

7695
.dark .gitmem-hero .hero-cta a.primary {
77-
background: hsl(158, 64%, 52%);
78-
color: hsl(0, 0%, 9%);
96+
background: hsl(358, 84%, 52%);
97+
color: white;
7998
}
8099

81100
.dark .gitmem-hero .hero-cta a.primary:hover {
82-
background: hsl(158, 64%, 58%);
101+
background: hsl(358, 84%, 58%);
83102
}
84103

85104
.gitmem-hero .hero-cta a.secondary {
@@ -114,13 +133,13 @@
114133
.memory-loop .step {
115134
padding: 0.375rem 0.75rem;
116135
border-radius: 0.375rem;
117-
background: hsl(158, 64%, 92%);
118-
color: hsl(158, 64%, 22%);
136+
background: hsl(358, 84%, 95%);
137+
color: hsl(358, 84%, 32%);
119138
}
120139

121140
.dark .memory-loop .step {
122-
background: hsla(158, 64%, 30%, 0.3);
123-
color: hsl(158, 64%, 72%);
141+
background: hsla(358, 84%, 30%, 0.25);
142+
color: hsl(358, 84%, 72%);
124143
}
125144

126145
.memory-loop .arrow {
@@ -133,11 +152,11 @@
133152
margin: 1.5rem 0;
134153
padding: 1.5rem;
135154
border-radius: 0.75rem;
136-
border: 1px solid hsl(158, 64%, 80%);
137-
background: hsl(158, 64%, 97%);
155+
border: 1px solid hsl(358, 84%, 85%);
156+
background: hsl(358, 84%, 98%);
138157
}
139158

140159
.dark .install-block {
141-
border-color: hsla(158, 64%, 40%, 0.3);
142-
background: hsla(158, 64%, 15%, 0.15);
160+
border-color: hsla(358, 84%, 40%, 0.3);
161+
background: hsla(358, 84%, 15%, 0.15);
143162
}

apps/docs/content/docs/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import { Cards, Card } from 'fumadocs-ui/components/card'
77
import { Callout } from 'fumadocs-ui/components/callout'
88
import { Steps, Step } from 'fumadocs-ui/components/steps'
99

10+
<div className="gitmem-banner">
11+
<img src="/banner.svg" alt="GitMem — Institutional memory for AI coding agents" />
12+
</div>
13+
1014
<div className="gitmem-hero">
1115

1216
# GitMem

apps/docs/public/banner.svg

Lines changed: 51 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)