Drastically reduce size of output JS.
fastOptJSreduced by ~590k
fullOptJSreduced by ~140k
Remove Scalaz as a dependency.
ext-reactmodule to the
styleFinputs are safe to be stored in a
Map(which is (by default) what ScalaCss does under-the-hood). If you use
styleFwith 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._being a curated list of exports.
valso inner content can be imported.
(Skipping 0.5.2 due to botched release)
background-clipnow has type-safe DSL.
FontFacenames 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.
Compile for Scala 2.12 with
Replace all instance of
grid-template-areasnow has type-safe DSL and produces correct CSS.
.stepsnow default to
direction=endwhen unspecified. (thanks
justify-content: start|end|left|right|baseline|first baseline|last baseline|space-evenly|stretch|safe center|unsafe center
If 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.