-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tab): sass color mixins (#1851)
- Loading branch information
Matty Goo
authored
Jan 6, 2018
1 parent
da56619
commit 9bb3be5
Showing
5 changed files
with
181 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@import "@material/theme/mixins"; | ||
|
||
@mixin mdc-tab-ink-color($color) { | ||
@include mdc-tab-label-ink-color($color); | ||
@include mdc-tab-icon-ink-color($color); | ||
} | ||
|
||
@mixin mdc-tab-label-ink-color($color) { | ||
@include mdc-theme-prop(color, $color); | ||
} | ||
|
||
@mixin mdc-tab-icon-ink-color($color) { | ||
.mdc-tab__icon { | ||
@include mdc-theme-prop(color, $color); | ||
} | ||
} |
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