feat: Mermaid dark theme with custom themeVariables + re-render on switch + fix code view colors
CI / lint (push) Successful in 13s
CI / security (push) Successful in 8s
CI / test (push) Successful in 28s
CI / build (push) Successful in 2s

This commit is contained in:
2026-06-05 09:57:17 -04:00
parent 6d7f95186d
commit b55eacad78
2 changed files with 61 additions and 3 deletions
+3 -2
View File
@@ -7633,7 +7633,7 @@ body.popup-mode .content-area {
.mermaid-header {
display: flex; align-items: center; justify-content: space-between;
padding: 6px 10px;
background: var(--bg-tertiary, #f0f0f5);
background: var(--bg-hover);
border-bottom: 1px solid var(--border);
min-height: 34px;
}
@@ -7690,9 +7690,10 @@ body.popup-mode .content-area {
.mermaid-source { padding: 16px; overflow: auto; }
.mermaid-source pre {
margin: 0; padding: 12px;
background: var(--bg-tertiary, #f5f5f5);
background: var(--code-bg);
border-radius: 4px;
font-size: 0.78rem; line-height: 1.5;
color: var(--text-primary);
}
/* ── Error ── */