Repository navigation
Commit 3693c1f
authored
docs: restyle the site in white and ink, with the logo's yellow as a signal (#109)
## Summary
The site looked yellowish: a paper-yellow background, beige code blocks
and a full-width yellow sponsor band, next to Material's indigo buttons,
so two brand colors competed. This PR moves the site to white and ink
and keeps the logo's yellow as a signal only.
- Pages are white in light mode and near-black in dark mode, with ink
buttons. The logo is now the brightest thing on the page.
- Yellow appears in five places: the logo, the circle around the
headline, a small square before each section label, the line through the
"Pin the same LLVM version" band, and the underline of text links. Green
still means passed.
- The home page follows dark mode for the first time. Every color in
`home.css` is a token, set again for the slate scheme, and the home
header gets the same light/dark toggle as the docs pages.
- `shared.css` carries the same colors, so the action, clang-tools,
cpp-linter-rs and cpp-linter v1 docs switch with this site. They still
name indigo in their own configs; `shared.css` overrides it.
- `mkdocs.yml` uses custom primary and accent colors, so no indigo is
left.
- `og-image.png` is redrawn on white.
Fonts and layout are unchanged. Netlify's deploy preview shows every
page.
## Related Issues
None.1 parent 871c84c commit 3693c1f
5 files changed
Lines changed: 353 additions & 201 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
203 | 209 | | |
204 | 210 | | |
205 | 211 | | |
206 | | - | |
| 212 | + | |
207 | 213 | | |
208 | 214 | | |
209 | 215 | | |
| |||
Loading
0 commit comments