Closed HIL340 closed 6 months ago
The TabBar component only partially respects the global streamlit theme.
TabBar
As seen in the image below, the <hr> is blue (matching the custom streamlit theme) while the active tab still shows as the default pink/red.
<hr>
Before:
This PR updates the active tab styling to correctly make use of the custom streamlit theme via the --primary-color css variable.
--primary-color
After:
The
TabBar
component only partially respects the global streamlit theme.As seen in the image below, the
<hr>
is blue (matching the custom streamlit theme) while the active tab still shows as the default pink/red.Before:
This PR updates the active tab styling to correctly make use of the custom streamlit theme via the
--primary-color
css variable.After: