Coffeekraken.io 0.0.1

s-replace-tokens

Search and replace tokens like colors #primary in a passed string, list or map Supported tokens types :

  1. Colors : #{colorName}

Example

    s-replace-tokens(12px #primary hello #secondary); // > 12px #ddd hello #fff;

Author : Olivier Bossel olivier.bossel@gmail.com