From a6f15d5b78aeffc64cdca2fc002893afcc00e81f Mon Sep 17 00:00:00 2001 From: Wroud Date: Thu, 31 Mar 2022 14:32:55 +0300 Subject: [PATCH] feat(core-theming): CB-1826 add fill style classes --- webapp/packages/core-theming/src/styles/_color.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/webapp/packages/core-theming/src/styles/_color.scss b/webapp/packages/core-theming/src/styles/_color.scss index 5f19d120ae..9fadda1cef 100644 --- a/webapp/packages/core-theming/src/styles/_color.scss +++ b/webapp/packages/core-theming/src/styles/_color.scss @@ -40,6 +40,12 @@ @include mdc-theme-prop(border-color, $style, true); } } + &.theme-fill-#{$style}, + .theme-fill-#{$style} { + @include mdc-feature-targets($feat-color) { + @include mdc-theme-prop(fill, $style, true); + } + } } @else { &.theme-text-#{$style}, .theme-text-#{$style} { @@ -68,6 +74,12 @@ @include mdc-theme-prop(border-color, $style, true); } } + &.theme-fill-#{$style}, + .theme-fill-#{$style} { + @include mdc-feature-targets($feat-color) { + @include mdc-theme-prop(fill, $style); + } + } } }