Skip to content

Commit

Permalink
fix(snapshots): fix test snapshots and a11y errors
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Nov 22, 2024
1 parent adbc85f commit df250b3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/components/src/core/Chip/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit df250b3

Please sign in to comment.