about summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 13:33:09 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 13:33:09 +0700
commitc52bb322b353c38e9ad12c5b1034d36441beb2b9 (patch)
tree9f756b4be80bff22bbe34589b81f346ebb9dcbd2 /assets
parent12611f28f28f051a4bf79920eef8d451b405478e (diff)
downloadblog-c52bb322b353c38e9ad12c5b1034d36441beb2b9.tar.gz
Fix syntax highlight for light mode
Diffstat (limited to 'assets')
-rw-r--r--assets/css/syntax-light.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/syntax-light.css b/assets/css/syntax-light.css
index 3e3c47c..1ed6888 100644
--- a/assets/css/syntax-light.css
+++ b/assets/css/syntax-light.css
@@ -1,6 +1,6 @@
 @media (prefers-color-scheme: light) {
-    /* Background */ .bg { background-color: #ffffff; }
-    /* PreWrapper */ .chroma { background-color: #ffffff; }
+    /* Background */ .bg { color: black; background-color: #ffffff; }
+    /* PreWrapper */ .chroma { color: black; background-color: #ffffff; }
     /* Other */ .chroma .x {  }
     /* Error */ .chroma .err { color: #000000 }
     /* CodeLine */ .chroma .cl {  }