fix: packet-beta dark mode — CSS override for hardcoded white blocks (themeVariables ignored by beta)
CI / lint (push) Successful in 14s
CI / security (push) Successful in 8s
CI / test (push) Successful in 25s
CI / build (push) Has been cancelled

This commit is contained in:
2026-06-05 11:45:11 -04:00
parent 0fcb917a8d
commit 24b91b0d62
+20
View File
@@ -7766,6 +7766,26 @@ body.popup-mode .content-area {
max-width: 100%; max-height: 100%;
}
/* ── Dark mode overrides for beta diagrams that ignore themeVariables ── */
[data-theme="dark"] .mermaid-rendered svg .row rect,
[data-theme="dark"] .mermaid-rendered svg g[id*="packet"] rect {
fill: #1e3a5f !important;
stroke: #4a7ab5 !important;
}
[data-theme="dark"] .mermaid-rendered svg .row text,
[data-theme="dark"] .mermaid-rendered svg g[id*="packet"] text {
fill: #c8daf0 !important;
}
[data-theme="dark"] .mermaid-fullscreen-content svg .row rect,
[data-theme="dark"] .mermaid-fullscreen-content svg g[id*="packet"] rect {
fill: #1e3a5f !important;
stroke: #4a7ab5 !important;
}
[data-theme="dark"] .mermaid-fullscreen-content svg .row text,
[data-theme="dark"] .mermaid-fullscreen-content svg g[id*="packet"] text {
fill: #c8daf0 !important;
}
.mermaid-focus-panel {
position: fixed; top: 0; right: 0; bottom: 0; width: 480px;
z-index: 9998; background: var(--bg-secondary);