Releases: 8tentaculos/cssfun
Releases · 8tentaculos/cssfun
v0.0.7
v0.0.6
Changes
- Use es6.
- Docs.
v0.0.5
Fixes
- Fix package exports for node and bundlers.
v0.0.4
Changes
- Improve code for
StyleSheet
parse and render. - Improve
createTheme
code.
v0.0.3
Changes
- Docs.
- Improve
parseStyles
.
Fixes
- Fix deep nested parent reference at
parseStyles
.
v0.0.2
Changes
StyleSheet
- Make prefix for ids configurable as
options.idPrefix
.
createTheme
- Add
options.createStyleSheet
to configureStyleSheet
creation. By defaultcss
is used.
Breaking Changes
StyleSheet
StyleSheet.classPrefix
is nowStyleSheet.prefix
createTheme
createTheme
is not more a higher order function. Now it receives a themes object and an options object and returns a themeStyleSheet
.- Fix css vars. Use dashes for nested objects. And keep camelized keys.
{ palette : { backgroundColor : 'black' } }
will be transformed into--fun-palette-backgroundColor
instead of--fun-palette-background-color
.