mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 18:32:52 +02:00
* 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 |
||
---|---|---|
.. | ||
codeTranslations | ||
src | ||
babel.config.js | ||
package.json | ||
README.md | ||
tsconfig.json | ||
update-code-translations.js | ||
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