From fb0645a779b4401b977434821f7dd61a5dcf1023 Mon Sep 17 00:00:00 2001 From: Wojciech Duda <69160975+wojd0@users.noreply.github.com> Date: Fri, 15 Dec 2023 16:40:20 +0100 Subject: [PATCH] [AAE-15206] replaced reference variables with theme values --- lib/core/src/lib/styles/_components-variables.scss | 9 +++++---- .../task-assignment-filter.component.scss | 8 ++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/core/src/lib/styles/_components-variables.scss b/lib/core/src/lib/styles/_components-variables.scss index 89d98edd43d..86fa5f3614c 100644 --- a/lib/core/src/lib/styles/_components-variables.scss +++ b/lib/core/src/lib/styles/_components-variables.scss @@ -4,6 +4,7 @@ @mixin adf-components-variables($theme) { $primary: map-get($theme, primary); + $foreground: map-get($theme, foreground); $accent: map-get($theme, accent); $warn: map-get($theme, warn); $foreground: map-get($theme, foreground); @@ -68,8 +69,8 @@ --adf-people-cloud-input-label-default-color: mat.get-color-from-palette($foreground, secondary-text), --adf-people-cloud-input-label-focus-color: mat.get-color-from-palette($primary), - --adf-people-cloud-autosuggest-result-active-color: $adf-ref-autosuggest-result-active-color, - --adf-people-cloud-autosuggest-result-disabled-color: $adf-ref-autosuggest-result-disabled-color, + --adf-people-cloud-autosuggest-result-active-color: mat.get-color-from-palette($foreground, text), + --adf-people-cloud-autosuggest-result-disabled-color: mat.get-color-from-palette($foreground, secondary-text), --adf-people-cloud-input-caption-error-color: mat.get-color-from-palette($warn), --adf-metadata-property-panel-border-color: $adf-ref-metadata-property-panel-border-color, @@ -81,8 +82,8 @@ --adf-group-cloud-input-label-default-color: mat.get-color-from-palette($foreground, secondary-text), --adf-group-cloud-input-label-focus-color: mat.get-color-from-palette($primary), - --adf-group-cloud-autosuggest-result-active-color: $adf-ref-autosuggest-result-active-color, - --adf-group-cloud-autosuggest-result-disabled-color: $adf-ref-autosuggest-result-disabled-color, + --adf-group-cloud-autosuggest-result-active-color: mat.get-color-from-palette($foreground, text), + --adf-group-cloud-autosuggest-result-disabled-color: mat.get-color-from-palette($foreground, secondary-text), --adf-group-cloud-input-caption-error-color: mat.get-color-from-palette($warn), --adf-task-assignment-filter-option-default-color: $adf-ref-select-option-color, diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss index 8204a119913..9df37c187c8 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss @@ -10,6 +10,14 @@ width: 100%; } + &-label { + color: var(--adf-task-assignment-filter-label-default-color); + + &.adf-task-assignment-filter-label--focus { + color: var(--adf-task-assignment-filter-label-focus-color); + } + } + &-option { color: var(--adf-task-assignment-filter-option-default-color);