Nav unification: consolidate color-sidebar-menu-hover-heading-background with non-"heading" version #47300
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Compared to #47294, this is a slightly more complex change. I definitely want @cpapazoglou to check this one out.
color-sidebar-menu-hover-background
.color-sidebar-menu-hover-heading-background
color-sidebar-menu-hover-background
variable in calypso.color-sidebar-menu-hover-heading-background
andcolor-sidebar-menu-hover-background
to work with nav unification both on and off.color-sidebar-menu-hover-background
#32373c
, which is a slightly darker version of the main color#1a1e23
. In pull request Nav-unification: Submenu colors are controlled by variable #47249, I added asubmenu-background
variable which is also defined#32373c
.Changes proposed in this Pull Request
color-sidebar-menu-hover-background
control the sidebar hover background in both calypso and calypso+nav-unification.color-sidebar-submenu-background
, which is also#32373c
.color-sidebar-menu-hover-heading-background
variable.Benefits
Testing instructions
Visit calypso with nav unification turned on, http://calypso.localhost:3000/?flags=nav-unification. Hovering sidebars should still work.
Reference Issues