aesthetic-suite / framework

🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
https://aestheticsuite.dev
MIT License
203 stars 5 forks source link

new: Support style sheet variants in a more streamlined manner #100

Closed milesj closed 4 years ago

linear[bot] commented 4 years ago
AES-6 Support style sheet variants in a more streamlined manner

Props that trigger style variants, like sizing (small/large/default) or palettes (success/warning/etc) are rather difficult to style at the moment. Te only solution is to define each variation as a selector within the factory, but the `cx` consuming side is very cumbersome. Add new variants support to SSS and the entire style sheet layer.