refs #703: cover Streamlit expander dark theme internals
This commit is contained in:
@@ -65,6 +65,17 @@ def apply_console_theme(st: Any, profile: AppProfile) -> None:
|
|||||||
details > summary *, details > summary::marker {{
|
details > summary *, details > summary::marker {{
|
||||||
color:var(--console-text) !important;
|
color:var(--console-text) !important;
|
||||||
-webkit-text-fill-color:var(--console-text) !important; }}
|
-webkit-text-fill-color:var(--console-text) !important; }}
|
||||||
|
[data-testid="stExpander"] > details,
|
||||||
|
[data-testid="stExpander"] > details > summary,
|
||||||
|
[data-testid="stExpander"] > details > summary > div,
|
||||||
|
[data-testid="stExpander"] > details > summary > div > div {{
|
||||||
|
background:#fff !important; color:var(--console-text) !important;
|
||||||
|
border-color:var(--console-border) !important; }}
|
||||||
|
[data-testid="stExpander"] > details > summary *,
|
||||||
|
[data-testid="stExpander"] > details > summary svg {{
|
||||||
|
color:var(--console-text) !important; fill:var(--console-text) !important;
|
||||||
|
stroke:var(--console-text) !important;
|
||||||
|
-webkit-text-fill-color:var(--console-text) !important; }}
|
||||||
div[data-testid="stButton"] > button, div[data-testid="stFormSubmitButton"] > button {{
|
div[data-testid="stButton"] > button, div[data-testid="stFormSubmitButton"] > button {{
|
||||||
background:#fff !important; color:var(--console-text) !important;
|
background:#fff !important; color:var(--console-text) !important;
|
||||||
-webkit-text-fill-color:var(--console-text) !important;
|
-webkit-text-fill-color:var(--console-text) !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user