Skip to content

Commit

Permalink
Merge pull request #441 from material-components/fix/card-hover-var
Browse files Browse the repository at this point in the history
Update card elevation shadow
  • Loading branch information
emeaguiar committed Aug 30, 2022
2 parents 3684aa5 + 9e53c61 commit b8c3ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/assets/css/src/components/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@
}

.mdc-card--elevated {
background: linear-gradient(0deg, rgba(var(--md-sys-color-surface-rgb), 0.05), rgba(var(--md-sys-color-surface-rgb), 0.05)), var(--md-sys-color-surface);
box-shadow: 0 1px 2px rgba(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0 2px 6px 2px rgba(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);
background: var(--md-sys-color-surface);
box-shadow: var(--md-sys-elevation-1);
}

.mdc-card--filled {
Expand Down

0 comments on commit b8c3ab8

Please sign in to comment.