Skip to content

Commit

Permalink
Fix menu hover color
Browse files Browse the repository at this point in the history
  • Loading branch information
lupus2k committed Jun 12, 2024
1 parent 7512dd1 commit c198264
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $body-background: $studio-gray-0; // Calypso --color-surface-backdrop
// admin menu & admin-bar (core _variables.scss)
$menu-text: $studio-pink-80; // Calypso --color-sidebar-text
$menu-background: $studio-pink-5; // Calypso --color-sidebar-background
$menu-highlight-text: $studio-pink-0; // Calypso --color-sidebar-menu-hover-text
$menu-highlight-text: $studio-pink-90; // Calypso --color-sidebar-menu-hover-text
$menu-highlight-icon: $menu-highlight-text;
$menu-highlight-background: $studio-pink-10; // Calypso --color-sidebar-menu-hover-background
$menu-current-text: $studio-white; // Calypso --color-sidebar-menu-selected-text
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
@import "variables";
@import "../admin";
@import "sidebar-notice";

#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before {
color: $menu-submenu-current-text;
}

#wpadminbar #wp-admin-bar-user-info .display-name {
color: $menu-submenu-text;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $body-background: $studio-gray-0; // Calypso --color-surface-backdrop
// admin menu & admin-bar (core _variables.scss)
$menu-text: $studio-pink-80; // Calypso --color-sidebar-text
$menu-background: $studio-pink-5; // Calypso --color-sidebar-background
$menu-highlight-text: $studio-pink-0; // Calypso --color-sidebar-menu-hover-text
$menu-highlight-text: $studio-pink-90; // Calypso --color-sidebar-menu-hover-text
$menu-highlight-icon: $menu-highlight-text;
$menu-highlight-background: $studio-pink-10; // Calypso --color-sidebar-menu-hover-background
$menu-current-text: $studio-white; // Calypso --color-sidebar-menu-selected-text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
@import "../admin";
@import "sidebar-notice";

#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before {
color: $menu-submenu-current-text;
}

#wpadminbar #wp-admin-bar-user-info .display-name {
color: $menu-submenu-text;
}

0 comments on commit c198264

Please sign in to comment.