Skip to content

Commit bebc670

Browse files
t-hamanocreativecoder
authored andcommitted
Global Styles: Remove letter-spacing from typography element preview (WordPress#60322)
Co-authored-by: t-hamano <[email protected]> Co-authored-by: creativecoder <[email protected]>
1 parent 990b7b6 commit bebc670

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/edit-site/src/components/global-styles/typography-elements.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ function ElementItem( { parentMenu, element, label } ) {
3131
const [ fontFamily ] = useGlobalStyle( prefix + 'typography.fontFamily' );
3232
const [ fontStyle ] = useGlobalStyle( prefix + 'typography.fontStyle' );
3333
const [ fontWeight ] = useGlobalStyle( prefix + 'typography.fontWeight' );
34-
const [ letterSpacing ] = useGlobalStyle(
35-
prefix + 'typography.letterSpacing'
36-
);
3734
const [ backgroundColor ] = useGlobalStyle( prefix + 'color.background' );
3835
const [ fallbackBackgroundColor ] = useGlobalStyle( 'color.background' );
3936
const [ gradientValue ] = useGlobalStyle( prefix + 'color.gradient' );
@@ -62,7 +59,6 @@ function ElementItem( { parentMenu, element, label } ) {
6259
color,
6360
fontStyle,
6461
fontWeight,
65-
letterSpacing,
6662
...extraStyles,
6763
} }
6864
>

0 commit comments

Comments
 (0)