Use Sass variables in Javascript
Sass is very good to keep your CSS dry by defining variables and use it across all the scss files. But, with React and the concept of css in js, sometimes we need to use these variables like theme colors, default font size in the react components we import. Instead of…