0.0.1-alpha.3 • Published 5 years ago
@spicy-ui/styled-system v0.0.1-alpha.3
styled-system
🌶️ Responsive, theme-based style props for building design systems with React
⚠️ Caution
While it is almost a direct port of styled-system to TypeScript it does have a few minor changes.
bgis now for thebackgroundcss property (but it still uses thecolorscale) andbgColorhas been added- there are a bunch of new aliased props (e.g.
hforheight,maxWformax-width, etc) - there is an
extendedFlexboxandextendedGridparser which contains shorthands forflexboxandgridparsers (good for Flex and Grid components) - the
cssfunction now supports a collection of pseudo selectors (e.g._hoverfor&:hover) - new
animationandtransitionparsers (and scales) which are also rolled into thecssfunction
A major part that is incomplete in this package is the types (both exported and internal and particulary around the css export) - if you're able and willing to have a crack at them please do, it would be super appreciated to get some help on this.
Issues and Bugs
If you happen to find any, please report them here so they can be squashed.
License
MIT, see the LICENSE file.