From 1916fd944dfd3dca8584df64fab2a7b71f95748b Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Thu, 2 Jun 2022 14:07:33 +0200 Subject: [PATCH] alternative fix for the CodeBlocks background (#3145) --- website/core/PrismTheme.js | 4 ++-- website/src/css/customTheme.scss | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/core/PrismTheme.js b/website/core/PrismTheme.js index a48bea727c5..7f8c4e43d24 100644 --- a/website/core/PrismTheme.js +++ b/website/core/PrismTheme.js @@ -1,7 +1,7 @@ -var theme = { +const theme = { plain: { color: '#FFFFFF', - background: '#282C34', + backgroundColor: '#282C34', }, styles: [ { diff --git a/website/src/css/customTheme.scss b/website/src/css/customTheme.scss index f9fccc1fc2e..3ab2ba7bb94 100644 --- a/website/src/css/customTheme.scss +++ b/website/src/css/customTheme.scss @@ -300,7 +300,6 @@ hr { div[class*="codeBlockContent"] { display: inline-grid; min-width: 100%; - background-color: var(--dark); } div[class*="codeBlockLines"] {