fix(themes): improve contrast for code blocks and callouts in light theme

This commit is contained in:
sandrodach committed 2026-10-30 16:12:36 +01:00
1 parent e15b028171
commit 108ac6621c
3 files changed
+17 -14

No files matched your search

+2 -2
View File
@@ -429,11 +429,11 @@ body {
--code-keyword: #0000ff;
--code-string: #a31515;
--code-number: #098658;
--code-comment: #008000;
--code-comment: #007000;
--code-property: #0451a5;
--code-function: #795e26;
--code-type: #267f99;
--code-punctuation: #3b3b3b;
--code-punctuation: #2e2e2e;
--code-variable: #001080;
}
+12 -12
View File
@@ -14,24 +14,24 @@
/* --- 2. OBERFLÄCHEN & HINTERGRÜNDE --- */
--bg-app: #f3f4f6;
--bg-panel: #ffffff;
--bg-panel-elevated: #ebedf0;
--bg-panel-hover: #e2e5ea;
--bg-panel-elevated: #e2e8f0;
--bg-panel-hover: #cbd5e1;
--bg-input: #ffffff;
--bg-overlay: rgba(15, 23, 42, 0.45);
--bg-code: #f1f5f9;
--bg-code: #e2e8f0;
/* --- 3. TEXT & KONTRASTE --- */
--text-main: #111827;
--text-muted: #4b5563;
--text-faint: #9ca3af;
--text-muted: #374151;
--text-faint: #6b7280;
/* --- 4. RAHMEN, LINIEN & SCHATTEN --- */
--border-color: rgba(17, 24, 39, 0.13);
--border-subtle: rgba(17, 24, 39, 0.06);
--border-strong: rgba(17, 24, 39, 0.28);
--border-color: rgba(17, 24, 39, 0.18);
--border-subtle: rgba(17, 24, 39, 0.08);
--border-strong: rgba(17, 24, 39, 0.32);
--shadow-panel: 0 8px 24px rgba(15, 23, 42, 0.08);
--scrollbar-thumb: rgba(17, 24, 39, 0.18);
--scrollbar-thumb-hover: rgba(17, 24, 39, 0.32);
--scrollbar-thumb: rgba(17, 24, 39, 0.22);
--scrollbar-thumb-hover: rgba(17, 24, 39, 0.38);
/* --- 5. STATUS- & SIGNALFARBEN --- */
--color-success: #15803d;
@@ -57,10 +57,10 @@
--code-keyword: #0000ff;
--code-string: #a31515;
--code-number: #098658;
--code-comment: #008000;
--code-comment: #007000;
--code-property: #0451a5;
--code-function: #795e26;
--code-type: #267f99;
--code-punctuation: #3b3b3b;
--code-punctuation: #2e2e2e;
--code-variable: #001080;
}