I have read multiple similar questions but I want to stick to my component !
I have an app for which I am using text_area with disabled=True (content cannot be modified) but button is still active.
Because disabled=True the content is not that visible, I would therefore like to change the style of textarea by changing the font color. Is there a way to do that ? Can I go through .streamlit/config.toml ?
PS: I don’t want to go through st.markdown as I still need the button !
So by using in config.toml, I was able to change the background color of the text_area using secondaryBackgroundColor but textColor does not seem to have an impact on the font color when disabled=True
I just realized my solution was just the opposite of that.
You can tweak the background-color or the background-image attributes of st.text_area playing with some css selectors. This method will override the colors set in the config.toml file though.