I'm trying here something simple. I want to set global variables according to a main class. E.g.:
body.professional {
$c1: #00B143;
$c2: #151018;
}
.container {
color: $c1;
}
Is this possible?
Thanks!
I'm trying here something simple. I want to set global variables according to a main class. E.g.:
body.professional {
$c1: #00B143;
$c2: #151018;
}
.container {
color: $c1;
}
Is this possible?
Thanks!
Got it. Simple.
Build all the css classes in separate file then include it.
body.professional {
$c1: #00B143;
$c2: #151018;
@import 'base.scss';
}
body.clientes {
$c1: #4A8FE5;
$c2: #393C42;
@import 'base.scss';
}