[wp-trac] [WordPress Trac] #57245: Twenty Twenty-Three: Aubergine has wrong gradient values

WordPress Trac noreply at wordpress.org
Thu Dec 1 13:35:19 UTC 2022


#57245: Twenty Twenty-Three: Aubergine has wrong gradient values
--------------------------+-----------------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The Aubergine theme has invalid gradient values in the json definition and
 an error is displayed in the browser console.


 {{{
 Warning: Style property values shouldn't contain a semicolon. Try
 "background: linear-gradient(90deg, var(--wp--preset--color--tertiary)
 5.74%, var(--wp--preset--color--primary) 100%)" instead.
 }}}


 {{{
 Warning: Style property values shouldn't contain a semicolon. Try
 "background: linear-gradient(90deg, var(--wp--preset--color--primary)
 5.74%, var(--wp--preset--color--tertiary) 100%)" instead.
 }}}

 Note that even after correcting this issue, the palette preview appears to
 deviate from the actual style in the Global Style Editor's Gradient
 palette because the CSS variables are not properly referenced.

 I think this issue should be fixed separately on the Gutenberg side.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57245>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list