We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7c4e7 commit d234ac1Copy full SHA for d234ac1
packages/components/src/color-picker/styles.ts
@@ -91,6 +91,16 @@ export const ColorfulWrapper = styled.div`
91
92
// Shown instead of box-shadow to Windows high contrast mode.
93
outline: 2px solid transparent;
94
+
95
+ @media not ( prefers-reduced-motion ) {
96
+ transition: transform ${ CONFIG.transitionDurationFast } ease-in-out;
97
+ }
98
99
100
+ .react-colorful__interactive:focus .react-colorful__pointer {
101
+ box-shadow: 0 0 0 ${ CONFIG.borderWidthFocus } ${ CONFIG.surfaceColor };
102
+ border: ${ CONFIG.borderWidthFocus } solid black;
103
+ transform: translate( -50%, -50% ) scale( 1.5 );
104
}
105
106
.react-colorful__pointer-fill {
0 commit comments