At the moment we have a Theme object that we pass around to our components. Its properties are then used as inline styles in the DOM elements. This clearly does not scale as the number of config options grows over time.
I think we could instead have a global styles.css file that is either exposed to the user or generated from its user settings, which would clean up the component code a lot.
At the moment we have a
Theme
object that we pass around to our components. Its properties are then used as inline styles in the DOM elements. This clearly does not scale as the number of config options grows over time.I think we could instead have a global styles.css file that is either exposed to the user or generated from its user settings, which would clean up the component code a lot.