Introducing standalone Vortex Themes
Theme generation, design tokens and theming utilities now ship independently, without a React or Vortex component dependency.
New features
- Added
@vortexlabs/vortex-themesfor theme generation, design tokens and theming utilities without a React or Vortex component dependency; Node.js 22.12.0 or later is required. - Exported
getThemeCSS,baseThemeDefinition,transform, token name types,ThemeSchema,PassedThemeSchemaandVortexThemeConfigfrom the package root, with adaptive theme utilities under/adaptive. - Added Vortex and Awen themes and the Astra color override as CSS and JSON assets, plus an optional Inter font stylesheet at
@vortexlabs/vortex-themes/themes/awen/fonts.css. - Added the
vortex-themes themingCLI with project config discovery, explicit config and output options, and bundled theme generation when no project config is present; file-generation helpers are exported from/cli. - Added generation of theme variables, typography, breakpoints and Tailwind CSS where applicable.
Breaking changes
- Moved theme and token APIs previously shipped under
@vortexlabs/vortex/themesand@vortexlabs/vortex/tokensto@vortexlabs/vortex-themes. Install the new package and update those imports, includingVortexThemeConfig; move CSS and JSON imports to@vortexlabs/vortex-themes/themes/.... - Replaced
vortex themingwithvortex-themes theming. Update generation scripts and regenerate custom theme CSS. - Replaced Bright with Awen and renamed Flare to Astra. Change
brighttoawenandflaretoastrain asset imports and theme selection.
VortexProvider, ThemeScope and useTheme remain in @vortexlabs/vortex.
