Skip to content

Commit

Permalink
fix(menu): background and shadow colors (#1280)
Browse files Browse the repository at this point in the history
* fix(menu): background and shadow colors

* var to sass const

* snapshot

* reverting back to box-shadow

* add menu

Co-authored-by: yinon <yinon@hotmail.com>
  • Loading branch information
rachelbt and yinonov committed May 4, 2022
1 parent eff82e4 commit 40e02cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions components/select/src/vwc-select.scss
Expand Up @@ -226,3 +226,7 @@ vwc-notched-outline {
padding-top: 8px;
}
}

mwc-menu {
--mdc-theme-surface: var(#{scheme-variables.$vvd-color-surface-8dp});
}
2 changes: 1 addition & 1 deletion components/surface/src/vwc-surface.scss
Expand Up @@ -5,7 +5,7 @@ $surface-border-radius: --vvd-surface-border-radius;

:host {
.mdc-menu-surface {
background-color: var(#{scheme-variables.$vvd-color-canvas});
background-color: var(#{scheme-variables.$vvd-color-surface-8dp});
border-radius: var(#{$surface-border-radius}, $default-surface-border-radius);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.05), 0 12px 16px rgba(0, 0, 0, 0.05), 0 4px 24px rgba(0, 0, 0, 0.1);
}
Expand Down

0 comments on commit 40e02cd

Please sign in to comment.