-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: use material-ui for theming #77
Comments
@lappalj4 https://github.com/athenekilta/ilmomasiina/blob/otax/production/ENV.MD Tääl on jotain jo teemoitusta mut hyvä idea kyl lähtee rokkaamaan parempaa iaas-experiencee |
I like the customization idea! What would be the benefit of using material-ui instead of just ensuring that all colours and fonts are defined in one place ( |
I think the main benefit is the ability to change the colors with just an .env file, which you can't do with scss, afaik - no need to fork the project to customize colors or fonts even. Also, I at least personally enjoy the way M-ui enforces/encourages actually using the theme you provide, with scss solutions I've found it's very easy to become lazy, and end up having declared 20 colors of which you use 2 or 3. Don't think the bloatedness is an issue since the mui styling system is an entirely separate module, and the other mui components can be imported with tree-shaking so it only bundles the ones you use. That's my $.02 anyway :-) |
Fair points :) Regarding technical implementations though, I think changing the color via |
Just an idea: it would be pretty neat if this app could be themed easily from a single file. I think the following would be enough to make it look sufficiently personalised:
This could be done rather easily by doing the following:
Typography
componentSee here for material-ui styling reference: https://material-ui.com/styles/advanced/.
Definitely a nice-to-have, but potentially a good first issue and would be one step more towards Ilmomasiina-as-a-service
The text was updated successfully, but these errors were encountered: