streamlit
streamlit copied to clipboard
Allow multiple, named custom themes
Problem
Currently, Streamlit only allows users to create one custom theme. This can be inconvenient if you want to create multiple custom themes with different names and settings. For example, you might want to create a custom theme for your company's website and another custom theme for your personal projects.
Solution
The simplest solution would be to allow users to create multiple custom themes. This could be done by adding a new section to the Streamlit theme editor where users can create and manage their custom themes.
MVP
The MVP would allow users to create multiple custom themes. Each custom theme would have a name and a set of settings. The settings would allow users to customize the look and feel of their Streamlit apps.
Possible additions
In addition to allowing users to create multiple custom themes, it would also be helpful to allow users to:
Export their custom themes so that they can be shared with others or used in other projects. Import custom themes created by other users. Rename custom themes. Delete custom themes. Preferred solution
My preferred solution would be to allow users to create multiple custom themes, export their custom themes, import custom themes created by other users, rename custom themes, and delete custom themes. This would give users more flexibility and control over the look and feel of their Streamlit apps.
Additional context
I think this was mentioned before that other users might have want this to be added but I'm not sure tis why I'm posting this.
I believe that this feature would be a valuable addition to Streamlit. It would give users more flexibility and control over the look and feel of their Streamlit apps. I urge the Streamlit team to prioritize this feature request.
Thank you for your time.
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
Thanks for the suggestion! We currently don't have any concrete plans to improve theming but might look at it in the future.
The issue with allowing users to switch from light and dark, while forcing apps to have one theme, is it is hard to get the app to look good in both.
I would very much welcome this option, as well as the possibility to change the theme in the code.