Version 2 of the Design tokens starter kit is now up on the Penpot Hub.
Now including font size tokens! I’ve done some refactoring including:
- Added density scales so that
3XS-3XLscales are modular and can use different modular scales (golden ratio,major thirdand so on.) - Changed compact density from
0.5to “minor second” (1.067.) - Changed comfortable density from
1to major third (1.25.) - Changed spacious density from
1.5to golden ration (1.618.) - Changed the initial base size to
4so thespaciousdensity isn’t so extreme. - Replaced “flexible”
3XS-3XLscales with “modular” density scales, and updated sizing and spacing values to use these scales. - Renamed “fixed” scales as “linear” scales and moved the primary linear dimension tokens into their own set.
- Changed tokens with
3XS-3XLnames referencing the linear scale to use050-800names. - Added modular scale
3XS-3XLtokens equivalent for each linear scale. - Renamed
sizing→sizeandspacing→spaceto make the tokens more concise and easier to understand. - Added modular and linear scales for the new font size token, and some initial typography tokens using modular font sizes. (I’ll build on these after future Penpot updates!)
I’d love any feedback, requests, or suggestions you have for this starter kit. And please let me know if there’s anything you find confusing or hard to use!
