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: dark theme selectors (#1227)

Myles Scolnick9bf3a26067ee
diff --git a/frontend/src/css/globals.css b/frontend/src/css/globals.css
index 1e60b4de5a..8e0b7c4985 100644
--- a/frontend/src/css/globals.css
+++ b/frontend/src/css/globals.css
@@ -25,7 +25,7 @@
@layer base {
:root,
- .marimo {
+ .light .marimo {
color-scheme: light;
--monospace-font: "Fira Mono";
@@ -103,7 +103,8 @@
0px 0px 2px 0px hsl(var(--accent));
}
- .dark {
+ .dark,
+ .dark .marimo {
color-scheme: dark;
/* Radix dark colors for reference: https://github.com/radix-ui/colors/blob/main/src/dark.ts */