Skip to content

Commit

Permalink
Update to docusaurus 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-hiller committed May 10, 2024
1 parent 44691bf commit 0c99391
Show file tree
Hide file tree
Showing 3 changed files with 14,545 additions and 11,594 deletions.
7 changes: 3 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @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');
import {themes as prismThemes} from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -129,8 +128,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Allgäu Informatik GmbH`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
}),
};
Expand Down
Loading

0 comments on commit 0c99391

Please sign in to comment.