-
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(checkbox): Added theme configuration support to checkbox
With this change MDC checkbox provides a separate `theme($theme)` mixin that accepts theme configuration in Sass map format, emits only theme related styles. This mixin can be included on top of static styles - `static-styles()` with custom theme. *Example usage:* ```scss @include checkbox.static-styles(); .custom-checkbox { @include checkbox.theme(( container-checked-color: red, density-scale: -3, )); } ``` PiperOrigin-RevId: 327692774
- Loading branch information
1 parent
f4532b9
commit fbf73c2
Showing
3 changed files
with
157 additions
and
35 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