Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: make the rename symbol popup readable in dark mode (#10091)

Myles Scolnicke1f7422ef1ac
diff --git a/frontend/src/css/app/codemirror.css b/frontend/src/css/app/codemirror.css
index 2fcdd3a785..c918e90cc5 100644
--- a/frontend/src/css/app/codemirror.css
+++ b/frontend/src/css/app/codemirror.css
@@ -138,3 +138,17 @@
display: inline-block;
padding: 2px;
}
+
+/* Rename symbol popup (F2). The upstream popup hardcodes white inline styles;
+ override with theme tokens. */
+.cm-rename-popup {
+ background: var(--popover) !important;
+ border-color: var(--border) !important;
+ color: var(--popover-foreground) !important;
+}
+
+.cm-rename-popup input {
+ background: var(--background) !important;
+ border-color: var(--border) !important;
+ color: var(--foreground) !important;
+}