Skip to content

Commit

Permalink
Remove deprecated util. (#61120)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola authored Apr 30, 2024
1 parent c3d9d98 commit 694447d
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import styled from '@emotion/styled';
/**
* Internal dependencies
*/
import { CONFIG, COLORS, reduceMotion } from '../../utils';
import { CONFIG, COLORS } from '../../utils';
import type {
ToggleGroupControlProps,
ToggleGroupControlOptionBaseProps,
Expand Down Expand Up @@ -50,11 +50,12 @@ export const buttonView = ( {
padding: 0 12px;
position: relative;
text-align: center;
transition:
background ${ CONFIG.transitionDurationFast } linear,
color ${ CONFIG.transitionDurationFast } linear,
font-weight 60ms linear;
${ reduceMotion( 'transition' ) }
@media not ( prefers-reduced-motion ) {
transition:
background ${ CONFIG.transitionDurationFast } linear,
color ${ CONFIG.transitionDurationFast } linear,
font-weight 60ms linear;
}
user-select: none;
width: 100%;
z-index: 2;
Expand Down

0 comments on commit 694447d

Please sign in to comment.