Skip to content

Commit

Permalink
Use same box shadow as ColorIndicator so that there's a border around…
Browse files Browse the repository at this point in the history
… colors

This is so that theme colors that are the same value as the background are more noticeable
  • Loading branch information
ramonjd committed Feb 28, 2024
1 parent b23d64c commit f7b735e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ const StylesPreviewColors = ( { label, isFocused, withHoverView } ) => {
<motion.div
key={ slug }
style={ {
boxShadow:
'inset 0 0 0 1px #0003',
height:
normalizedColorSwatchSize *
ratio,
Expand Down

0 comments on commit f7b735e

Please sign in to comment.