Using Polished with Fela
Tools like SASS and POSTCSS helped change the way we compose styles.
Polished is a set of helper methods designed to output a range of CSS properties and values. By taking dynamic values as arguments, it removes much of the string interpolation required when writing CSS-IN-JS techniques.
There are multiple functions designed to manipulate colours, such as ‘desaturate’ and ‘opacify’. These can take colour values in a variety of formats, understand them and perform alterations before passing them back. This means they can be curried together to perform the exact adjustments required.
You can find out more about Polished at: polished.js.org