Skip to content

Commit

Permalink
refactor: use interactive token
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 15, 2024
1 parent 3cffc4a commit 24625ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/blade/src/components/Chip/chipTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ const getChipInputHoverTokens = (color: ChipGroupProps['color']): SelectorInputH
return {
default: {
background: {
checked: 'colors.surface.background.gray.intense',
unchecked: 'colors.surface.background.gray.intense',
checked: 'colors.interactive.background.staticWhite.default',
unchecked: 'colors.interactive.background.staticWhite.default',
},
border: {
checked: `colors.${chipColorTokens.border[color || 'default'].hover}` as never,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getAnimatedChipStyles = ({
return {
backgroundColor: isDisabled
? 'transparent'
: getIn(theme.colors, 'surface.background.gray.intense'),
: getIn(theme.colors, 'interactive.background.staticWhite.default'),
borderRadius: makeBorderSize(theme.border.radius.max),
borderColor: getIn(theme.colors, borderColor),
borderWidth: getIn(theme, 'border.width.thin'),
Expand Down

0 comments on commit 24625ea

Please sign in to comment.