docusaurus/packages/docusaurus-theme-classic
2022-04-21 11:19:33 +02:00
..
src refactor: customize code block line highlight color via CSS var (#7176) 2022-04-21 11:19:33 +02:00
.npmignore misc: convert all internal scripts to ESM (#6286) 2022-01-08 12:59:28 +08:00
babel.config.js refactor: remove Babel plugins that are included in preset-env (#6614) 2022-02-05 16:55:40 +08:00
package.json chore: upgrade dependencies (#7193) 2022-04-17 17:32:41 +08:00
README.md docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
tsconfig.json refactor: enable a few TS flags (#6852) 2022-03-06 13:09:10 +08:00

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