Closed 0x0ade closed 7 years ago
This implements #43, changing the runes from hardcoded ones to CSS variables.
Runes are split into "contexts" so you can manipulate all runes of one kind at once (f.e. all portal runes).
Effectively, rune elements have the following three classes:
rune
rune-{context}
rune-{context}-{type}
This implements #43, changing the runes from hardcoded ones to CSS variables.
Runes are split into "contexts" so you can manipulate all runes of one kind at once (f.e. all portal runes).
Effectively, rune elements have the following three classes:
rune
- matches all runesrune-{context}
- matches f.e. all operator runes, feed runes, portal runesrune-{context}-{type}
- this is also the variable name, allowing you to manipulate runes from custom.css as you wish