Skip to content

Commit

Permalink
patching prism import
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Jan 26, 2024
1 parent b535056 commit e59a861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
// @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 lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.vsDark;

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

0 comments on commit e59a861

Please sign in to comment.