Releases: oddbird/accoutrement-scale
Releases · oddbird/accoutrement-scale
First-class functions & negative calc
- BREAKING: Remove all non-essential default sizes
- BUGFIX: Add
convert-unitsto local (pre-captured) functions - NEW:
negativefunction can be used withcalc()values,
returningcalc(-1 * (<value>)) - NEW:
$functionsmap allows you to name/capture first-class functions
in the latest versions of Sass, and call them by name in the$sizesmap - NEW:
add-sizes&add-ratiosfunctions can be used
to merge partial maps into the global$sizes/$ratiosmaps
v5.0.2
- BUGFIX: Fix implicit division in map values
Remove Warnings
- BUGFIX:
negativeandsquarefunctions handle units properly
5.0 - Breaking Bugfix & New Features
- BREAKING:
$from-contextdefaults to 'root' when available - BUGFIX: Browser-em math requires
$from-context - NEW: Allow
size()function to accept additional arguments
(e.g.$from-contextand$to-context) for unit-conversion. - NEW: Allow
convert-unitsfunction to accept named sizes
for all length values.
Publish styleguide documentation
- Publish missing styleguide documentation.
4.0!
Same as 4.0.0-alpha-1 - 09/06/17
- BREAKING: Remove overly-opinionated baseline type tools
includingfont-sizeandbaselinemixins.
These settings are more clear when established explicitly in CSS - BREAKING: Rename
scale()=>ratio()to avoid conflicts with CSS - BREAKING: Remove stand-alone
browser-ems()function… - NEW: Allow
browser-emsas a$to-unitargument
in thecontert-units()function. - NEW: Add (private)
pow()functions,
so that MathSass is no longer a dependency for non-integer steps
4.0 Alpha 1
- BREAKING: Remove overly-opinionated baseline type tools
includingfont-sizeandbaselinemixins.
These settings are more clear when established explicitly in CSS - BREAKING: Rename
scale()=>ratio()to avoid conflicts with CSS - BREAKING: Remove stand-alone
browser-ems()function… - NEW: Allow
browser-emsas a$to-unitargument
in thecontert-units()function. - NEW: Add (private)
pow()functions,
so that MathSass is no longer a dependency for non-integer steps
Public `scale()` function
- NEW: Rename private
_get-ratio()to publicscale()for consistent access to ratios with map-key references.
calc-reference bugfix
- BUGFIX: Resolve problems with referencing
calc()values
Explicit unit-handling, and get-function support
- BREAKING: Don't convert units unless specifically requested.
This allows you to define preferred units per-item
in the configuration map. - BREAKING: Remove
$default-unitssetting. See above. - Allow arbitrary adjustment functions
in the$sizesmap,
e.g.'my-size': 24px ('add': 12px),
whereaddis an available function
that will accept24px, 12pxas arguments. - Support first-class functions in Sass 3.5.