streamlit / docs

Source code for the Streamlit Python library documentation
https://docs.streamlit.io
Apache License 2.0
111 stars 461 forks source link

Wrong default light theme values #1057

Closed gabrieltempass closed 2 months ago

gabrieltempass commented 4 months ago

Summary

The Theming page in the docs has this section:

The following config options show the default Streamlit Light theme recreated in the [theme] section of a .streamlit/config.toml file.

But some default values shown in the recreated .streamlit/config.toml file are wrong. More specifically, the values for primaryColor and textColor. The correct values are those set in the themeColors.ts file, that come from colors.ts.

Expected behavior:

[theme]
primaryColor="#FF4B4B"
backgroundColor="#FFFFFF"
secondaryBackgroundColor="#F0F2F6"
textColor="#31333F"
font="sans serif"

Actual behavior:

[theme]
primaryColor="#F63366"
backgroundColor="#FFFFFF"
secondaryBackgroundColor="#F0F2F6"
textColor="#262730"
font="sans serif"