Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
267 views
in Technique[技术] by (71.8m points)

Custom themes in material UI

My team are about to rewrite a e-commerce solution that ships with our ERP system.

Now, our customers are the owners of the e-commerce and now I'm looking into the possibility of the customers to make their own theme of the e-commerce. The customers have no coding experience so it has to be easy and strait forward.

From what I understand theming is quite strait forward using the "createMuiTheme" json format. Now I'm thinking how our customers would be able to make their own theme in this format. I guess it would be okey if we made a template of the "createMuiTheme" with comments and let the customers fill in their desired vaules. The question now is how would it be possible for them to upload this to the webserver so that the theme would be activated. From what I understand the app needs to be built for the theme to work, this is something the customers ideally not would have to do.

Best case would be for them to simply drop a json file at some predefiend location on the webserver and the theme would be read by the app.

question from:https://stackoverflow.com/questions/65933656/custom-themes-in-material-ui

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...