From 113784ec786fceace363f606c60d3ff448131731 Mon Sep 17 00:00:00 2001 From: "INFRAGISTICS\\IPetrov" Date: Mon, 24 Feb 2025 12:06:03 +0200 Subject: [PATCH] refactor(theming): argument palette removed from color-classes mixin --- src/app/theming/angular/angular-sample.component.scss | 4 ++-- src/app/theming/bootstrap/bootstrap-sample.component.scss | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/theming/angular/angular-sample.component.scss b/src/app/theming/angular/angular-sample.component.scss index c38f395c6..df13adac1 100644 --- a/src/app/theming/angular/angular-sample.component.scss +++ b/src/app/theming/angular/angular-sample.component.scss @@ -139,7 +139,7 @@ igx-expansion-panel-body { @include typography($font-family: $material-typeface, $type-scale: $material-type-scale); &.light { - @include color-classes($palette: $igx-light-palette, $prop: "background", $prefix: "bg"); + @include color-classes($prop: "background", $prefix: "bg"); background: color($igx-light-palette, 'surface'); @@ -159,7 +159,7 @@ igx-expansion-panel-body { } &.dark { - @include color-classes($palette: $custom-dark-palette, $prop: "background", $prefix: "bg"); + @include color-classes($prop: "background", $prefix: "bg"); background: color($custom-dark-palette, 'surface'); diff --git a/src/app/theming/bootstrap/bootstrap-sample.component.scss b/src/app/theming/bootstrap/bootstrap-sample.component.scss index ecd81c50a..a361dba19 100644 --- a/src/app/theming/bootstrap/bootstrap-sample.component.scss +++ b/src/app/theming/bootstrap/bootstrap-sample.component.scss @@ -51,7 +51,6 @@ $dark-secondary: color($custom-dark-palette, "secondary"); &.light { @include color-classes( - $palette: $light-bootstrap-palette, $prop: 'background', $prefix: 'bg' ); @@ -78,7 +77,6 @@ $dark-secondary: color($custom-dark-palette, "secondary"); &.dark { @include color-classes( - $palette: $custom-dark-palette, $prop: 'background', $prefix: 'bg' );