Skip to content

Commit

Permalink
fix Body Weights section
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Oct 15, 2024
1 parent 66737ca commit 4bd0853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/yellow-moose-push.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@sumup-oss/eslint-plugin-circuit-ui": major
"@sumup-oss/circuit-ui": major
---

Added a semibold weight option to the Body and the Compact components. Added the `weight` prop to the Display component. Removed the `weight` prop from the Numeral component and changed its default font weight to semibold.
4 changes: 2 additions & 2 deletions packages/circuit-ui/components/Body/Body.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ The Body component comes in three weights. Use the default `regular` weight in m

<Story of={Stories.Weights} />

### Weights
### Decorations

The Body component comes in two styles. Use the `as` prop to render the component as the `em` or `del` HTML elements if appropriate.

<Story of={Stories.Weights} />
<Story of={Stories.Decorations} />

### Colors

Expand Down

0 comments on commit 4bd0853

Please sign in to comment.