Skip to content

Commit 4d55623

Browse files
committed
5.4 Gutenberg fixes
1 parent b53e7a3 commit 4d55623

File tree

10 files changed

+66
-20
lines changed

10 files changed

+66
-20
lines changed

functions.php

+18-10
Original file line numberDiff line numberDiff line change
@@ -721,36 +721,44 @@ function plate_theme_support() {
721721
// .alignwide styles added to _768up
722722
add_theme_support( 'align-wide' );
723723

724-
add_theme_support( 'editor-color-palette',
724+
add_theme_support( 'editor-color-palette', array(
725725
array(
726-
'name' => 'studio bio blue',
726+
'name' => __( 'studio bio blue', 'platetheme' ),
727+
'slug' => 'studio-bio-blue',
727728
'color' => '#0056ac',
728729
),
729730
array(
730-
'name' => 'studio bio light blue',
731+
'name' => __( 'studio bio light blue', 'platetheme' ),
732+
'slug' => 'studio-bio-light-blue',
731733
'color' => '#99bbde',
732734
),
733735
array(
734-
'name' => 'studio bio midnight',
736+
'name' => __( 'studio bio midnight', 'platetheme' ),
737+
'slug' => 'studio-bio-midnight',
735738
'color' => '#001c3a',
736739
),
737740
array(
738-
'name' => 'studio bio purple',
741+
'name' => __( 'studio bio purple', 'platetheme' ),
742+
'slug' => 'studio-bio-purple',
739743
'color' => '#cc0099',
740744
),
741745
array(
742-
'name' => 'studio bio red',
746+
'name' => __( 'studio bio red', 'platetheme' ),
747+
'slug' => 'studio-bio-red',
743748
'color' => '#f23e2f',
744749
),
745750
array(
746-
'name' => 'grey 70',
751+
'name' => __( 'grey 70', 'platetheme' ),
752+
'slug' => 'grey-70',
747753
'color' => '#444444',
748754
),
749755
array(
750-
'name' => 'grey 20',
756+
'name' => __( 'grey 20', 'platetheme' ),
757+
'slug' => 'grey-20',
751758
'color' => '#cccccc',
752-
)
753-
);
759+
),
760+
) );
761+
754762

755763
// Adds responsive embeds to Gutenberg blocks
756764
add_theme_support( 'responsive-embeds' );

library/css/editor-style.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

library/css/editor.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

library/css/ie.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)