[wp-trac] [WordPress Trac] #45040: Twenty Twelve: Update theme to add Gutenberg styles and support

WordPress Trac noreply at wordpress.org
Mon Oct 22 23:17:58 UTC 2018


#45040: Twenty Twelve: Update theme to add Gutenberg styles and support
------------------------------+----------------------------
 Reporter:  laurelfulford     |       Owner:  laurelfulford
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  5.0
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------------
Changes (by davidakennedy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43795" 43795]:
 {{{
 #!CommitTicketReference repository="" revision="43795"
 Twenty Twelve: Add styles and support for the new block-based editor.

 This update adds styles and theme support related to the new block-based
 editor to enhance the experience of using it with Twenty Twelve.

 These are the specific changes made to this theme:

 * Add blocks.css, to style blocks on the front end, to make sure they
 match the theme’s existing HTML element styles.
 * Add editor-blocks.css to style blocks in the editor, to make sure they
 match the theme’s existing HTML element styles.
 * Add theme support for `editor-styles`, to pull the existing editor
 stylesheet into the new editor.
 * Add theme support for `wp-block-styles`, to load the default block
 styles on the front end.
 * Add theme support for `editor-color-palette`, to load a color palette
 based on the theme’s color scheme into the block-based editor.

 Props ianbelanger, crunnells, laurelfulford.
 Fixes #45040.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45040#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list