Skip to content

Commit 4653739

Browse files
committed
Update GlyphServer
1 parent d68822e commit 4653739

5 files changed

Lines changed: 1330 additions & 73 deletions

File tree

docs/assets/css/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,13 @@ a[href$="/add-a-framework/"] {
9595
padding-left: 14px !important;
9696
border-left: 1px solid rgba(128, 128, 128, 0.3) !important;
9797
}
98+
99+
/* ── Code blocks: fix dark-mode readability ─────────────────── */
100+
101+
/* The "http" lexer marks all tokens as .err, which carries a light
102+
pink background (#e3d2d2) from the default Chroma theme.
103+
Override it in dark mode so the block stays dark and text is legible. */
104+
html.dark .highlight .chroma .err {
105+
background-color: transparent !important;
106+
color: #e2e8f0 !important;
107+
}

0 commit comments

Comments
 (0)