[wp-trac] [WordPress Trac] #64762: Frontend admin toolbar not using updated admin color scheme

WordPress Trac noreply at wordpress.org
Fri Mar 6 16:49:13 UTC 2026


#64762: Frontend admin toolbar not using updated admin color scheme
-------------------------------------------------+-------------------------
 Reporter:  huzaifaalmesbah                      |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  7.0
Component:  Toolbar                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots admin-reskin has-    |     Focuses:  ui, css
  patch dev-feedback has-dev-note changes-       |
  requested                                      |
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 > Arguments about colour clashes are moot. There are plenty of dark themes
 that clash with the toolbar, and light/dark colour schemes are prevalent.

 Clashes can occur because the color scheme stylesheets contain many rules
 in addition to the toolbar styles, including common elements that the
 theme might not override:
 {{{
 body,
 a,
 a:hover,
 a:active,
 a:focus,
 input[type=checkbox]:checked,
 input[type=radio]:checked,
 input[type=text]:focus,
 input[type=password]:focus,
 input[type=color]:focus,
 input[type=date]:focus,
 input[type=datetime]:focus,
 input[type=datetime-local]:focus,
 input[type=email]:focus,
 input[type=month]:focus,
 input[type=number]:focus,
 input[type=search]:focus,
 input[type=tel]:focus,
 input[type=time]:focus,
 input[type=url]:focus,
 input[type=week]:focus,
 select:focus,
 textarea:focus,
 input[type=checkbox]:focus,
 input[type=radio]:focus
 }}}

 My earlier suggestion in comment:2 also would have had that problem.

 I'll add a pull request that tries to trim the stylesheet and add it as an
 inline style.

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


More information about the wp-trac mailing list