From b4d2bdfe44b0d332990a8147df8c8f2bac519495 Mon Sep 17 00:00:00 2001 From: Ari <571618+aribronstein@users.noreply.github.com> Date: Wed, 12 Aug 2020 14:55:20 +0300 Subject: [PATCH] remove theme styles duplication WARNING: The same color styles are generated multiple times. Read more about how style duplication can be avoided in a dedicated guide. https://github.com/angular/components/blob/master/guides/duplicate-theming-styles.md node_modules\@angular\material\_theming.scss 1648:7 -mat-check-duplicate-theme-styles() node_modules\@angular\material\_theming.scss 3763:3 mat-datepicker-theme() node_modules\saturn-datepicker\_theming.scss 4:3 sat-datepicker-theme() stdin 6:1 root stylesheet --- saturn-datepicker/src/_theming.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saturn-datepicker/src/_theming.scss b/saturn-datepicker/src/_theming.scss index fc9305d..ad4065b 100644 --- a/saturn-datepicker/src/_theming.scss +++ b/saturn-datepicker/src/_theming.scss @@ -1,7 +1,7 @@ @import '~@angular/material/theming'; @mixin sat-datepicker-theme($theme) { - @include mat-datepicker-theme($theme); + @include _mat-datepicker-color($theme); $primary: map-get($theme, primary); $foreground: map-get($theme, foreground); $background: map-get($theme, background);