Pinegrow Community Support Forum

What is the Best way/work flow to modify CSS variables for frameworks Etc


#1

Hi.
having just seen the excellent tutorial by @matjaz on modifying sass variables in sass files and
over riding (if that is the correct terminology) the default Bootstrap classes.

…what is/was the usual best practice way? with vanilla framework css classes?
not just or as well as sass variables?

2018-03-06_10-25-04

I was doing 1. (funny, I thought there was a copy too option too… was there in an earlier version)

but, do we now use 2. instead?


#2

The question is never: “What is the better/best way!” The question is: “What do I want to achieve” and then decide which way going down the road.

The first is prime to overwrite an existing value, the latter for extending the existing class by a new value.

Cheers

Thomas