I am trying to create a Drupal site that allows for multiple color themes on individual pages, rather than the theme as a whole. I have a select menu in Drupal that allows the user to choose which color theme should apply to the page.
I use the value of this field to set the class of the page template. I now want to use this class to change the primary/secondary color value in Sass.
For example, if the user chooses blue, in the HTML template the wrapper is then and I want the Sass to look like this:
$primary: #0000ff;
$secondary: #000066;
And to have these values altered for each theme, green, yellow, etc. Is this possible?