Skip to content

Commit

Permalink
fix(material/card): elevated card container color (#29835)
Browse files Browse the repository at this point in the history
update elevated card container color from `surface` to  `surface-container-low` matching the M3 specification

fixes #29163

(cherry picked from commit 9262a01)
  • Loading branch information
naaajii authored and crisbeto committed Oct 11, 2024
1 parent 6ce5747 commit 2d75191
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $_default: (

@function values($deps: $_default, $exclude-hardcoded-values: false) {
@return (
'container-color': map.get($deps, 'md-sys-color', 'surface'),
'container-color': map.get($deps, 'md-sys-color', 'surface-container-low'),
'container-elevation': map.get($deps, 'md-sys-elevation', 'level1'),
'container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
'container-shape': map.get($deps, 'md-sys-shape', 'corner-medium'),
Expand Down

0 comments on commit 2d75191

Please sign in to comment.