I\'m busy learning React with CSS-Modules and I don\'t quite understand how one would store variables? For example, in Sass you\'re able to do this:
// _variable
Check this out
//vars.css :root { --color-black: #222; } //myComponent.module.css @import './vars.css'; .component{ color: var(--color-black); }