Skip to content

Releases: AlfieJones/theme-toggles

React v4.1

30 May 00:42
Compare
Choose a tag to compare

You can now add children elements to the button components. The children will be siblings to the SVG element.

React V4

28 Mar 18:39
97f8151
Compare
Choose a tag to compare

Reduced CSS size by around 0.5kb - 1kb minified. Achieved by removing unused checkbox css.

  1. Babel plugin for SVGR to enable id prefixing
  2. Prop to change id prefixes
  3. Prop to force motion despite reduced motion
  4. Add default button type to button
  5. Get prettier to run on outputted code
  6. Add scss variable to optimize css based on use case