docusaurus/packages/docusaurus-theme-classic
Markshawn f6835898bc
chore: fix CSS import order ESLint rule (#7852)
* enhance: added ESLint ruler for CSS import

* chore: added ruler for default import of css, and fixed all exsting files

* chore: reverted changes on css header rulers
2022-08-01 00:05:00 +08:00
..
src chore: fix CSS import order ESLint rule (#7852) 2022-08-01 00:05:00 +08:00
.npmignore refactor(theme-classic): migrate to tsc for build (#7447) 2022-05-18 20:08:09 +08:00
README.md docs: audit grammar issues (#6203) 2021-12-27 19:34:04 +08:00
package.json chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
tsconfig.client.json refactor(theme-classic): migrate to tsc for build (#7447) 2022-05-18 20:08:09 +08:00
tsconfig.json chore: upgrade to TS 4.7, compile with NodeNext (#7586) 2022-06-15 19:15:11 +02: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