4 ms·
Not sure if you saw my other comment below but this is a major goal for us with Elemental. We're not there today, because we're working through the best way to
by jed_watson 11y ago
Not sure if you saw my other comment below but this is a major goal for us with Elemental. We're not there today, because we're working through the best way to componentize the CSS for each module while retaining a common base for variables & customisation (i.e themes).
The most likely outcome will be to go with the "css in components" approach (w/ Radium, I expect) and maybe a base / "foundational" optional stylesheet for typography / etc. Still working it out though - all today's viable approaches have lots of pros and cons.
- scoot 11y agoYou might like to look at how reapp [1] has achieved this. It has default styles baked into each component, allows granular overriding of styles at a component level, as well as global theme support. [1] http://reapp.io http://reapp.io / https://github.com/reapp/reapp-ui https://github.com/reapp/reapp-ui
- philliphaydon 11y agoSounds good. I don't mind having to have some base or foundation file as long as the components can be picked. I'm working on a project at the moment where I just want form elements :( but doing them myself because everything else is all of nothing.