st.dataframe() with highlight is hard to read in dark mode #6060
Labels
feature:st.dataframe
status:confirmed
Bug has been confirmed by the Streamlit team
type:enhancement
Requests for feature enhancements or new features
Checklist
Summary
The background color of the highlighted cells in
st.dataframe()
table is kept as yellow even in dark mode, while the text color changes to white.As a result, in dark mode, the highlighted cells are very hard to read.
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
The background color should also be nicely selected by default in combination with the text color.
Current Behavior
No response
Is this a regression?
Debug info
Python 3.10.6
Additional Information
color='red'
for example provide a visible color combination likest.dataframe(df.style.highlight_max(axis=0, color='red'))
.Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: