solidusio / solidus_frontend

BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

Can't override sass variables #19

Closed xeruf closed 2 years ago

xeruf commented 2 years ago

In my frontend I added the following to all.scss for testing:

$layout_background_color:   #222222;
$title_text_color:          #222222;
$body_text_color:           #222222;
$link_text_color:           #222222;

$product_background_color:  #222222;
$product_title_text_color:  #222222;
$product_body_text_color:   #222222;
$product_price_text_color:  #222222;
$product_link_text_color:   #222222;

but nothing changed :c

xeruf commented 2 years ago

I had to create a file called vendor/assets/stylesheets/spree/frontend/_variables.scss and copy the original file for it to be recognized ^^