|
2 | 2 | @import "fumadocs-ui/css/neutral.css"; |
3 | 3 | @import "fumadocs-ui/css/preset.css"; |
4 | 4 |
|
5 | | -/* GitMem brand: emerald/teal accent */ |
| 5 | +/* GitMem brand: red #ed1e25 accent, dark grays */ |
6 | 6 | @theme { |
7 | | - --color-fd-primary: hsl(158, 64%, 32%); |
| 7 | + --color-fd-primary: hsl(358, 84%, 42%); |
8 | 8 | --color-fd-primary-foreground: hsl(0, 0%, 98%); |
9 | | - --color-fd-ring: hsl(158, 64%, 42%); |
| 9 | + --color-fd-ring: hsl(358, 84%, 48%); |
10 | 10 | } |
11 | 11 |
|
12 | 12 | .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%); |
16 | 16 | } |
17 | 17 |
|
18 | | -/* Subtle gradient in dark mode like ocean preset */ |
| 18 | +/* Subtle gradient in dark mode */ |
19 | 19 | .dark body { |
20 | 20 | background-image: linear-gradient( |
21 | | - rgba(16, 185, 129, 0.08), |
| 21 | + rgba(237, 30, 37, 0.06), |
22 | 22 | transparent 20rem, |
23 | 23 | transparent |
24 | 24 | ); |
25 | 25 | background-repeat: no-repeat; |
26 | 26 | } |
27 | 27 |
|
| 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 | + |
28 | 47 | /* Hero section styles for docs landing */ |
29 | 48 | .gitmem-hero { |
30 | 49 | text-align: center; |
|
65 | 84 | } |
66 | 85 |
|
67 | 86 | .gitmem-hero .hero-cta a.primary { |
68 | | - background: hsl(158, 64%, 32%); |
| 87 | + background: hsl(358, 84%, 42%); |
69 | 88 | color: white; |
70 | 89 | } |
71 | 90 |
|
72 | 91 | .gitmem-hero .hero-cta a.primary:hover { |
73 | | - background: hsl(158, 64%, 28%); |
| 92 | + background: hsl(358, 84%, 36%); |
74 | 93 | } |
75 | 94 |
|
76 | 95 | .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; |
79 | 98 | } |
80 | 99 |
|
81 | 100 | .dark .gitmem-hero .hero-cta a.primary:hover { |
82 | | - background: hsl(158, 64%, 58%); |
| 101 | + background: hsl(358, 84%, 58%); |
83 | 102 | } |
84 | 103 |
|
85 | 104 | .gitmem-hero .hero-cta a.secondary { |
|
114 | 133 | .memory-loop .step { |
115 | 134 | padding: 0.375rem 0.75rem; |
116 | 135 | 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%); |
119 | 138 | } |
120 | 139 |
|
121 | 140 | .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%); |
124 | 143 | } |
125 | 144 |
|
126 | 145 | .memory-loop .arrow { |
|
133 | 152 | margin: 1.5rem 0; |
134 | 153 | padding: 1.5rem; |
135 | 154 | 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%); |
138 | 157 | } |
139 | 158 |
|
140 | 159 | .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); |
143 | 162 | } |
0 commit comments