Skip to content

Commit

Permalink
Be sure that mat-icon are correct color #10700
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Sep 18, 2024
1 parent 5cc9390 commit a0e504c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/styles/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* See source doc here https://github.com/angular/material2/tree/master/src/lib/core/theming
*/
// Import theming files full relative way or karma will display warning
@use 'sass:map';
@use '@angular/material' as mat;
@use '@ecodev/natural';
@use '@ecodev/natural-editor';
Expand Down Expand Up @@ -57,6 +58,9 @@ $ichtus-theme: mat.m2-define-light-theme(
);

@mixin applyTheme($theme) {
$foreground: map.get($theme, foreground);
color: mat.m2-get-color-from-palette($foreground, text);

@include mat.autocomplete-color($theme);
@include mat.button-color($theme);
@include mat.button-toggle-color($theme);
Expand Down

0 comments on commit a0e504c

Please sign in to comment.