[WEB-5809] refactor: tailwind config inline variables (#8437)

This commit is contained in:
Aaryan Khandelwal 2025-12-26 16:36:29 +05:30 committed by GitHub
parent e3ba7c2889
commit 92ac28fcb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
169 changed files with 1273 additions and 1130 deletions

View file

@ -147,7 +147,7 @@ export function CreateApiTokenForm(props: Props) {
/>
)}
/>
{errors.label && <span className="text-11 text-red-500">{errors.label.message}</span>}
{errors.label && <span className="text-11 text-danger-primary">{errors.label.message}</span>}
</div>
<Controller
control={control}

View file

@ -31,14 +31,14 @@ export function ApiTokenListItem(props: Props) {
className="absolute right-4 hidden place-items-center group-hover:grid"
data-ph-element={PROFILE_SETTINGS_TRACKER_ELEMENTS.LIST_ITEM_DELETE_ICON}
>
<XCircle className="h-4 w-4 text-red-500" />
<XCircle className="h-4 w-4 text-danger-primary" />
</button>
</Tooltip>
<div className="flex w-4/5 items-center">
<h5 className="truncate text-13 font-medium">{token.label}</h5>
<span
className={`${
token.is_active ? "bg-green-500/10 text-green-500" : "bg-layer-1 text-placeholder"
token.is_active ? "bg-success-primary 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"}