Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(storybook): correct Probe Theme heading outline (#5607)

Cindy Zhangc5c27761a38c
diff --git a/apps/storybook/stories/ProbeTheme.stories.tsx b/apps/storybook/stories/ProbeTheme.stories.tsx
index de32471d03..3f4ca87bf0 100644
--- a/apps/storybook/stories/ProbeTheme.stories.tsx
+++ b/apps/storybook/stories/ProbeTheme.stories.tsx
@@ -67,7 +67,9 @@ function AxisCard({
return (
<Card>
<div {...stylex.props(styles.axisCard)}>
- <Heading level={3}>{title}</Heading>
+ <Heading level={3} accessibilityLevel={2}>
+ {title}
+ </Heading>
{children}
</div>
</Card>
@@ -192,7 +194,9 @@ function AllAxesSheet() {
<AxisCard title="5 · Typography">
<Stack direction="vertical" gap={2}>
- <Heading level={2}>AstryxProbeFace heading</Heading>
+ <Heading level={2} accessibilityLevel={3}>
+ AstryxProbeFace heading
+ </Heading>
<Text type="body">Body text inherits the probe font token.</Text>
<Text type="code">const fontAxis = 'covered';</Text>
</Stack>