I am trying to override a variable inside of a nested class in SCSS,
$heading-font-family: "OptimusPrincepsB" !default;
.fr{
$heading-font-family: "TrajanProB";
}
.fr is a class that is applied to the body if the page is being viewed in French. I want the font family to be different in this case. This seems more logical to me than going through each header selector with an existing $heading-font-family and overriding it.
What am I missing?