From 2a4d1904d090aff3dbed3c4264928ebd0bfecfab Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Wed, 2 Dec 2026 22:38:12 +0000 Subject: [PATCH] docs: restyle the site in white and ink, with the logo's yellow as a signal The paper-yellow background, beige code blocks, full-width yellow sponsor band and Material's indigo buttons made the site look yellowish and put two brand colors side by side. Pages are now white (or near-black in dark mode) with ink buttons; yellow is kept for the logo, the circle around the headline, the square before each section label, the line through the "pin the same LLVM version" band and the underline of text links. - home.css: every color is a token, set again for the slate scheme, so the home page follows dark mode; the header gets the light/dark toggle - shared.css: the same colors for every docs site that loads it (this site, the action, clang-tools, cpp-linter-rs and cpp-linter v1) - mkdocs.yml: custom primary and accent, so no indigo is left - og-image.png: redrawn on white --- docs/overrides/home.html | 8 +- docs/static/og-image.png | Bin 64525 -> 66192 bytes docs/stylesheets/home.css | 338 +++++++++++++++++++++++------------- docs/stylesheets/shared.css | 196 +++++++++++++-------- mkdocs.yml | 12 +- 5 files changed, 353 insertions(+), 201 deletions(-) diff --git a/docs/overrides/home.html b/docs/overrides/home.html index 34ef7b0..cf1af56 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -30,6 +30,12 @@ {% endfor %}
NKy$z!GNc%TfFGnyU?j=sT
zP$>RzX3f_4bO~M9N3^i*(l4=C)7ok?GjwHf_I+2>kTs_wyy$qS?{h=z_LP!*cS=JR
zUBBj7KZ*sNKZ=!>`lgLkZSmUo?; RmTP^+0R0*D1XP7k7V&CE1F(UjEG;<7S%
zkgqk`q^7}ou{Y;=J=Dd_!;}596z~GNJEsdw!UpPjc}1~^(PJVbr9=sta;^R*Mpgmq
zSU`_ln(*~S0?a!q>eS?9kXB^$_zOsGpML5t={q|+b6L&3d>Qr;A`Ju>Y^?0>*w{8l
z)BCv^BmuuyyUyc19UTuNV+!-@jqOdmHyd2m<9Qx))5Af4?3b0D9fYQGsAp_Eo>W6Z
zX&prPlUsFf-g9SrJuN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