refactor(ui): replace hardcoded colors with semantic tokens (#2749)

This commit is contained in:
Ephraim Duncan
2026-05-19 04:19:31 +00:00
committed by GitHub
parent 9e0b567686
commit 247a0158bd
19 changed files with 31 additions and 34 deletions
@@ -41,7 +41,7 @@ export const CopyTextButton = ({
<Button
type="button"
variant="none"
className="ml-2 h-7 rounded border bg-neutral-50 px-0.5 font-normal dark:border dark:border-neutral-500 dark:bg-neutral-600"
className="ml-2 h-7 rounded-md border-border bg-muted px-0.5 font-normal"
onClick={async () => onCopy()}
>
<AnimatePresence mode="wait" initial={false}>
@@ -56,7 +56,7 @@ export const CopyTextButton = ({
<div
className={cn(
'flex h-6 w-6 items-center justify-center rounded transition-all hover:bg-neutral-200 hover:active:bg-neutral-300 dark:hover:bg-neutral-500 dark:hover:active:bg-neutral-400',
'flex h-6 w-6 items-center justify-center rounded transition-all hover:bg-muted-foreground/10 hover:active:bg-muted-foreground/20',
{
'ml-1': Boolean(badgeContentCopied || badgeContentUncopied),
},