Add DSL to create styles
meiersi opened this issue · comments
Style attributes must be communicated to ReactJS using a property map. We currently handle that using a Data.Map.Map
attribute. However, we could do better. The idea is to expose a little combinator language like blaze-html to construct valid style values only. This would improve the developer experience and free the renderers to deal with styles in the most optimal way.