From 2a361c2f619478615b6020ec564e112bb7814a4f Mon Sep 17 00:00:00 2001 From: vanten-s Date: Tue, 6 Aug 2024 22:45:33 +0200 Subject: [PATCH] Fixed code blocks in light mode --- themes/vanten/assets/css/chroma.css | 5 ----- themes/vanten/assets/css/main.css | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/themes/vanten/assets/css/chroma.css b/themes/vanten/assets/css/chroma.css index 5d3305e..32c6265 100644 --- a/themes/vanten/assets/css/chroma.css +++ b/themes/vanten/assets/css/chroma.css @@ -3,11 +3,6 @@ background-color: #1e1e2e; } -code { - color: #cdd6f4; - background-color: #1e1e2e; -} - .chroma .cl { color: #cdd6f4; } diff --git a/themes/vanten/assets/css/main.css b/themes/vanten/assets/css/main.css index 6459615..d2a0182 100644 --- a/themes/vanten/assets/css/main.css +++ b/themes/vanten/assets/css/main.css @@ -71,3 +71,7 @@ a { border-top: 1px solid var(--border); margin-top: 1rem; } + +code { + background-color: var(--navbar); +}