[wp-trac] [WordPress Trac] #45045: Twenty Seventeen: Update theme to add Gutenberg styles and support
WordPress Trac
noreply at wordpress.org
Mon Oct 8 18:55:13 UTC 2018
#45045: Twenty Seventeen: Update theme to add Gutenberg styles and support
----------------------------+----------------------------
Reporter: laurelfulford | Owner: laurelfulford
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.0
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+----------------------------
Comment (by laurelfulford):
I took a first pass at updating Twenty Seventeen to include Gutenberg
styles in [attachment:"45045.patch"] . This patch:
* Adds separate stylesheets for the front-end and editor block styles. The
order of the stylesheets right now matches the order of the blocks in the
editor itself, sorted under the same headers (Common Blocks, Formatting,
etc).
* Enqueues the block styles to the front end, and the editor styles and
theme's fonts into the editor.
* Adds a basic implementation of the editor colours, based on what's used
in the theme's default palette.
The styles still need some work, and I'll continue to test and make
updates for the next version of this patch. But I wanted to share this
sooner than later to make sure the overall approach makes sense for the
default themes overall. If anything stands out as confusing or incorrect,
or if anyone has suggestions for improvements, please share!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45045#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list