Skip to content

Commit

Permalink
[Snackbar] Integrate container color token
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 524075181
  • Loading branch information
imhappi authored and drchen committed Apr 17, 2023
1 parent 35bd1fc commit 206928b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -70,7 +70,7 @@
<style name="Base.Widget.Material3.Snackbar" parent="Base.Widget.MaterialComponents.Snackbar">
<item name="enforceMaterialTheme">true</item>
<item name="materialThemeOverlay">@style/ThemeOverlay.Material3.Snackbar</item>
<item name="backgroundTint">?attr/colorSurfaceInverse</item>
<item name="backgroundTint">@macro/m3_comp_snackbar_container_color</item>
<item name="actionTextColorAlpha">@dimen/m3_snackbar_action_text_color_alpha</item>
</style>

Expand Down
Expand Up @@ -21,6 +21,7 @@

<!-- Generated from token set (md.comp.snackbar) in context (platform=android, audience=3p). -->
<!-- Enabled - Container -->
<macro name="m3_comp_snackbar_container_color">?attr/colorSurfaceInverse</macro>
<dimen name="m3_comp_snackbar_container_elevation">@dimen/m3_sys_elevation_level3</dimen>
<macro name="m3_comp_snackbar_container_shape">?attr/shapeAppearanceCornerExtraSmall</macro>
<!-- Enabled - Supporting text -->
Expand Down

0 comments on commit 206928b

Please sign in to comment.