Skip to content

Commit

Permalink
[@mantine/core] MutiSelect: Fix error placeholder not respecting `the…
Browse files Browse the repository at this point in the history
…me.primaryShade` (#4113)
  • Loading branch information
Cuzart committed Apr 25, 2023
1 parent e21da28 commit 79e5696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/MultiSelect/MultiSelect.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default createStyles((theme, { invalid }: MultiSelectStylesParams, { size
'&::placeholder': {
opacity: 1,
color: invalid
? theme.colors.red[theme.colorScheme === 'dark' ? 6 : 7]
? theme.colors.red[theme.fn.primaryShade()]
: theme.colorScheme === 'dark'
? theme.colors.dark[3]
: theme.colors.gray[5],
Expand Down

0 comments on commit 79e5696

Please sign in to comment.