Define CSS custom properties (with SASS support)
Created by: aurel-l
Definition of a colour palette using CSS custom properties. Just to show the idea that could be applied for more rules:
- spacing/sizes
- timing of animations
- border styles
- shadows
- etc
So that these rules can be defined in one single place and then any change gets reflected anywhere they are used.
By the way, this thread was more to start the conversation about the topic with an example and to discuss the directions that this could take.