web dev notes

Posts for tag sass

November 13, 201812:50

What are CSS variables?The CSS variables are more accurately known as CSS custom properties. You can define a value under a variable key and use it along your stylesheets wherever is in its scope. They can be very useful to avoid CSS repetition, with a better performance in run time for things like theme switching and very useful for extending or ‘polyfilling’ future CSS features.

June 12, 201701:08

withSo in that app.component.scss you should include the _settings.scss that we just copied on our assets folder. And now you can modify that settings file to manage all your customizations for that application. If you open that file in your editor you will see that there are a bunch of Sass variables ready to be changed, organized by components and sections.

1