refs #739: preserve Smilegate changes before repository layout migration

This commit is contained in:
devmrko
2026-08-03 11:12:19 +09:00
parent 022ae7f9d2
commit 4d2964b5c6
58 changed files with 3002 additions and 291 deletions

View File

@@ -46,6 +46,17 @@ def apply_console_theme(st: Any, profile: AppProfile) -> None:
[data-testid="stJson"] code {{
background:transparent !important; color:var(--console-text) !important;
-webkit-text-fill-color:var(--console-text) !important; }}
/* Baseline answers and generated SQL use Streamlit's separate code
surface. Keep it readable when the browser prefers dark mode. */
[data-testid="stCode"], [data-testid="stCode"] pre,
[data-testid="stCode"] code, [data-testid="stCodeBlock"],
[data-testid="stCodeBlock"] pre, [data-testid="stCodeBlock"] code {{
background:#f8fafc !important; color:var(--console-text) !important;
border-color:var(--console-border) !important; color-scheme:light !important;
-webkit-text-fill-color:var(--console-text) !important; }}
[data-testid="stCode"] *, [data-testid="stCodeBlock"] * {{
color:var(--console-text) !important;
-webkit-text-fill-color:var(--console-text) !important; }}
/* Chat responses are rendered in a separate Streamlit surface. Without
these rules a dark browser theme can leave the answer card dark while
its Markdown keeps the light-theme text color. */