Skip to main content
Back to changelog

Native themes and secondary colors

vortex-themes v0.8.0: Native themes and secondary colors

Generate React Native themes and use new secondary brand colors in custom themes.

New features

  • Added React Native theme generation. Run vortex-themes theming --platform native to generate a theme.native.ts for each theme, with pressed colors, native typography, window breakpoints, and numeric z-index values.
  • Added bundled native theme exports under @vortexlabs/vortex-themes/themes/<name>/native for Vortex, Awen, and Sleek.
  • Added semantic tokens for secondary foregrounds, borders, and backgrounds.

Improvements

  • Updated the secondary palette to pink in Vortex and Awen and adjusted Sleek's lime shades for text contrast.

For custom web themes, rerun your theme build to pick up the new tokens and colors. The CLI still defaults to web.

Breaking changes

  • Required matching interaction states in shared custom color definitions. If a definition sets a *Hover token, add its matching *Pressed token before generating for native. If it sets a *Pressed token, add the matching *Hover token before generating for web.