chore: update docs deps

This commit is contained in:
Kingkor Roy Tirtho
2023-10-06 21:43:05 +06:00
parent b93edcbcfe
commit 930164cda8
3 changed files with 2917 additions and 11389 deletions
+3 -4
View File
@@ -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"]
},
}),