docusaurus/packages/docusaurus-theme-classic
Sébastien Lorber 0f7552accb
feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (#8708)
2023-03-03 12:54:35 +01:00
..
src feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (#8708) 2023-03-03 12:54:35 +01: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 feat(theme-classic): respect `prefers-reduced-motion: reduce` mediaquery, bump Infima to alpha.43 (#8674) 2023-02-17 13:03:38 +01: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