docusaurus/packages/docusaurus-theme-classic
Sébastien Lorber dc4664b489
feat: details/summary theme / MDX component (#5216)
* Details component

* polish arrow animation

* fix text selection bug

* fix some edge cases + polish

* example of overriding baseClassName

* Move Details component to theme-common

* make component work even when JS is disabled or failed to load

* update arrow transform

* Details component: better handling of no-JS fallback mode: avoid delaying arrow navigation when JS (see review)

* prefix css vars with --docusaurus

* improve css arrow styling

* slightly change details/summary design

* better md doc + include quotes and details in doc
2021-07-27 18:45:12 +02:00
..
codeTranslations refactor(v2): update Russian translation (#5224) 2021-07-27 16:00:11 +02:00
src feat: details/summary theme / MDX component (#5216) 2021-07-27 18:45:12 +02:00
babel.config.js
package.json chore(v2): update Infima to alpha 28 (#5222) 2021-07-27 16:09:20 +02:00
README.md
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(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00
update-code-translations.test.js

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