We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b4bd36 + c2323bd commit e3da4d9Copy full SHA for e3da4d9
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
const config = {
0 commit comments