@kovojs/style
v0.2.0
Published
Typed, StyleX-inspired styling for Kovo components: atomic style objects, variant helpers, theme tokens, CSS variables, and class/prop merging.
Readme
@kovojs/style
Typed, StyleX-inspired styling for Kovo components: atomic style objects, variant helpers, theme tokens, CSS variables, and class/prop merging.
pnpm add @kovojs/styleimport * as style from '@kovojs/style';
export const styles = style.create({
button: {
display: 'inline-flex',
gap: 8,
},
});
const attrs = style.attrs(styles.button);Reference
- API:
/api/style/ - Guide:
/guides/styling/
