Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiszczatowski committed Sep 10, 2024
1 parent eedc7d6 commit ed118da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const prismReactRenderer = require("prism-react-renderer");
const lightCodeTheme = prismReactRenderer.themes.github;
const darkCodeTheme = prismReactRenderer.themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down

0 comments on commit ed118da

Please sign in to comment.