I have multiple components in my react app using a top navbar, sidebar, cards, etc. All share the same color palette (assets/css/variables.scss):
$nav-color: #009788;
$side-color: #9be7db;
$side-color-selected: #84ebdb;
What I want to do is to change these three colors depending on a variable, for example, a boolean returned by the login. Is this posible to achieve in the variable.scss file?
Obviously, I want to keep the variables names cause all the components use these variables. I only want to change the variables values.