Andre Albert
Andre Albert

Reputation: 1394

Set Liferay Theme Bootstrap Variables based on color-sheme

I created a liferay 7.3 theme based on the theme-generator (yo liferay-theme) and want to support color schemes. In the past, I set the boostrap/clay variables in _clay_variables.scss such as:

$primaray: #ff0000;
$secondary: #00ff00;
$theme-colors: (
   primary: $primary,
   secondary: $secondary
)

and my bootstrap theme will have the appropriated color theme. Is possible to somehow overwrite $primaray or $seconday variables based on the liferay look-and-feel color-sheme? How can this be archived?

Upvotes: 0

Views: 249

Answers (0)

Related Questions