Skip to content

Commit

Permalink
Update dropdown toggles to be lighter color
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Oct 10, 2024
1 parent a7be650 commit b23ed22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mu-plugins/blocks/global-header-footer/postcss/_common.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ html {
--wp--preset--color--charcoal-2: #23282d;
--wp--preset--color--charcoal-3: #40464d; /* Used only in the admin bar. */
--wp--preset--color--charcoal-4: #656a71;
--wp--preset--color--charcoal-5: #979aa1;
--wp--preset--color--nero: #1c2024; /* Only used in the header (hovers), not in the parent/child themes. */
--wp--preset--color--white: #fff;
--wp--preset--color--deep-blueberry: #213fd4;
Expand All @@ -85,6 +86,7 @@ html {

--wp-global-header--link-color--active: var(--wp--preset--color--blueberry-2);
--wp-global-header--text-color: var(--wp--preset--color--white);
--wp-global-header--text-color--light: var(--wp--preset--color--charcoal-5);
}

.has-charcoal-0-color,
Expand All @@ -93,6 +95,7 @@ html {
--wp-global-header--link-color: var(--wp--preset--color--charcoal-2);
--wp-global-header--link-color--active: var(--wp--preset--color--deep-blueberry);
--wp-global-header--text-color: var(--wp--preset--color--charcoal-2);
--wp-global-header--text-color--light: var(--wp--preset--color--charcoal-4);

&.has-background[style*="background-color:"] {
--wp-global-header--background-color--hover: var(--wp--preset--color--light-grey-2);
Expand All @@ -103,6 +106,7 @@ html {
--wp-global-header--background-color: var(--wp--preset--color--blueberry-1);
--wp-global-header--background-color--hover: var(--wp--preset--color--deep-blueberry);
--wp-global-header--link-color--active: var(--wp--preset--color--white);
--wp-global-header--text-color--light: var(--wp--preset--color--white);
}

.has-charcoal-1-background-color {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@
background-color: var(--wp-global-header--text-color);
}
}

@media (max-width: 889px) {
color: var(--wp-global-header--text-color--light);
}
}

& .wp-block-navigation__submenu-icon {
Expand Down

0 comments on commit b23ed22

Please sign in to comment.