diff options
Diffstat (limited to 'docusaurus/docusaurus.config.js')
-rw-r--r-- | docusaurus/docusaurus.config.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 0c1833c..12deb33 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -4,8 +4,9 @@ /** @type { { config: { libredirect: false } } } */ const wolfree = require("./wolfree.config.js"); -const lightCodeTheme = require("prism-react-renderer/themes/github"); -const darkCodeTheme = require("prism-react-renderer/themes/dracula"); +const {themes} = require('prism-react-renderer'); +const lightCodeTheme = themes.github; +const darkCodeTheme = themes.dracula; /** @type {import('@docusaurus/types').Config} */ module.exports = { |