diff --git a/src/material/core/tokens/m2/mat/_snack-bar.scss b/src/material/core/tokens/m2/mat/_snack-bar.scss index 9c78d5087fbd..d9f650f73c1b 100644 --- a/src/material/core/tokens/m2/mat/_snack-bar.scss +++ b/src/material/core/tokens/m2/mat/_snack-bar.scss @@ -16,8 +16,12 @@ $prefix: (mat, snack-bar); $is-dark: inspection.get-theme-type($theme) == dark; @return ( - button-color: if( - $is-dark, rgba(0, 0, 0, 0.87), inspection.get-theme-color($theme, accent, text)) + button-color: + if( + $is-dark, + inspection.get-theme-color($theme, primary, 500), + inspection.get-theme-color($theme, primary, 100) + ) ); }