Skip to content

Commit

Permalink
fix(entity-status-badge): use secondary variant for Archived (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer committed Apr 4, 2023
1 parent 70a1c5d commit 672e1be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/beige-experts-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@contentful/f36-badge": patch
---

fix(entity-status-badge): use secondary Badge variant for Archived
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { BadgeVariant } from '../types';
const statusMap: { [key in EntityStatus]: BadgeVariant } = {
published: 'positive',
draft: 'warning',
archived: 'negative',
archived: 'secondary',
changed: 'primary',
deleted: 'negative',
new: 'primary-filled',
Expand Down

1 comment on commit 672e1be

@vercel
Copy link

@vercel vercel bot commented on 672e1be Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.