Bug fixes and token map compilers
Pre-release
Pre-release
In addition to fixing a bug with the handling of non-alias # symbols, and implementing deep map merges where appropriate, we also added some functionality around compiling maps for export, and working with different color palettes…
-
BREAKING: Map
multi-mergeutility and alladd-*functions
for adding one or more token maps (egadd-sizes,add-colors, etc)
now perform a deep merge of the token maps.
Previously a shallow merge was performed,
which could result in removing nested values from maps. -
- NEW:
map-compileandmap-compile-withfunctions for compiling
tokens in Accoutrement maps and formatting them for static exports.
- NEW:
-
- NEW:
compile-*functions provide an export option for respective token maps
(see:compile-changes,compile-easing,compile-times).
- NEW:
-
- NEW:
compile-colorsfunction provides an export option for color token maps. - NEW:
with-colorsmixin allows the overriding of the global color palette for
a section of contents.
- NEW:
-
- NEW:
compile-ratiosfunction provides an export option for ratio token maps.
- NEW:
-
- NEW:
compile-sizesfunction provides an export option for size token maps.
- NEW:
-
Type:
- NEW:
compile-fontsfunction provides an export option for font token maps.
- NEW: