Skip to content

Commit

Permalink
BREAKING CHANGE(web-twig): Remove action colors from Pill #DS-1446
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Sep 17, 2024
1 parent 8c9095d commit 072a0e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/web-twig/src/Resources/components/Pill/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Without lexer:

## API

| Name | Type | Default | Required | Description |
| ------------- | --------------------------------------------------------------------------------------------------------------------------- | ---------- | -------- | ------------------ |
| `color` | [[Action Color dictionary][dictionary-color] \| [Emotion Color dictionary][dictionary-color] \| `selected` \| `unselected`] | `selected` || Color variant |
| `elementType` | `string` | `span` || HTML tag to render |
| Name | Type | Default | Required | Description |
| ------------- | ------------------------------------------------------------------------- | ---------- | -------- | ------------------ |
| `color` | [[Emotion Color dictionary][dictionary-color] \| `selected` \| `neutral`] | `selected` || Color variant |
| `elementType` | `string` | `span` || HTML tag to render |

On top of the API options, the components accept [additional attributes][readme-additional-attributes].
If you need more control over the styling of a component, you can use [style props][readme-style-props]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set colors = [
'primary', 'secondary', 'tertiary', 'inverted', 'selected', 'unselected', 'success', 'informative', 'warning', 'danger'
'selected', 'neutral', 'success', 'informative', 'warning', 'danger'
] %}

{% for color in colors %}
Expand Down

0 comments on commit 072a0e7

Please sign in to comment.