Design Kit

Mathematical design tools — live in the browser

CLI equivalents

Every tool has a dk CLI counterpart for automation and CI pipelines.

Perfect
$ dk perfect --seed "#295dff" --ratio perfect-fourth --motion snappy
Layout
$ dk layout --container 960 --gap 24
Compose
$ dk compose --frame 1440x900 --rects layout.json
Distinct
$ dk distinct "#295dff" --harmony split-complementary
Target
$ dk target --distance 320 --width 44 --choices 9
Text
$ dk text --font 18 --measure 620 --contrast 72
Jerk
$ dk jerk --duration 0.6 --samples 32
Linebreak
$ dk linebreak --chars 22 --lines 3
Palette
$ dk palette "#3b82f6" --mode both
Scale
$ dk scale --ratio golden --base 16
Glass
$ dk glass --blur 16 --layers 2 --mode light
Optical
$ dk optical icon --size 48
Contrast
$ dk contrast "#fff" "#2563eb" --size 16
Ease
$ dk ease --preset snappy
Audit
$ dk audit --css=app.css