Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2026-01-23 22:58:51 +00:00
parent 8adc108bc7
commit 1df8ef4a47
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -38,12 +38,12 @@ export function Theming({ definition }: ThemingProps) {
...Object.values(classNames).slice(1),
];
// Use the same styled components from MDX
const H2 = formattedMDXComponents.h2!;
const P = formattedMDXComponents.p!;
const Ul = formattedMDXComponents.ul!;
const Li = formattedMDXComponents.li!;
const Code = formattedMDXComponents.code!;
// Use the same styled components from MDX, with fallbacks to HTML elements
const H2 = formattedMDXComponents.h2 || 'h2';
const P = formattedMDXComponents.p || 'p';
const Ul = formattedMDXComponents.ul || 'ul';
const Li = formattedMDXComponents.li || 'li';
const Code = formattedMDXComponents.code || 'code';
return (
<div>
+1 -1
View File
@@ -532,7 +532,7 @@
**Affected components:** VisuallyHidden
- 00bfb83: Fix default font wight and font family in Backstage UI.
- 00bfb83: Fix default font weight and font family in Backstage UI.
## 0.9.0-next.3