Skip to content

Why Kerf

A design system only helps if it's followed. Kerf makes the build follow it: values off the scale, text that fails contrast and fields without labels are errors, with the fix, before anything ships.

The problem

Every project starts with a spacing scale, a type scale and a palette. Then a deadline arrives, someone writes padding: 13px or a grey that's a shade too light, and nothing stops it. A year later the site has forty greys, the dark mode has text nobody can read, and the audit lists hundreds of contrast and label failures, found long after the code was written.

Most tools make the system easy to use. Kerf makes it the only thing you can use, and checks accessibility at the same time, because the compiler already knows each element's text colour and the background it sits on.

How it compares

Who it's for

When it isn't the right fit

Try it

npm install --save-dev @kerfcss/kerf
npx kerf init
npx kerf build