From 6efdd7816c579334fbf5da5a8504cfb56e536a8d Mon Sep 17 00:00:00 2001 From: Wojciech Duda <69160975+wojd0@users.noreply.github.com> Date: Fri, 15 Dec 2023 12:44:44 +0100 Subject: [PATCH] [AAE-15206] apply design tokens for TaskAssignmentFilterCloudComponent --- .../src/lib/styles/_components-variables.scss | 5 ++++- .../task-assignment-filter.component.html | 6 ++++-- .../task-assignment-filter.component.scss | 16 ++++++++++++---- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/lib/core/src/lib/styles/_components-variables.scss b/lib/core/src/lib/styles/_components-variables.scss index e2be0f3c22d..4934dded219 100644 --- a/lib/core/src/lib/styles/_components-variables.scss +++ b/lib/core/src/lib/styles/_components-variables.scss @@ -84,7 +84,10 @@ --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-input-caption-error-color: mat.get-color-from-palette($warn) + --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, + --adf-task-assignment-filter-option-selected-color: mat.get-color-from-palette($primary) ); // propagates SCSS variables into the CSS variables scope diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.html b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.html index f1842d24342..fd213e5a9db 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.html +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.html @@ -1,12 +1,14 @@
- + {{ assignmentType.label | translate }} 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 60a39d7795e..8204a119913 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 @@ -1,14 +1,22 @@ .adf-cloud-assignment-container { display: flex; flex-wrap: wrap; - - mat-form-field { - width: 100%; - } } .adf-task-assignment-filter { margin-right: 10px; + + &-container { + width: 100%; + } + + &-option { + color: var(--adf-task-assignment-filter-option-default-color); + + &.adf-task-assignment-filter-option--selected:not(&:disabled) { + color: var(--adf-task-assignment-filter-option-selected-color); + } + } } .adf-group-cloud-filter {