Skip to content

Commit 927efb7

Browse files
committed
fix: dark text on sidebar date inputs
1 parent c132efb commit 927efb7

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

Homepage.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import pandas as pd
44
import plotly.express as px
5+
import plotly.graph_objects as go
56
import streamlit as st
67
from google.cloud import bigquery
78
from google.oauth2 import service_account
@@ -24,6 +25,13 @@
2425
[data-testid="stSidebar"] * {
2526
color: white !important;
2627
}
28+
[data-testid="stSidebar"] input {
29+
color: #1A1A1A !important;
30+
}
31+
[data-testid="stSidebar"] .stDateInput input {
32+
color: #1A1A1A !important;
33+
background-color: #E4EBF4 !important;
34+
}
2735
[data-testid="stSidebarNav"] a {
2836
color: rgba(255,255,255,0.8) !important;
2937
}

pages/2_WTI_Price.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
[data-testid="stSidebar"] * {
2626
color: white !important;
2727
}
28+
[data-testid="stSidebar"] input {
29+
color: #1A1A1A !important;
30+
}
31+
[data-testid="stSidebar"] .stDateInput input {
32+
color: #1A1A1A !important;
33+
background-color: #E4EBF4 !important;
34+
}
2835
[data-testid="stSidebarNav"] a {
2936
color: rgba(255,255,255,0.8) !important;
3037
}

pages/3_Event_Context.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
[data-testid="stSidebar"] * {
2626
color: white !important;
2727
}
28+
[data-testid="stSidebar"] input {
29+
color: #1A1A1A !important;
30+
}
31+
[data-testid="stSidebar"] .stDateInput input {
32+
color: #1A1A1A !important;
33+
background-color: #E4EBF4 !important;
34+
}
2835
[data-testid="stSidebarNav"] a {
2936
color: rgba(255,255,255,0.8) !important;
3037
}

0 commit comments

Comments
 (0)