chore: update docs deps
This commit is contained in:
@@ -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');
|
||||
const { themes } = require('prism-react-renderer');
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
@@ -133,8 +132,8 @@ const config = {
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Kingkor Roy Tirtho`,
|
||||
},
|
||||
prism: {
|
||||
theme: lightCodeTheme,
|
||||
darkTheme: darkCodeTheme,
|
||||
theme: themes.oneLight,
|
||||
darkTheme: themes.oneDark,
|
||||
additionalLanguages: ["dart"]
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user