[wp-trac] [WordPress Trac] #57354: Add outline support for blocks via theme.json (was: Backport: outline support for blocks via theme.json)

WordPress Trac noreply at wordpress.org
Mon Jan 30 15:39:37 UTC 2023


#57354: Add outline support for blocks via theme.json
-------------------------------------------------+-------------------------
 Reporter:  onemaggie                            |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info commit                            |
-------------------------------------------------+-------------------------
Description changed by hellofromTonya:

Old description:

> This PR backports the changes from
> https://github.com/WordPress/gutenberg/pull/43526 that were missing on
> the 6.1 release.
>
> This adds the outline property as an option to include in theme.json

New description:

 Adds the ability to define outline CSS properties for elements and blocks
 within theme.json to render `outline-color`, `outline-offset`, `outline-
 style`, and `outline-width styles`.

 Reference:
 * https://github.com/WordPress/gutenberg/pull/43526

 Note: this enhancement was missed during the 6.1 release.

--

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


More information about the wp-trac mailing list