Skip to content

Commit

Permalink
Global Styles: Remove letter-spacing from typography element preview
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jul 2, 2024
1 parent c56aa97 commit 6aa7d41
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ function ElementItem( { parentMenu, element, label } ) {
const [ fontFamily ] = useGlobalStyle( prefix + 'typography.fontFamily' );
const [ fontStyle ] = useGlobalStyle( prefix + 'typography.fontStyle' );
const [ fontWeight ] = useGlobalStyle( prefix + 'typography.fontWeight' );
const [ letterSpacing ] = useGlobalStyle(
prefix + 'typography.letterSpacing'
);
const [ backgroundColor ] = useGlobalStyle( prefix + 'color.background' );
const [ fallbackBackgroundColor ] = useGlobalStyle( 'color.background' );
const [ gradientValue ] = useGlobalStyle( prefix + 'color.gradient' );
Expand Down Expand Up @@ -62,7 +59,6 @@ function ElementItem( { parentMenu, element, label } ) {
color,
fontStyle,
fontWeight,
letterSpacing,
...extraStyles,
} }
>
Expand Down

0 comments on commit 6aa7d41

Please sign in to comment.