Great documentation blogs look “clean” because everything is token-driven and low-noise.
Token strategy
We intentionally keep the token set small:
background.main,background.softtext.main,text.sub,text.mutedborder.softbrand
Why “soft borders” matter
When borders are too strong, the UI becomes a spreadsheet. The goal is to have frames that are visible only when you’re looking for them.
Tailwind mapping
We map CSS variables to Tailwind colors so components stay readable:
// tailwind.config.cjs
colors: {
background: {
main: "rgb(var(--c-background-main) / <alpha-value>)",
soft: "rgb(var(--c-background-soft) / <alpha-value>)",
},
} In-content images
We frame every in-article image with a subtle 1px border and a 10px radius to match the overall “rounded media” identity: