CSS in JavaScript: The future of component-based styling
Jonathan Z. White
2K32

We are doing that exact thing in Elm as a library, but with something totally type checked and composable : https://github.com/elm-bodybuilder/elegant