I just made my website using streamlit and have uploaded it to heroku.I have a config.toml file in the .streamlit folder, which changes the text colour and background colour of the website.
On running it by using the streamlit run
command, it works perfectly fine. But using heroku and going to the provided website, the text colour there seems to be black and the background white, which are not the correct colours.
Here is my setup.sh
file:
mkdir -p ~/.streamlit/echo "\[general]\n\email = \"myname@domain.com\"\n\" > ~/.streamlit/credentials.tomlecho "\[server]\n\headless = true\n\enableCORS=false\n\port = $PORT\n\" > ~/.streamlit/config.toml
Here is my config.toml
file:
[theme]primaryColor = '#eb4034'backgroundColor = '#021d24'secondaryBackgroundColor = '#B9F1C0'textColor = '#FFFFFF'font = "sans serif"