Skip to content

Commit

Permalink
Global Styles: Remove preset headers (#59504)
Browse files Browse the repository at this point in the history
This should have been part of #56622
  • Loading branch information
scruffian authored Mar 7, 2024
1 parent a781580 commit 66a14b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ import {
__experimentalGrid as Grid,
__experimentalVStack as VStack,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';

/**
* Internal dependencies
*/
import Subtitle from '../subtitle';
import Variation from './variation';
import StylesPreviewColors from '../preview-colors';
import { useCurrentMergeThemeStyleVariationsWithUserConfig } from '../../../hooks/use-theme-style-variations/use-theme-style-variations-by-property';
Expand All @@ -29,7 +27,6 @@ export default function ColorVariations() {

return (
<VStack spacing={ 3 }>
<Subtitle level={ 3 }>{ __( 'Presets' ) }</Subtitle>
<Grid columns={ 3 }>
{ colorVariations.map( ( variation, index ) => (
<Variation key={ index } variation={ variation }>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
__experimentalGrid as Grid,
__experimentalVStack as VStack,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';

/**
Expand All @@ -17,7 +16,6 @@ import { unlock } from '../../../lock-unlock';
import { useCurrentMergeThemeStyleVariationsWithUserConfig } from '../../../hooks/use-theme-style-variations/use-theme-style-variations-by-property';
import TypographyExample from '../typography-example';
import PreviewIframe from '../preview-iframe';
import Subtitle from '../subtitle';
import { getFontFamilies } from '../utils';
import Variation from './variation';

Expand Down Expand Up @@ -68,7 +66,6 @@ export default function TypographyVariations() {

return (
<VStack spacing={ 3 }>
<Subtitle level={ 3 }>{ __( 'Presets' ) }</Subtitle>
<Grid
columns={ 3 }
className="edit-site-global-styles-style-variations-container"
Expand Down

0 comments on commit 66a14b5

Please sign in to comment.