Release on Github
0.8.2 - 2020-03-03
Added
$devices
indent variable is the list of all media query mixins likemobile
,tablet-only
,fullhd
, etc. By default:mobile tablet tablet-only touch desktop desktop-only widescreen widescreen-only fullhd
. It can be shortened or expanded at your discretion. But a mixin for each name must exist before the variable is declared. Used for all repeatable media query rules such as columns. Some mixins ignore XXX-only media queries.lengthList()
function, because actual Stylus built-inlength
function works weirdly with lists that contain one item. This's just a fix for partial cases. It could be deprecated with a next Stylus release.
Changed
The maximum number of columns per row now optional and defined with variable
$columns-max
. 12 by default.Selector names for ratio sized columns now stored within the hash array and support any number of aliases for each of them. For instance:
.is-three-quarters
now is.is-3of4
also.Repeatable media rules for
helpers
andcolumns
now generated within loop mixins. Use conditional statements, if you need some exceptions.@extend
directive works as usual.
Fixed
$scheme-invert-bis
returned to original default value$black-bis
.colorLuminance()
syntax error. All generated colors returned to initial values.Hovered button color lightness set to original 2.5% instead of 3.5% from last commits. It was a mistake.