Skip to content

Commit 4ead76d

Browse files
committed
Add description of our color collections so it's clearer when they can be used
1 parent c2b0b44 commit 4ead76d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/docs/foundation/collections.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ used to ensure consistency across the design system.
1717
The following color names are designed for use in components that support the
1818
`color` prop:
1919

20-
| Collection | Available values |
21-
|------------|--------------------------------------------------------|
22-
| Action | `primary`, `secondary`, `selected` |
23-
| Feedback | `success`, `warning`, `danger`, `info`, `help`, `note` |
24-
| Neutral | `light`, `dark` |
20+
| Collection | Available values | Description |
21+
|------------|--------------------------------------------------------|----------------------------------------------------------------------------------|
22+
| Action | `primary`, `secondary`, `selected` | Reserved for actionable elements, such as buttons and navigation links |
23+
| Feedback | `success`, `warning`, `danger`, `info`, `help`, `note` | For components with feedback state, such as alerts and badges |
24+
| Neutral | `light`, `dark` | For components that require a neutral background color, such as cards and badges |

0 commit comments

Comments
 (0)