regression: red and green color backgrounds (#8456)
This commit is contained in:
parent
2980c2d76b
commit
6cc5c1946a
42 changed files with 86 additions and 177 deletions
|
|
@ -38,7 +38,7 @@ export function ApiTokenListItem(props: Props) {
|
|||
<h5 className="truncate text-13 font-medium">{token.label}</h5>
|
||||
<span
|
||||
className={`${
|
||||
token.is_active ? "bg-success-primary text-success-primary" : "bg-layer-1 text-placeholder"
|
||||
token.is_active ? "bg-success-subtle text-success-primary" : "bg-layer-1 text-placeholder"
|
||||
} ml-2 flex h-4 max-h-fit items-center rounded-xs px-2 text-11 font-medium`}
|
||||
>
|
||||
{token.is_active ? "Active" : "Expired"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue