Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am building my first Elm app just following the docs from the official web site. I don't see any direct mention of styling there. Looking around, I see the elm-ui project is one, elm-css is another approach, and the example SPA that Richard Feldman made just uses a stylesheet from Bootstrap, i.e., just plain CSS. If it exists, what's the canonical way of styling an app?
Through the years, I have used Bootstrap together with SCSS and regular classes inside Elm. The other option I used is elm-css. With elm-css I have also had two approaches, one that builds a bunch of style libraries containing style snippets that get used in the apps. The second approach is something similar to classless approach (see this collection for more examples)