Let's say I have an existing code base using sass variables i.e.
$sw-primary-1: #ccc;
and these classes are used all over the place i.e.
.lifecycle {
&.new {
background-color: $sw-primary-1:
}
}
}
Is there anything I can do a large existing code base like this where I know want to change this colour palette variables depending on a different class on the body.
i.e. body class="redesign"
where I basically want to go
.redesign {
$sw-primary-1: blue;
}
But the above doesn't work it still sticks with the original sass variable color.