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 nativeto generate atheme.native.tsfor 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>/nativefor 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
*Hovertoken, add its matching*Pressedtoken before generating for native. If it sets a*Pressedtoken, add the matching*Hovertoken before generating for web.
