mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 11:22:30 +02:00
feat(v2): add unique page/wrapper className to each theme pages (#4511)
* chore: add theme classnames for blog pages * fix: component syntax error in blog pages * style: fix camelcase issue with theme class names * chore: add theme classnames for doc page and mdx page * chore: make wrapper classnames in blog and doc page into constants * chore: add main wrapper theme class name for layout component * fix: change wrong theme classnames and improve naming * chore: add wrapper theme class name for mdx page * docs: add docs for theme class names * docs: use raw-loader to import documentation and add some comments * docs: provide more detail to comment * chore: rename ThemeClassname.ts to ThemeClassName.ts Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com> Co-authored-by: Javid <singularity.javid@gmail.com>
This commit is contained in:
parent
db79d462ab
commit
cd47d8a815
11 changed files with 67 additions and 10 deletions
|
@ -38,3 +38,5 @@ export {
|
|||
} from './utils/docsPreferredVersion/useDocsPreferredVersion';
|
||||
|
||||
export {DocsPreferredVersionContextProvider} from './utils/docsPreferredVersion/DocsPreferredVersionProvider';
|
||||
|
||||
export {ThemeClassNames} from './utils/ThemeClassNames';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue