From dc8cf876f65a41f3ed823de165cec1483886f727 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 18 Jan 2024 07:03:38 +0300 Subject: [PATCH] Dark code background for noir --- assets/styles/layout/_code.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/styles/layout/_code.scss b/assets/styles/layout/_code.scss index 28663ba97..405f930a0 100644 --- a/assets/styles/layout/_code.scss +++ b/assets/styles/layout/_code.scss @@ -140,4 +140,12 @@ pre[class*="language-"] { } } } + + &[data-p-theme^="aura-light-noir"] { + pre[class*="language-"] { + code { + background: var(--surface-950); + } + } + } } \ No newline at end of file