-
-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated Snackbars and Kitchen for MDC v10
- Loading branch information
Showing
15 changed files
with
1,373 additions
and
970 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@import "smui-theme"; | ||
@import "./style"; | ||
@use 'smui-theme'; | ||
@use './style'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
@import "@material/feature-targeting/functions"; | ||
@use '@material/icon-button'; | ||
@use '@material/snackbar'; | ||
@use '@material/feature-targeting'; | ||
|
||
@mixin smui-snackbar-core-styles($query: mdc-feature-all()) { | ||
// Fix icon color. | ||
.mdc-snackbar__dismiss.mdc-snackbar__dismiss { | ||
@include mdc-icon-button-ink-color($mdc-snackbar-dismiss-ink-color, $query: $query); | ||
@mixin core-styles($query: feature-targeting.all()) { | ||
// Increase specificity. | ||
.mdc-icon-button.mdc-snackbar__dismiss { | ||
@include icon-button.ink-color(snackbar.$dismiss-ink-color, $query: $query); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import "@material/snackbar/mdc-snackbar"; | ||
@import "./mixins"; | ||
@use '@material/snackbar/mdc-snackbar'; | ||
@use './mixins'; | ||
|
||
@include smui-snackbar-core-styles; | ||
@include mixins.core-styles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@import "smui-theme"; | ||
@import "./style"; | ||
@use 'smui-theme'; | ||
@use './style'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@import "../_style.scss"; | ||
@import "@smui/button/style"; | ||
@import "@smui/icon-button/style"; | ||
@use '../_style.scss'; | ||
@use '@smui/button/style' as button-style; | ||
@use '@smui/icon-button/style' as icon-button-style; |
Oops, something went wrong.