Repository navigation
0.2.0
Highlights
Initial public release of Recontent — a typed design token toolchain that stores design decisions in layered TypeScript configs, supports multi-theme overrides, and generates outputs for your stack via plugins.
Features
- Typed token authoring: Define reference, system, and component token layers (
defineReferenceTokens,defineSystemTokens,defineComponentTokens) with primitives, scales, color scale generation (tokens.generateColorScale,tokens.colorScale), composites, and type-checked aliases. - Themes: Override token values for dark mode, density, or brand variants with
defineTheme()without changing component code. - CLI (
init,build,diff):recontent initscaffoldsrecontent.config.tsfrom built-in presets (neutral,material) or imports existing DTCG token files via--from <path>.recontent buildruns configured plugins and supports--watchfor rebuilding on save.recontent diffcompares tokens against a previous git revision with--fail-on-breakingand configurable output formats.
- Built-in plugins & plugin API: Ships with
css(),tailwind(),stylex(),vanillaExtract(),typescript(),typescriptNative(),dtcg(), anddocs()inrecontent/plugins, plus a plugin API for custom outputs.
Full Changelog: https://github.com/recontentapp/recontent/commits/0.2.0