This is a CSS design pattern invented by hiloki.
It is my favorite pattern because it is flexible and resistant to requirements changes, etc.
This is the base format I usually use for my projects.
- Syntax for dart-sass.
- Recommend use CSS Vars.
- Like custom-media-queries structure. (Use postcss-custom-media)
*The syntax for lib-sass (node-sass) is available in a separate branch.