From 9e8a57c81c69a8496f208116173fd798fa10e344 Mon Sep 17 00:00:00 2001 From: hayyaksi <193020925+hayaksi1@users.noreply.github.com> Date: Tue, 11 Aug 2026 19:04:33 +0300 Subject: [PATCH] Use the dark code highlighting stylesheet in the dark-custom theme (#34491) dark-custom imported highlight.js's atom-one-light palette while every other dark theme imports atom-one-dark, so syntax-highlighted code blocks rendered dark grey on the theme's dark background. The neighbouring import on the next line already pulls in the dark GitHub markdown stylesheet. Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- apps/web/res/themes/dark-custom/css/dark-custom.pcss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/res/themes/dark-custom/css/dark-custom.pcss b/apps/web/res/themes/dark-custom/css/dark-custom.pcss index 9b35a20830..69f02779bb 100644 --- a/apps/web/res/themes/dark-custom/css/dark-custom.pcss +++ b/apps/web/res/themes/dark-custom/css/dark-custom.pcss @@ -6,5 +6,5 @@ @import "../../legacy-dark/css/_legacy-dark.pcss" layer(app-web); @import "../../light-custom/css/_custom.pcss" layer(app-web); @import "../../../../res/css/_components.pcss" layer(app-web); -@import url("highlight.js/styles/atom-one-light.min.css") layer(app-web); +@import url("highlight.js/styles/atom-one-dark.min.css") layer(app-web); @import url("github-markdown-css/github-markdown-dark.css") layer(app-web);