Skip to content

Environment specific

Cyril F edited this page Jan 6, 2015 · 1 revision

Environment specific

The idea here is to define some specific environments for our styles.

Let see it as definning a high-level scope that will influence all his child properties.

So we define an environment, let say: .env-pool at the top-level.
Then, all the childs as btn-env or text-env will follow the env specified (in our example, they will be pool (blue)).

The syntax will be a class: .env-{COLOR} and then {COMPONENT}-env.


This is only a draft, feel free to contribute and specified this norm. You can find the related branch: env-specific

Clone this wiki locally