We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7043a3 commit 8b28b3bCopy full SHA for 8b28b3b
3 files changed
docusaurus.config.js
@@ -1,8 +1,8 @@
1
// @ts-check
2
// Note: type annotations allow type checking and IDEs autocompletion
3
4
-const lightCodeTheme = require('prism-react-renderer/themes/github');
5
-const darkCodeTheme = require('prism-react-renderer/themes/dracula');
+const lightCodeTheme = require('prism-react-renderer').themes.github;
+const darkCodeTheme = require('prism-react-renderer').themes.dracula;
6
7
/** @type {import('@docusaurus/types').Config} */
8
0 commit comments