From df250b3d81eaace3c45cc4fded6b531a83890741 Mon Sep 17 00:00:00 2001 From: Masoud Amjadi Date: Fri, 22 Nov 2024 17:34:07 -0500 Subject: [PATCH] fix(snapshots): fix test snapshots and a11y errors --- packages/components/src/core/Chip/style.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/components/src/core/Chip/style.ts b/packages/components/src/core/Chip/style.ts index 7f9269ec7..9130198b2 100644 --- a/packages/components/src/core/Chip/style.ts +++ b/packages/components/src/core/Chip/style.ts @@ -122,27 +122,27 @@ function createStatusCss( const statusToColors = { beta: { dark: semanticColors?.beta?.text, - light: semanticColors?.beta?.surfacePrimary, + light: semanticColors?.beta?.surfaceSecondary, }, error: { dark: semanticColors?.negative?.text, - light: semanticColors?.negative?.surfacePrimary, + light: semanticColors?.negative?.surfaceSecondary, }, info: { dark: semanticColors?.info?.text, - light: semanticColors?.info?.surfacePrimary, + light: semanticColors?.info?.surfaceSecondary, }, pending: { dark: semanticColors?.neutral?.text, - light: semanticColors?.neutral?.surfacePrimary, + light: semanticColors?.neutral?.surfaceSecondary, }, success: { dark: semanticColors?.positive?.text, - light: semanticColors?.positive?.surfacePrimary, + light: semanticColors?.positive?.surfaceSecondary, }, warning: { dark: colors?.yellow[700], - light: semanticColors?.notice?.surfacePrimary, + light: semanticColors?.notice?.surfaceSecondary, }, };