[wp-trac] [WordPress Trac] #63381: Simplify gradient color specifications from rgba to rgb in theme.json
WordPress Trac
noreply at wordpress.org
Tue May 13 14:49:00 UTC 2025
#63381: Simplify gradient color specifications from rgba to rgb in theme.json
---------------------------------------------+-----------------------------
Reporter: georgestephanis | Owner:
| georgestephanis
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Editor | Version: trunk
Severity: minor | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: coding-
| standards
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"60234" 60234]:
{{{
#!CommitTicketReference repository="" revision="60234"
Coding Standards: Simplify gradient color specifications in `theme.json`.
`rgba(#,#,#,1)` is equivalent to `rgb(#,#,#)` and can be replaced with the
latter for more consistency.
Original PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/70008 #70008 Simplify color
specifications from rgba to rgb]
Follow-up to [50959], [55405].
Props georgestephanis, wildworks, juanfra.
Fixes #63381.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63381#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list