docusaurus/packages/docusaurus-theme-classic
Sébastien Lorber 2a72c64581
fix: toc does not highlight clicked anchor + use scroll-margin-top (#5425)
* fix toc highlighting anchorTopOffset issues

* fix comment

* use ternary

* revert to previous offset
2021-08-26 16:50:40 +02:00
..
codeTranslations feat: make blog config options and navbar versions dropdown label translatable (#5371) 2021-08-20 17:11:59 +02:00
src fix: toc does not highlight clicked anchor + use scroll-margin-top (#5425) 2021-08-26 16:50:40 +02:00
babel.config.js feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (#3325) 2020-11-26 12:16:46 +01:00
package.json refactor: make main heading size changeable via CSS var (#5377) 2021-08-19 17:25:34 +02:00
README.md refactor: rename Git master branch to main (#5345) 2021-08-17 18:41:53 +02:00
tsconfig.json feat(v2): allow any type of NavbarItem to be passed in a navbar dropdown (#5072) 2021-07-14 18:19:08 +02:00
update-code-translations.js feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00
update-code-translations.test.js feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +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