Search the Community
Showing results for tags 'styling'.
Found 2 results
For myself I've adopted the following recipe for component styling 1) Compose new components using any of the standard components, like w3Panel, w3Label, w3Button etc. The uptake is that this way new components auto-style according to the project theme and switching themes changes component styling automatically. Overriding properties where necessary of course. 2) Avoid themes outside the ones provided in SMS. I find external css files hard to read and comprehend, and I tend to steer away from them. The uptake is no external dependencies and also styling can be done in BEM format, which I find really helpful. 3) Component styling has to be added in code (standard smart pascal) rather than manually extending the projects css-file.