Skip to content

v0.0.2

Compare
Choose a tag to compare
@8tentaculos 8tentaculos released this 21 Sep 21:23
· 40 commits to master since this release

Changes

StyleSheet

  • Make prefix for ids configurable as options.idPrefix.

createTheme

  • Add options.createStyleSheet to configure StyleSheet creation. By default css is used.

Breaking Changes

StyleSheet

  • StyleSheet.classPrefix is now StyleSheet.prefix

createTheme

  • createTheme is not more a higher order function. Now it receives a themes object and an options object and returns a theme StyleSheet.
  • 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.