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