* Add dark/light style fields to config * Update yarn.lock * Remove css content * Add documentation * Add icon fields to toggle component * Add config validation fields * Remove changes from docusaurus.config * Add unicode documentation example * Fix default values * Add color mode config default * Add lodash to theme-classic * Change themeConfigSchema name to match other packages * Add themeConfig color-mode tests * Add default config merge function * Remove unneeded object merging * Add more documentation |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| babel.config.js | ||
| package.json | ||
| tsconfig.json | ||
README.md
Docusaurus Theme Classic
The classic theme for Docusaurus.
Installation
Add docusaurus/theme-classic to your package:
npm i @docusaurus/theme-classic
# or
yarn add @docusaurus/theme-classic
Modify your docusaurus.config.js:
module.exports = {
...
+ themes: ['@docusaurus/theme-classic'],
...
}
Swizzling components
$ npm swizzle @docusaurus/theme-classic [component name]
All components used by this theme can be found here