Skip to content

Commit

Permalink
fix broken vrt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Jun 20, 2024
1 parent 4b5eb67 commit 5f8fc7e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ export const ColorSwatches = ({colorToken}: {colorToken: string}) => {
<ColorTokenSwatch
size="large"
bgColor={
colorToken.includes('bgColor') || colorToken.includes('color') || colorToken.includes('fgColor')
colorToken.includes('bgColor') ||
colorToken.includes('color') ||
colorToken.includes('fgColor') ||
colorToken.includes('iconColor')
? colorToken
: undefined
}
shadowColor={colorToken.includes('shadow') ? colorToken : undefined}
borderColor={colorToken.includes('borderColor') ? colorToken : undefined}
outlineColor={colorToken.includes('outline') ? colorToken : undefined}
outlineColor={colorToken.includes('outline') && !colorToken.includes('borderColor') ? colorToken : undefined}
/>
</div>
)
Expand Down

0 comments on commit 5f8fc7e

Please sign in to comment.