From 4b6053b9448f81a423b369a1551767a41f4ab7bd Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 10 Feb 2026 09:13:21 +0000 Subject: [PATCH] Tweak syntax highlighting colors on dark theme --- docs/theme/stylesheets/prettify.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/theme/stylesheets/prettify.css b/docs/theme/stylesheets/prettify.css index d437aff62..1d01f4b34 100644 --- a/docs/theme/stylesheets/prettify.css +++ b/docs/theme/stylesheets/prettify.css @@ -7,6 +7,16 @@ .typ, .atn, .dec, .var { color: teal; } .pln { color: #48484c; } +[data-md-color-scheme="slate"] +{ + .com { color: #687272; } + .lit { color: #2481c7; } + .str, .atv { color: #e02642; } + .kwd, .prettyprint .tag { color: #5b7acb; } + .typ, .atn, .dec, .var { color: #05abab; } + .pln { color: #d3d3dc; } +} + .prettyprint { padding: 8px; background-color: #f7f7f9;