We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10cfbf commit 57ad685Copy full SHA for 57ad685
.changeset/big-nails-marry.md
@@ -0,0 +1,5 @@
1
+---
2
+"docusaurus-theme-redoc": patch
3
4
+
5
+fix(theme): Use heading specific CSS variables
packages/docusaurus-theme-redoc/src/redocData.ts
@@ -56,9 +56,9 @@ const COMMON_THEME: RedocThemeOverrides = {
56
fontWeightRegular: 'var(--ifm-font-weight-base)',
57
fontWeightBold: 'var(--ifm-font-weight-bold)',
58
headings: {
59
- fontFamily: 'var(--ifm-font-family-base)',
60
- fontWeight: 'var(--ifm-font-weight-semibold)',
61
- lineHeight: 'var(--ifm-line-height-base)',
+ fontFamily: 'var(--ifm-heading-font-family)',
+ fontWeight: 'var(--ifm-heading-font-weight)',
+ lineHeight: 'var(--ifm-heading-line-height)',
62
},
63
code: {
64
fontFamily: 'var(--ifm-font-family-monospace)',
0 commit comments