bevel.css
A stylesheet with a hint of nostalgia: Bootstrap 2.0’s shaded buttons, dark top bar and sunken fields, built to last ten years.
Who it’s for
Small server-rendered apps with little or no JavaScript: a dashboard, a tracker, a tool for one. Each app keeps its own copy and upgrades when it likes.
Not for old browsers, or for sites that want all of Bootstrap: there are no jQuery plugins, no 12-column grid and no Sass.
Why bevel
Light from above. Glossy buttons, sunken fields, embossed text and grid paper, in Helvetica Neue.
Light and dark. It follows the system’s setting, or the one your app picks.
Built to last. One plain file and no build step, on CSS every major browser has had for 30 months.
Nothing else to load. Under 20 KB gzipped, with no web fonts, images or JavaScript.
Your CSS wins. It all sits in @layer bevel.*.
Today’s contrast. WCAG 2.2 AA, with focus rings.
Get started
Copy bevel-0.6.0.css into your app’s static folder and link it before your own stylesheet:
<link rel="stylesheet"
href="/static/bevel-0.6.0.css">
<link rel="stylesheet"
href="/static/app.css">
Override any --bv- token in your own :root. Before 1.0, breaking changes are flagged in the changelog.