There is scss file contains like this
$header-size = 11;
$main-color = "blue";
header {
font-size: $header-size;
color: $main-color;
}
p { color: $main-color; }
I want to change variable values from rails controller and compile it to make it ready to use.
Is it possible?
Aucun commentaire:
Enregistrer un commentaire