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
…60322)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: creativecoder <grantmkin@git.wordpress.org>
  • Loading branch information
3 people authored Jul 4, 2024
1 parent b377722 commit 39e5a70
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

1 comment on commit 39e5a70

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 39e5a70.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9788936006
📝 Reported issues:

Please sign in to comment.