stylefy

Clojure(Script) library for styling user interface components with ease.

MIT License

Downloads
121.5K
Stars
317
Committers
8
stylefy - 0.4.4

Published by Jarzka over 7 years ago

  • If use-style is called with nil or an empty style definition, nil value is returned (previsouly js/Error was thrown)
  • If sub-style is not found from the style map, warning is logged (previously was error)
  • Added lots of tests
stylefy - 0.4.3

Published by Jarzka over 7 years ago

  • Minor fixes in function documentations
  • Fixes production build source path url
stylefy - 0.4.2

Published by Jarzka over 7 years ago

  • Fixes bug: media definitions were also used as CSS properties
stylefy - 0.4.1

Published by Jarzka over 7 years ago

  • Removes useless logging
stylefy - 0.4

Published by Jarzka over 7 years ago

  • Adds support for media queries
stylefy - 0.3.1

Published by Jarzka over 7 years ago

  • Adds support for vendor prefixes
stylefy - 0.3

Published by Jarzka over 7 years ago

  • Adds support for modes. Modes make it possible to define how your style behaves when, for example, a mouse cursor is on top of an element using the style
  • Drops (theoretical) support for other UI frameworks and Reagent.
stylefy - 0.2.3

Published by Jarzka over 7 years ago

  • Adds support for using 3rd party class names in UI components (= provides support for using BS classes with stylefy)
stylefy - 0.2.2

Published by Jarzka over 7 years ago

  • Massive performance boost by using requestAnimationFrame to update the DOM. This helps to update the DOM once when multiple new CSS classes are defined.
  • stylefy/use-style returns the given props as inline style until the DOM has been updated and CSS classes can be used.
  • stylefy/init must be called to boostrap the library.
stylefy - 0.2.1

Published by Jarzka over 7 years ago

Minor performance improvements

stylefy - 0.2

Published by Jarzka over 7 years ago

Removed style function, use-styles function generates the given style if not created already

stylefy - 0.1.1

Published by Jarzka over 7 years ago

  • Minor changes in the internal implementation
  • New stress test example
stylefy - 0.1

Published by Jarzka over 7 years ago

First release