[wp-trac] [WordPress Trac] #61135: Global styles: output :root selector for CSS custom properties gutenberg and remove unused vars

WordPress Trac noreply at wordpress.org
Fri May 3 03:52:31 UTC 2024


#61135: Global styles: output :root selector for CSS custom properties gutenberg
and remove unused vars
-------------------------------------------------+-------------------------
 Reporter:  ramonopoly                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge                                          |
-------------------------------------------------+-------------------------
Changes (by ramonopoly):

 * keywords:  has-patch => has-patch has-unit-tests gutenberg-merge


Old description:

> A ticket to track the synching of the following Gutenberg PRs:
>
> [https://github.com/WordPress/gutenberg/pull/42084 Global styles: output
> :root selector for CSS custom properties]
>
> [https://github.com/WordPress/gutenberg/pull/59938 Theme JSON: remove
> unused vars in layout class]

New description:

 A ticket to track the synching of the following Gutenberg PRs:

 [https://github.com/WordPress/gutenberg/pull/42084 Global styles: output
 :root selector for CSS custom properties]

 Changing`body` to `:root` as the preset block selector to make it
 consistent with other CSS custom property blocks

 [https://github.com/WordPress/gutenberg/pull/59938 Theme JSON: remove
 unused vars in layout class]

 `$has_block_gap_support` was only used once
 `$block_gap_value` is immediately overwritten in the subsequent `if` block

--

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


More information about the wp-trac mailing list