Skip to content

Commit ed76e2a

Browse files
authored
feat: add yellow color for the Badge component (#2376)
1 parent 8a0e350 commit ed76e2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/badge.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Badges support multiple color variants to convey different meanings.
2323
<Badge color="gray">Badge</Badge>
2424
<Badge color="blue">Badge</Badge>
2525
<Badge color="green">Badge</Badge>
26+
<Badge color="yellow">Badge</Badge>
2627
<Badge color="orange">Badge</Badge>
2728
<Badge color="red">Badge</Badge>
2829
<Badge color="purple">Badge</Badge>
@@ -35,6 +36,7 @@ Badges support multiple color variants to convey different meanings.
3536
<Badge color="gray">Badge</Badge>
3637
<Badge color="blue">Badge</Badge>
3738
<Badge color="green">Badge</Badge>
39+
<Badge color="yellow">Badge</Badge>
3840
<Badge color="orange">Badge</Badge>
3941
<Badge color="red">Badge</Badge>
4042
<Badge color="purple">Badge</Badge>
@@ -141,7 +143,7 @@ Combine multiple properties for custom badge styles.
141143
<ResponseField name="color" type="string" default="gray">
142144
Badge color variant.
143145

144-
Options: `gray`, `blue`, `green`, `orange`, `red`,
146+
Options: `gray`, `blue`, `green`, `yellow`, `orange`, `red`,
145147
`purple`, `white`, `surface`, `white-destructive`, `surface-destructive`.
146148
</ResponseField>
147149

0 commit comments

Comments
 (0)