SnowdogApps / magento2-theme-blank-sass

SASS based version of Magento 2 Blank theme
MIT License
383 stars 150 forks source link

Set Less Variables? #236

Closed BB-000 closed 4 years ago

BB-000 commented 4 years ago

The theme seems to be using colours set in .less for the customer messages.

How can these be set in scss?

Just overriding the css selectors at the moment but this seems a bit wrong.

LESS variables set in lib/web/css/source/lib/variables/_messages.less

Can't find the corresponding SCSS anywhere? Guessing some magic happens in the background to the the .less variables into the main stylesheet?

BB-000 commented 4 years ago

Found the variables in vendor/snowdog/theme-blank-sass/styles/vendor/magento-ui/variables/_messages.scss

Looks like they inherit the names and values from the .less

However changing them in my child theme seems to not do anything. Must be theme specific (inherited the project) 🎉😬