Skip to content

Commit

Permalink
Docusaurus upgraded.
Browse files Browse the repository at this point in the history
  • Loading branch information
izzet committed Jan 16, 2024
1 parent f8e7e77 commit a89bb8b
Show file tree
Hide file tree
Showing 6 changed files with 10,888 additions and 8,191 deletions.
9 changes: 5 additions & 4 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 { themes } = require("prism-react-renderer");
const lightTheme = themes.github;
const darkTheme = themes.dracula;

const GNOSIS_SHORT = "GRC";
const GNOSIS_TITLE = "Gnosis Research Center";
Expand Down Expand Up @@ -273,8 +274,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} ${GNOSIS_TITLE} (${GNOSIS_SHORT}).`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: lightTheme,
darkTheme: darkTheme,
},
}),
};
Expand Down
Loading

0 comments on commit a89bb8b

Please sign in to comment.