Opened 5 weeks ago
Closed 5 weeks ago
#64415 closed defect (bug) (fixed)
Customizer: body element needs a CSS class for the color scheme
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Customize | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
The dashboard injects CSS classes like admin-color-{slug} into the body element based on the Admin Color Scheme setting, but the Customizer does not.
Gutenberg has a mixin that allows us to apply a color scheme to components based on this CSS class.
As a result, the color scheme is not applied to the command palette in the Customizer screen.
Steps to Reproduce
- Go to Users > admin
- Select any scheme other than the default scheme
- Activate Twenty Twenty-One
- Go to Appearance > Customize
- Launch the Command Palette (Cmd+K on Mac or Ctrl+K on Windows)
- Type some characters
- The selected command item has a default (fresh) color
Attachments (1)
Change History (6)
This ticket was mentioned in PR #10630 on WordPress/wordpress-develop by @wildworks.
5 weeks ago
#1
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/64415
#2
@
5 weeks ago
I tested after patch and it is working properly
See the below Image:
https://ibb.co/BVDVDWhN
Note: See
TracTickets for help on using
tickets.
Launch the Command Palette in the Customizer Screen