Skip to content

Commit

Permalink
Admin bar: help center and notification icons now follow color scheme…
Browse files Browse the repository at this point in the history
… (#38672)

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10207177907

Upstream-Ref: Automattic/jetpack@62bdc42
  • Loading branch information
fushar authored and matticbot committed Aug 1, 2024
1 parent 2b2e1d3 commit 14805e3
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 87 deletions.
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This is an alpha version! The changes listed here are not final.

### Fixed
- Adminbar: Fix profile menu colors
- Admin bar: help center and notification icons now follow color scheme
- Masterbar: Fix icon overlap issue at smaller resolutions
- MU WPCOM: Fix the option of the MailerLite widget is gone

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,20 @@ function wpcom_enqueue_admin_bar_assets() {
wp_add_inline_style(
'wpcom-admin-bar',
<<<CSS
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar.mobile .quicklinks li:not(#wpwrap.wp-responsive-open #wp-admin-bar-menu-toggle) .ab-icon:before,
#wpadminbar.mobile .quicklinks li:not(#wpwrap.wp-responsive-open #wp-admin-bar-menu-toggle) .ab-item:before {
color: $admin_icon_color !important;
}
CSS
);

// Force wpcom icons to have consistent color.
wp_add_inline_style(
'wpcom-admin-bar',
<<<CSS
#wpadminbar .ab-icon {
color: $admin_icon_color;
}
CSS
);
}
Expand Down
Loading

0 comments on commit 14805e3

Please sign in to comment.