Skip to content

Commit 7c8d788

Browse files
fix(semanticTokens): fix values for the complementary color "outline" values
1 parent ab83cc8 commit 7c8d788

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/@chakra-ui/gatsby-plugin/semanticTokens.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ const semanticTokens = {
6868
attention: {
6969
base: "yellow.500",
7070
light: "yellow.200",
71-
outline: { _light: "attention", _dark: "attention.light" },
71+
outline: { _light: "attention.base", _dark: "attention.light" },
7272
},
7373
// ? Keep "error" or rename to "fail" ?
7474
error: {
7575
base: "red.500",
7676
light: "red.100",
77-
outline: { _light: "error", _dark: "error.light" },
77+
outline: { _light: "error.base", _dark: "error.light" },
7878
// ! Deprecating errorNeutral
7979
neutral: { _light: "red.100", _dark: "red.900" },
8080
},
8181
success: {
8282
base: "green.500",
8383
light: "green.100",
84-
outline: { _light: "success", _dark: "success.light" },
84+
outline: { _light: "success.base", _dark: "success.light" },
8585
// ! Deprecating success.neutral
8686
neutral: { _light: "green.100", _dark: "green.900" },
8787
},

0 commit comments

Comments
 (0)