With the following code I'm trying to change the color in the dataframe's thead. While changing the text color it doesn't do the same as the background-color.
Can someone help?
app_ui = ui.page_fixed(
ui.include_css('my.css'),
ui.h2('Sales'),
ui.output_data_frame("filtered_table"),
)
and my.css file
body th {
color: white;
background-color: black;
}
It's always tricky to start messing with the CSS indeed because there are so many classes and variables that can get in the way and override what you write in a file is it's not specific enough.
If you are looking to focus on the header, this should work:
Hi PJ
Thank you very much for the reply.
I am rookie on shiny.
Until now my work was based on streamlit. It's an awesome framework with a great community. The problem is that you can't customize the UI the way you want. So I decided to try shiny for python. It worries me that the community is not that big and the problems presented will be more difficult to deal with.