postcss-value-replace
PostCSS plugin that replaces values specified in options. This is an easy way to create flexible themes.
Example
Input
Options
Output
Options
functionName = "replace"
Name of the CSS function postcss-value-replace looks forreplace = {}
Object where keys are the first argument of the CSS replace() function and values the corresponding replacement value
Add key-value-pairs to replace
to make this plugin replace values in your CSS.
Plugin order
This should be the first plugin in your plugins array.