[wp-trac] [WordPress Trac] #57167: Twenty Twenty-Three: Replace base and contrast color names with ref values

WordPress Trac noreply at wordpress.org
Mon Mar 25 10:08:06 UTC 2024


#57167: Twenty Twenty-Three: Replace base and contrast color names with ref values
-----------------------------------+------------------------------
 Reporter:  mikachan               |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Bundled Theme          |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+------------------------------

Comment (by mikachan):

 👋 Thanks for the ping. I agree that base and contrast have become
 standard now in quite a lot of places, which I agree with, it's great to
 have some colour standards to work from.

 I still like the general idea behind using `styles.color.background` and
 `styles.color.text`, but I think it would be best to explore this when we
 can use these keys as CSS variables as well as via a `ref`, like @pbking
 mentioned. So, I think we should close this for now and explore further
 options with variables over in the Gutenberg repo.

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


More information about the wp-trac mailing list