Skip to content

0.2.0

Choose a tag to compare

@greeeg greeeg released this 23 Oct 16:01
· 3 commits to master since this release
5989cd7

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 init scaffolds recontent.config.ts from built-in presets (neutral, material) or imports existing DTCG token files via --from <path>.
    • recontent build runs configured plugins and supports --watch for rebuilding on save.
    • recontent diff compares tokens against a previous git revision with --fail-on-breaking and configurable output formats.
  • Built-in plugins & plugin API: Ships with css(), tailwind(), stylex(), vanillaExtract(), typescript(), typescriptNative(), dtcg(), and docs() in recontent/plugins, plus a plugin API for custom outputs.

Full Changelog: https://github.com/recontentapp/recontent/commits/0.2.0