From 4fd016dffcbff4c1ddcf3132e2e2c4eadfa0e034 Mon Sep 17 00:00:00 2001 From: kert Date: Tue, 27 Oct 2026 13:53:34 -0400 Subject: [PATCH] fix(traefik): stop injecting the site-wide theme into marimo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit notebooks had "theme": true, so Traefik's inject-fhirworx middleware added assets/css/inject.css — the universal sheet written for Grafana, Trino, Prometheus and RustFS (its own header says so) — on top of marimo's dedicated theme (marimo.css via custom_css). Its blanket rules ([class*="primary"] { background: navy }, [class*="button"]:hover …) painted every home-page row navy (marimo rows carry hover:text-primary) and flattened the shutdown dialog so Shutdown looked exactly like Cancel. marimo now gets only its own theme. --- infra/traefik/dynamic/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/traefik/dynamic/services.yml b/infra/traefik/dynamic/services.yml index c2ad5cb..d1b28c6 100644 --- a/infra/traefik/dynamic/services.yml +++ b/infra/traefik/dynamic/services.yml @@ -3,7 +3,7 @@ "dashboard" (dict "port" "80" "theme" true "extra_hosts" (list $domain) "mw" "secure-headers") "docs" (dict "port" "80" "theme" false "mw" "git-sso,secure-headers") "git" (dict "port" "3000" "theme" false "mw" "secure-headers") - "notebooks" (dict "port" "2718" "theme" true "mw" "git-sso,secure-headers") + "notebooks" (dict "port" "2718" "theme" false "mw" "git-sso,secure-headers") "zotero" (dict "port" "8080" "theme" true "mw" "git-sso,secure-headers") "webdav" (dict "port" "8080" "theme" false "mw" "secure-headers") "api" (dict "port" "8000" "theme" false "mw" "secure-headers")