mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Twenty Twenty-Two: Remove color reference from pattern names.
This changeset removes color names from pattern names to make them less opinionated, and avoid mismatching when the user changes related colors. It does not update filenames for now, as they are not directly exposed to end users. Props poena, mukesh27. Fixes #56720. git-svn-id: https://develop.svn.wordpress.org/trunk@55122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ed98f98f2
commit
7db8ca56de
@ -3,7 +3,7 @@
|
||||
* Header with centered logo and black background
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Header with centered logo and black background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Header with centered logo and background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--small, 1.25rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Centered header with navigation, social links, and salmon background block pattern
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Centered header with navigation, social links, and salmon background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Centered header with navigation, social links, and background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"primary","layout":{"inherit":true}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Logo and navigation header with gray background
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Logo and navigation header with gray background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Logo and navigation header with background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"tertiary","textColor":"foreground","layout":{"inherit":true}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Logo, navigation, and social links header with black background block pattern
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Logo, navigation, and social links header with black background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Logo, navigation, and social links header with background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Text-only header with green background block pattern
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Text-only header with green background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Text-only header with background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Text-only header with salmon background block pattern
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Text-only header with salmon background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Text-only header with background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} -->
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
* Text-only header with tagline and black background block pattern
|
||||
*/
|
||||
return array(
|
||||
'title' => __( 'Text-only header with tagline and black background', 'twentytwentytwo' ),
|
||||
'title' => __( 'Text-only header with tagline and background', 'twentytwentytwo' ),
|
||||
'categories' => array( 'header' ),
|
||||
'blockTypes' => array( 'core/template-part/header' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"foreground","textColor":"secondary","layout":{"inherit":true}} -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user