@@ -8,9 +8,11 @@ body:has( .omnibar ) {
88 --omnibar-menu-active-background : #{$omnibar-submenu-background } ;
99 --omnibar-submenu-background : #{$omnibar-submenu-background } ;
1010 --omnibar-text-color : #{$omnibar-text-color } ;
11+ --omnibar-submenu-text-color : #{$omnibar-submenu-text-color } ;
1112 --omnibar-highlight-color : #{$omnibar-highlight-color } ;
1213 --omnibar-submenu-highlight-color : #{$omnibar-highlight-color } ;
1314 --omnibar-avatar-ring-color : #{$omnibar-avatar-ring-color } ;
15+ --omnibar-secondary-group-background : #{$omnibar-secondary-group-background } ;
1416
1517 @media ( min-width : 782px ) {
1618 --omnibar-height : #{$omnibar-height } ;
@@ -218,33 +220,3 @@ body:has( .omnibar ) {
218220.omnibar .dashicons-menu-alt ::before {
219221 top : 0.5px ;
220222}
221-
222- .omnibar__popover {
223- // All colors used by the Menu's internal Emotion styles read from these
224- // CSS custom properties (see node_modules/@wordpress/components/src/menu/styles.ts).
225- // Setting them here re-skins the entire popover without specificity wars.
226- --wp-components-color-background : var ( --omnibar-submenu-background );
227- --wp-components-color-foreground : var ( --omnibar-text-color );
228- --wp-components-color-accent : transparent ; // hover/active item bg
229- --wp-components-color-accent-inverted : var (
230- --omnibar-submenu-highlight-color
231- ); // hover/active item text
232- --wp-components-color-gray-100 : transparent ; // submenu-trigger-open bg
233- --wp-components-color-gray-700 : var ( --omnibar-text-color ); // prefix / suffix text
234-
235- // Padding, border-radius, and the elevation portion of the popover's
236- // box-shadow are hardcoded (not tokens). Class is doubled to outrank
237- // Emotion's auto-generated selector at the popover level.
238- & .omnibar__popover {
239- border-radius : 0 ;
240- box-shadow : none ;
241- }
242-
243- [role = ' menuitem' ],
244- [role = ' menuitemradio' ],
245- [role = ' menuitemcheckbox' ] {
246- border-radius : 0 ;
247- grid-template-columns : minmax ( 0 , max-content ) 1fr ;
248- padding-inline : 6px ;
249- }
250- }
0 commit comments