From a0e31142d5b154f5ad944ffa1b2d1430fa8270d4 Mon Sep 17 00:00:00 2001 From: mendhak Date: Sat, 7 Feb 2026 15:01:15 +0000 Subject: [PATCH 1/3] Add class-name token, for a11y dark theme --- themes/prism-a11y-dark.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/prism-a11y-dark.css b/themes/prism-a11y-dark.css index 253f2ca..d9dc6db 100644 --- a/themes/prism-a11y-dark.css +++ b/themes/prism-a11y-dark.css @@ -90,6 +90,7 @@ pre[class*="language-"] { .token.atrule, .token.attr-value, +.token.class-name, .token.function { color: #ffd700; } From bf0bfe1163e024ddcdd80131ffee975a63277887 Mon Sep 17 00:00:00 2001 From: mendhak Date: Sat, 7 Feb 2026 15:10:26 +0000 Subject: [PATCH 2/3] Bring a11y dark up to date, with more missing prism .token classes --- themes/prism-a11y-dark.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/themes/prism-a11y-dark.css b/themes/prism-a11y-dark.css index d9dc6db..59e6170 100644 --- a/themes/prism-a11y-dark.css +++ b/themes/prism-a11y-dark.css @@ -57,6 +57,7 @@ pre[class*="language-"] { color: #fefefe; } +.token.tag-id, .token.property, .token.tag, .token.constant, @@ -65,6 +66,7 @@ pre[class*="language-"] { color: #ffa07a; } +.token.null, .token.boolean, .token.number { color: #00e0e0; @@ -75,7 +77,8 @@ pre[class*="language-"] { .token.string, .token.char, .token.builtin, -.token.inserted { +.token.inserted, +.token.unit { color: #abe338; } @@ -83,19 +86,25 @@ pre[class*="language-"] { .token.entity, .token.url, .language-css .token.string, +.language-scss .token.string, .style .token.string, -.token.variable { +.token.variable, +.token.placeholder { color: #00e0e0; } .token.atrule, +.token.atrule-id, .token.attr-value, .token.class-name, .token.function { color: #ffd700; } -.token.keyword { +.token.keyword, +.token.control, +.token.directive, +.token.statement { color: #00e0e0; } From 36aaf085342d9496b2d0f31cd247d353f86601fa Mon Sep 17 00:00:00 2001 From: mendhak Date: Sat, 7 Feb 2026 15:12:26 +0000 Subject: [PATCH 3/3] Remove whitespace --- themes/prism-a11y-dark.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/prism-a11y-dark.css b/themes/prism-a11y-dark.css index 59e6170..3307542 100644 --- a/themes/prism-a11y-dark.css +++ b/themes/prism-a11y-dark.css @@ -102,8 +102,8 @@ pre[class*="language-"] { } .token.keyword, -.token.control, -.token.directive, +.token.control, +.token.directive, .token.statement { color: #00e0e0; }