regression: red and green color backgrounds (#8456)

This commit is contained in:
Aaryan Khandelwal 2025-12-26 19:17:03 +05:30 committed by GitHub
parent 2980c2d76b
commit 6cc5c1946a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 86 additions and 177 deletions

View file

@ -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"}