feat: Mermaid dark theme with custom themeVariables + re-render on switch + fix code view colors
This commit is contained in:
+3
-2
@@ -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 ── */
|
||||
|
||||
Reference in New Issue
Block a user