Skip to content

Commit

Permalink
fix(ng-mat-core): support "fab" and "icon-button" when specifying spe…
Browse files Browse the repository at this point in the history
…cific modules to theme
  • Loading branch information
ersimont committed Jan 21, 2023
1 parent 1a0ac06 commit 0b6bc02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/ng-mat-core/src/lib/theming/colors/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@
@include mat.divider-color($theme);
} @else if $name == "expansion" {
@include mat.expansion-color($theme);
} @else if $name == "fab" {
@include mat.fab-color($theme);
} @else if $name == "form-field" {
@include mat.form-field-color($theme);
} @else if $name == "grid-list" {
@include mat.grid-list-color($theme);
} @else if $name == "icon" {
@include mat.icon-color($theme);
} @else if $name == "icon-button" {
@include mat.icon-button-color($theme);
} @else if $name == "input" {
@include mat.input-color($theme);
} @else if $name == "list" {
Expand Down
4 changes: 4 additions & 0 deletions projects/ng-mat-core/src/lib/theming/themes/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@
@include mat.divider-theme($theme);
} @else if $name == "expansion" {
@include mat.expansion-theme($theme);
} @else if $name == "fab" {
@include mat.fab-theme($theme);
} @else if $name == "form-field" {
@include mat.form-field-theme($theme);
} @else if $name == "grid-list" {
@include mat.grid-list-theme($theme);
} @else if $name == "icon" {
@include mat.icon-theme($theme);
} @else if $name == "icon-button" {
@include mat.icon-button-theme($theme);
} @else if $name == "input" {
@include mat.input-theme($theme);
} @else if $name == "list" {
Expand Down

0 comments on commit 0b6bc02

Please sign in to comment.