You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I have no idea what I had in mind when I forgot !default. Probably because I actually used LESS at first and blatantly converted the stylesheet in SCSS later. Sorry about that.
Hi,
Actually it's impossible to modify the variables by doing this for exemple:
It's not working because changed variables will be reseted as you are importing default variables along the main style.
To change this, you just need to create a new file call
_style.scss
where you'll put only the style classes without import_vars.scss
.Then inside
share-this.scss
you can import everything:Also you should add !default to all your variables likes this:
This will not break naming for actuals users but it will offer the possibility to change the variables.
And that's great ! 😄
The text was updated successfully, but these errors were encountered: