[wp-trac] [WordPress Trac] #45431: Twenty Thirteen: Button blocks don't apply custom colours

WordPress Trac noreply at wordpress.org
Tue Nov 27 16:59:58 UTC 2018


#45431: Twenty Thirteen: Button blocks don't apply custom colours
-------------------------------------------------+-------------------------
 Reporter:  laurelfulford                        |       Owner:
                                                 |  laurelfulford
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  Bundled Theme                        |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  screenshots                                    |
-------------------------------------------------+-------------------------

Comment (by laurelfulford):

 [attachment:"45431.patch"] updates the button block styles, to make the
 selectors where the colours are applied on the front end less specific.

 It also makes sure the gradient is only applied when there is no custom
 background colour, both in the editor and front end.

 Lastly, it appends the `.entry-content` class to the custom colours, to
 make them more specific.

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


More information about the wp-trac mailing list