This plugin turns colour tokens into CSS variables on the
:root. These will later be mapped to text, background and
border colours with the ApplyColourVariables plugin.
You can set Hex, RGB, RGBA, HSL, colour name or any valid CSS colour value.
Setup
Output
Based on the reference config mentioned in this guide, we would get the
following in our CSS:
Notes
This is step 1 of abstracting colour tokens from colour usage. The next step
is applying these variables to named-by-usage text, background and border
colours with the ApplyColourVariables plugin.