[WEB-5809] refactor: tailwind config inline variables (#8437)
This commit is contained in:
parent
e3ba7c2889
commit
92ac28fcb8
169 changed files with 1273 additions and 1130 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue