Commit be73e70
committed
fix(homepage): align hero width to content token, soften h1 code weight
Hero used a hardcoded max-width: 72rem while the content section below
used theme.layout.contentWidth (120ch), so the hero rendered slightly
narrower than the section beneath it. Both now read from the same token.
Inline code inside an h1 was inheriting font-weight 700 from the display
heading, which renders heavy in Google Sans Code — especially the angle
brackets in <Component>. Pin h1 code to semibold (600).1 parent 13b76f2 commit be73e70
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
177 | 181 | | |
178 | 182 | | |
179 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments