Now There Are Theming Capabilities for Streamlit Apps

avatar

streamlit.png

Today Streamlit announced a new feature - theming for Streamlit Apps. Previously by default there was only one out of the box theme for all Streamlit apps. If I wanted to changes styles of an app, we would have to inspect the elements in the Chrome browser and apply needed CSS styles.

What Streamlit tries to provide its users is an ability to quickly build Apps without much need or knowledge of html, css, or javascript. We can build Apps only using Python. Not only Streamlit gives Pythonistas an ability build Apps quick and easy but also to share them using Streamlit Share. Streamlit Apps also easy to deploy on Heroku or personal servers.

Some of the use cases for Streamlit is for data analysis, machine learning, data visualization projects. What I personally like to use it for is for my stocks, crypto, and market related projects.

Streamlit always tried to provide tools that can be used as is out of the box without much need of extra configuration. This would save time and App creators would mainly focus on the functionality of their python scripts.

It is great to hear that Streamlit continues to think Streamlit apps are beautiful out of the box. And this new feature of theming capabilities delivers on that promise.

You can read the full announcement blog post here:

https://blog.streamlit.io/introducing-theming/

Those of us who have already been using Streamlit, will need to upgrade to the latest version of Streamlit, running the following command in the terminal or command prompt:

pip install streamlit --upgrade

Those who are new to Streamlit, just make sure to install the latest version.

They have introduced Dark Mode. Previous theme remains the same, but now called the Light Mode. For both light and dark modes it seems like Streamlit will automatically pick operating system theme and change the colors with the OS.

Most importantly, they are introducing Custom them, which will give more flexibility for App authors to make Apps look according to their customization preferences.

App authors will be able to set the themes via Streamlit config system or by using the new theme editor tool.

Feel free to read their announcement blog post for more details and try the changes with the demo app. I really like this new upgrade for Streamlit. I will be experimenting more with it and see how I can make my Apps look even better.

Below are the list to the Apps I built using Streamlit. Hive Librarian gets past conversations between two Hive users, gets the Hive rich list, can check delegations user received or sent. Librarian Search helps finding posts based on various sorting parameters. If you haven't used them yes, give them a try and see if you may find the useful.

https://hivelibrarian.herokuapp.com

https://librariansearch.herokuapp.com

Posted Using LeoFinance Beta



0
0
0.000
12 comments
avatar

Programming will be easy for using their themes.

0
0
0.000
avatar

Ah much needed for somebody like me who suck at designing websites lol.
Will try it out but will it mess up the coding if I use this on an existing app?

Posted Using LeoFinance Beta

0
0
0.000
avatar

I don't think so. I haven't tried on deployed apps yet.

Posted Using LeoFinance Beta

0
0
0.000
avatar

Oh okay , I will give it a try in the next week but if you do before that please share with me how it went .

!WINE !ENGAGE 20

Posted Using LeoFinance Beta

0
0
0.000
avatar

Thank you for your engagement on this post, you have recieved ENGAGE tokens.

0
0
0.000
avatar

This is really cool. I think a lot of companies underestimate the importance of having at least a dark theme these days. It is totally game changing for me as a user. Also for the younger generation. I was talking to my nieces and I know they rely on night or dark themes quite heavily.

Posted Using LeoFinance Beta

0
0
0.000
avatar

By the way, what is this streamlit app? What is that python? I checked the link you provided but it's all about their upgrade. Sorry, just new to this.

Posted Using LeoFinance Beta

0
0
0.000
avatar

Python is a programming language. It is one of the easiest to learn programming languages.
Streamlit is a library that makes creating Web Apps with python easy and fast.

Posted Using LeoFinance Beta

0
0
0.000
avatar

I really appreciate your efforts to promote the technology tools. Whether its about promoting leo finance as top 20 witness or edgar filing. Your posts give a lots of ideas to analyse the things in far more technical but sophesticated manner

0
0
0.000
avatar

Good took for the beginners ..
Thanka for sharing

0
0
0.000