docusaurus/packages/docusaurus-theme-classic
Alexey Pyltsyn 37dff050ce
fix(v2): switch a toggle when system theme changed (#2325)
* fix(v2): switch a toggle when system theme changed

* fix: add check on disabled dark mode
2020-02-27 10:14:20 +08:00
..
src fix(v2): switch a toggle when system theme changed (#2325) 2020-02-27 10:14:20 +08:00
package-lock.json v2.0.0-alpha.43 2020-02-18 18:54:39 +08:00
package.json v2.0.0-alpha.43 2020-02-18 18:54:39 +08:00
README.md docs(v2) themes (#1645) 2019-07-26 12:00:40 +07: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