docusaurus/packages/docusaurus-theme-classic
Devtato 41ef9daafd
feat(theme-classic): allow specifying width/height in logo (#5770)
* feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* fixup! feat: changed the logo properties to allow width/height specification

* Rework: add fields to logo object

* Fix

* More fixes

* Wrong width!

* No need for optional chaining

* Doc writeup

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2021-11-01 18:09:30 +08:00
..
codeTranslations feat(theme-classic): add Serbian Cyrillic translation (#5791) 2021-10-27 11:41:46 +03:00
src feat(theme-classic): allow specifying width/height in logo (#5770) 2021-11-01 18:09:30 +08:00
README.md refactor: rename Git master branch to main (#5345) 2021-08-17 18:41:53 +02:00
babel.config.js
package.json chore: require Node 14 (#5812) 2021-10-28 17:11:25 +02:00
tsconfig.json refactor(theme-classic): completely migrate package to TypeScript (#5459) 2021-09-01 14:34:26 +02:00
update-code-translations.js misc: update base translation + remove extra char (#5639) 2021-10-02 18:36:30 +03:00
update-code-translations.test.js feat: doc tags (same as blog tags) (#3646) 2021-08-19 10:31:15 +02:00

README.md

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