[wp-trac] [WordPress Trac] #64840: Admin Color Scheme Not Applied in Media Modal Inside Elementor Editor

WordPress Trac noreply at wordpress.org
Mon Mar 16 12:34:17 UTC 2026


#64840: Admin Color Scheme Not Applied in Media Modal Inside Elementor Editor
--------------------------------+---------------------
 Reporter:  huzaifaalmesbah     |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  7.0
Component:  General             |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  close admin-reskin  |     Focuses:
--------------------------------+---------------------

Comment (by wildworks):

 The reason is that the CSS variables are not being output in the Elementor
 editor, but I think this ticket appears to point to a more underlying core
 issue.

 The new Admin color is based on CSS variables, which are enqueued by `wp-
 base-styles`. Therefore, **the new Admin color shouldn't work on screens
 where `wp-base-styles` isn't enqueued**.

 I'm not sure why these CSS variables aren't being output in the Elementor
 editor, but it might be dequeuing core CSS in some way.

 It might be worth reviewing [https://github.com/WordPress/wordpress-
 develop/blob/e7537812bc2e8c1a6ccf8528bfe193c9c8ca57aa/src/wp-includes
 /script-loader.php#L1554 the wp_default_styles() function] to see if there
 are any other places where `wp-base-styles` should be added as a
 dependency.

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


More information about the wp-trac mailing list