From c2f86d30d316b5dcc7d0e6768cade0730ed70d58 Mon Sep 17 00:00:00 2001 From: Shamil <66209982+shamilsan@users.noreply.github.com> Date: Tue, 28 Nov 2023 18:29:23 +0100 Subject: [PATCH] fix: code block style in light theme (#54) --- docusaurus.config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index d03fe49..d3a52ba 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,5 +1,4 @@ -import lightCodeTheme from 'prism-react-renderer'; -import darkCodeTheme from 'prism-react-renderer'; +import {themes as prismThemes} from 'prism-react-renderer'; export default { title: 'Vara Network Documentation Portal', @@ -83,8 +82,8 @@ export default { isCloseable: false, }, prism: { - theme: lightCodeTheme, - darkTheme: darkCodeTheme, + theme: prismThemes.github, + darkTheme: prismThemes.dracula, }, }), };