From e3779a713fc27138ee274da34fc72f448cdd4053 Mon Sep 17 00:00:00 2001 From: Max Korsunov Date: Tue, 10 Dec 2024 17:06:47 +0400 Subject: [PATCH] fix: lint --- packages/ui/src/utils/color.ts | 5 +++++ packages/ui/src/utils/menu-item.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/packages/ui/src/utils/color.ts b/packages/ui/src/utils/color.ts index b7e955c55..4dfa0079f 100644 --- a/packages/ui/src/utils/color.ts +++ b/packages/ui/src/utils/color.ts @@ -62,6 +62,7 @@ export const COLOR_CLASS_MAP: Record = { 'success.dark': ['text-success-dark', 'bg-success-dark'], 'success.contrast': ['text-success-contrast', 'bg-success-contrast'], 'base.black': ['text-base-black', 'bg-base-black'], + 'base.blackAlt': ['text-base-blackAlt', 'bg-base-blackAlt'], 'base.white': ['text-base-white', 'bg-base-white'], 'base.transparent': ['text-base-transparent', 'bg-base-transparent'], 'text.primary': ['text-text-primary', 'bg-text-primary'], @@ -91,6 +92,10 @@ export const COLOR_CLASS_MAP: Record = { 'text-action-destructiveFocusOutline', 'bg-action-destructiveFocusOutline', ], + 'action.successFocusOutline': [ + 'text-action-successFocusOutline', + 'bg-action-successFocusOutline', + ], 'other.tonalStroke': ['text-other-tonalStroke', 'bg-other-tonalStroke'], 'other.tonalFill5': ['text-other-tonalFill5', 'bg-other-tonalFill5'], 'other.tonalFill10': ['text-other-tonalFill10', 'bg-other-tonalFill10'], diff --git a/packages/ui/src/utils/menu-item.ts b/packages/ui/src/utils/menu-item.ts index 063629a6e..2585ecd5e 100644 --- a/packages/ui/src/utils/menu-item.ts +++ b/packages/ui/src/utils/menu-item.ts @@ -11,6 +11,7 @@ const OUTLINE_COLOR_MAP: Record = { accent: cn('[&:focus:not(:disabled)]:outline-action-primaryFocusOutline'), unshield: cn('[&:focus:not(:disabled)]:outline-action-unshieldFocusOutline'), destructive: cn('[&:focus:not(:disabled)]:outline-action-destructiveFocusOutline'), + success: cn('[&:focus:not(:disabled)]:outline-action-successFocusOutline'), }; export const getMenuItem = (actionType: ActionType): string =>