Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 215d0c6

Browse files
ZhangYiJiangwilliamernest
authored andcommitted
fix(snackbar): Allow variables to be customized (#3335)
Add `!default` to allow MDCSnackbar variables to be customized by the user.
1 parent 430b338 commit 215d0c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/mdc-snackbar/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
//
2222

2323
// Hard coded since the color is not present in any palette.
24-
$mdc-snackbar-background-color: #323232;
25-
$mdc-snackbar-foreground-color: white;
24+
$mdc-snackbar-background-color: #323232 !default;
25+
$mdc-snackbar-foreground-color: white !default;
2626
// TODO: Better spot to pull this breakpoint?
2727
//$snackbar-tablet-breakpoint: $grid-tablet-breakpoint;
28-
$mdc-snackbar-tablet-breakpoint: 600px;
28+
$mdc-snackbar-tablet-breakpoint: 600px !default;

0 commit comments

Comments
 (0)