Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Steps to Reproduce or Code Sample to Reproduce:
According to the material 3 component elevated card specificationhttps://m3.material.io/components/cards/specs#a012d40d-7a5c-4b07-8740-491dec79d58b the container of an elevated card should use the surface-container-low color.
The default parameter for the
CardColors
are however set toCardDefaults.elevatedCardColors()
which in turn uses an ElevatedCardToken for the surface color and not surface-container-low. SeeElevatedCardTokens
val ContainerColor = ColorSchemeKeyTokens.Surface
.This will result in the
ElevatedCard
using tonal elevation rather than the specified surface-container-low in the material 3ColorScheme
per default.