Skip to content

Commit

Permalink
Comment explaining color indicator styling choice
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Mar 16, 2022
1 parent 1782b43 commit b17da1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/components/src/border-control/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ export const ColorIndicatorWrapper = ( border?: Border ) => {
height: 28px;
padding: 2px;
/* ColorIndicator */
/*
* ColorIndicator
*
* The transparent colors used here ensure visibility of the indicator
* over the active state of the border control dropdown's toggle button.
*/
& > span {
background: linear-gradient(
-45deg,
Expand Down

0 comments on commit b17da1a

Please sign in to comment.