Hi,
in config.toml we have options backgroundColor & secondaryBackgroundColor.
But only textColor. Which means 1 text color for 2 backgrounds.
Which limits the âprettyâ combinations of colors.
For example, text=black, background=white, secondary=black. Has good display in main page, but bad display in sidebar.
So would be possible to add the option secondaryTextColor in âconfig.tomlâ?
Colored text, using the syntax :color[text to be colored], where color needs to be replaced with any of the following supported colors: blue, green, orange, red, violet.
import streamlit as st
st.markdown('Streamlit is **_really_ cool**.')
st.markdown("This text is :red[colored red], and this is **:blue[colored]** and bold.")
st.markdown(":green[$\sqrt{x^2+y^2}=1$] is a Pythagorean identity. :pencil:")
iâm using css, but code now is less accessible for âonly pythonâ users. Having secondaryText or â:white[text]â would be preferable
that said, iâm stucked on making " st.checkbox" white (White text in config.toml is black).
Cause the css class for text (As far as i understand) is .stMarkdownContainer (and not .stCheckBox)
so
.stCheckbox > label {
color: white;
}
doesnât work. and
.stMarkdownContainer > label {
color: white;
}
makes a lot of widgets in the main page go with white text