Drastically reduce size of output JS.
fastOptJS reduced by ~590kfullOptJS reduced by ~140kRemove Scalaz as a dependency.
ext-react module to the core module.createStyleElementinstallStyle<style>.addToDocument()styleF inputs are safe to be stored in a Map (which is (by default) what ScalaCss does under-the-hood).
If you use styleF with custom data types, see the new section at the end of Functional Styles.scalacss.ext.CssReset. It wasn't advertised and isn't appropriate here.scalacss.internal with scalacss._ being a curated list of exports.Export from def to val so inner content can be imported.(Skipping 0.5.2 due to botched release)
background-clip now has type-safe DSL.FontFace names are now optional.
When specified they are never modified and duplication is allowed.
When not specified, they are given a unique name.scalacss.Defaults was broken in that it always pointed to dev settings and never chose prod settings.
This has been deprecated and replaced with scalacss.devOrProdDefaults. Unfortunately you can no longer
import its members directly and must instead, store it in a val somewhere in your project first.
Upgrade dependencies:
Compile for Scala 2.12 with -opt:l:method
Replace all instance of Stream with List, Vector or Iterator
grid-template-areas now has type-safe DSL and produces correct CSS.@an-tex & @vmarc).steps now default to direction=end when unspecified. (thanks @Myrddin27)caret-colorfont-variantion-settingshanging-punctuationinitial-letteroverscroll-behavioroverscroll-behavior-xoverscroll-behavior-ydisplay: flow-rootfont-family: system-uibackground-repeatgappointer-eventsrow-gapuser-selectjustify-content: start|end|left|right|baseline|first baseline|last baseline|space-evenly|stretch|safe center|unsafe centerIf you like what I do —my OSS libraries, my contributions to other OSS libs, my programming blog— and you'd like to support me, more content, more lib maintenance, please become a patron! I do all my OSS work unpaid so showing your support will make a big difference.