Custom properties are here to stay, and there's no concrete style guide for writing them. Here's one way of doing it.
Configurable, drop in semantic & accessible CSS-only checkboxes that have no hardcoded values. Follows line-height with length, knob size and colours configurable.
A look back at how we styled the web, the approaches we took to work our way around the limitations of CSS and why styled-components is here for stay.