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-merge
utility 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-compile
andmap-compile-with
functions 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-colors
function provides an export option for color token maps. - NEW:
with-colors
mixin allows the overriding of the global color palette for
a section of contents.
- NEW:
-
- NEW:
compile-ratios
function provides an export option for ratio token maps.
- NEW:
-
- NEW:
compile-sizes
function provides an export option for size token maps.
- NEW:
-
Type:
- NEW:
compile-fonts
function provides an export option for font token maps.
- NEW: