design-system-utils icon indicating copy to clipboard operation
design-system-utils copied to clipboard

Shortcuts feature

Open mrmartineau opened this issue 6 years ago • 0 comments
trafficstars

This is a proposed new feature, below comes from the readme ed

If your tokens object has a different structure, you can remap existing shortcut method locations, names or even create new shortcuts, (e.g. move the font-size object to the root).

You can also rename existing shortcut methods. This could be useful for non-English speaking languages or you just don't like what I chose originally. Either way, you now have that power.

Renamed shorcuts retain the functionality of the original method. New, shortcut methods alias to the .get() method.

mrmartineau avatar Mar 03 '19 23:03 mrmartineau