capital-framework
capital-framework copied to clipboard
Normalize variable names
trafficstars
Current behavior
We have a number of different variable naming conventions in the project: For referring to elements, by:
- non-prefixed atomic name (ex)
- non-prefixed atomic name BEM-style (ex)
- element name (ex)
- conceptual name (ex)
For the states of things we use:
Expected behavior
- Variable naming conventions are consistent and when creating new variable names it's clear how to name them.
Things we target with variables:
- text color
- border color
- background color
- outline color
- drop-shadow color
- The above for hover, focus, disabled, active (for links).
- margin
- padding
- height
- width (for breakpoints)
- font-size
- font family