Skip to content

Commit

Permalink
Add netral intent to SwirlInlineStatus (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
danizep authored May 21, 2024
1 parent c882ced commit 4fcbedc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/loud-baboons-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@getflip/swirl-components": minor
"@getflip/swirl-components-angular": minor
"@getflip/swirl-components-react": minor
---

Add neutral intent to SwirlInlineStatus
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
}
}

.inline-status--intent-neutral {
color: var(--s-text-subdued);

& .inline-status__icon {
color: var(--s-icon-default);
}
}

.inline-status--intent-success {
color: var(--s-text-success);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ The SwirlInlineStatus component is used to convey status information.
| `--s-text-critical` | Text color of the inline status with intent "critical" |
| `--s-icon-info` | Icon color of the inline status with intent "info" |
| `--s-text-info` | Text color of the inline status with intent "info" |
| `--s-icon-neutral` | Icon color of the inline status with intent "neutral" |
| `--s-text-neutral` | Text color of the inline status with intent "neutral" |
| `--s-icon-success` | Icon color of the inline status with intent "success" |
| `--s-text-success` | Text color of the inline status with intent "success" |
| `--s-icon-warning` | Icon color of the inline status with intent "warning" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { SwirlIconSize } from "../swirl-icon/swirl-icon.types";
export type SwirlInlineStatusIntent =
| "critical"
| "info"
| "neutral"
| "success"
| "warning";

Expand Down
3 changes: 3 additions & 0 deletions packages/swirl-components/vscode-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -11994,6 +11994,9 @@
{
"name": "info"
},
{
"name": "neutral"
},
{
"name": "success"
},
Expand Down

0 comments on commit 4fcbedc

Please sign in to comment.