Improved flexibility with $do and $source args
Pre-release
Pre-release
- Core:
- NEW:
ratio()function accepts$sourceargument,
for passing in a custom source map - NEW: Improved error-handling and messages
- NEW: Added
str-trimandstr-splitaliases
in addition to the existingtrimandsplit
- NEW:
- Plugin: Animate
- NEW:
ease(),time(), andchange()functions all
accept$sourceargument,
for passing in a custom source map
- NEW:
- Plugin: Layout
- NEW:
break()function accepts$sourceargument,
for passing in a custom source map - NEW:
break()function accepts$scaleboolean,
to turn off access to the scale-plugin$sizesmap - NEW:
fluid-ratio()function and mixin both accept$sourceargument,
for passing in a custom source map
- NEW:
- Plugin: Scale
- BREAKING:
negative()function andsquare()mixin
both accept$doargument for on-the-fly adjustments --
replacing the old$units…variable argument.
Non-map$dovalues are converted to
('convert-units': $do)before processing,
to provide a shortcut for unit-conversions.
negative('root', 'cm')will continue to work,
butnegative('root', 'em', 10px)should be changed to
negative('root', 'em' 10px)(with all unit args in a single list) - NEW:
size()/negative()functions andsquare()mixin
accept$sourceargument, for passing in a custom source map
- BREAKING:
- Plugin: Type
- NEW:
font()/font-family()functions
andfont-family()/font-face()mixins
accept$sourceargument,
for passing in a custom font-source map
- NEW: