From 9c421a8858a1271356fe255964bfa26816c9c03f Mon Sep 17 00:00:00 2001 From: Wojciech Duda <69160975+wojd0@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:54:04 +0100 Subject: [PATCH] [AAE-14726] apply design tokens for ProcessHeaderCloudComponent (#9189) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [AAE-15295] added design tokens to PeopleCloudComponent * [AAE-15295] re-add initials picture background * [AAE-15294] replaced reference variables with theme * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15206] add tokens for label * [AAE-15206] replaced reference variables with theme values * [AAE-15206] remove last remaining reference colors * [AAE-19026] Fix app permissions (#9171) * [AAE-15295] added design tokens to PeopleCloudComponent (#9162) * [AAE-15295] added design tokens to PeopleCloudComponent * [AAE-15294] separate component variables * [AAE-15294] fix rebase * [AAE-15294] readded background color to cloud pic * [AAE-15294] rebase * [AAE-15294] remove duplicate theme pick * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15206] apply design tokens for TaskAssignmentFilterCloudComponent * [AAE-15206] replaced reference variables with theme values * [AAE-19026] Fix app permissions (#9171) * [AAE-15294] separate component variables * [AAE-15206] remove duplicate palette pick * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15294] replaced reference variables with theme * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15206] replaced reference variables with theme values * [AAE-19026] Fix app permissions (#9171) * [AAE-15294] applied design tokens for GroupCloudComponent * [AAE-15206] replaced reference variables with theme values * [AAE-14726] apply design tokens for ProcessHeaderCloudComponent * [AAE-14726] remove additional palette pick * [AAE-14726] fix comp variables --------- Co-authored-by: MichaƂ Fidor <42964298+MichalFidor@users.noreply.github.com> --- lib/core/src/lib/styles/_components-variables.scss | 4 +++- .../components/process-header-cloud.component.html | 4 ++-- .../components/process-header-cloud.component.scss | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.scss diff --git a/lib/core/src/lib/styles/_components-variables.scss b/lib/core/src/lib/styles/_components-variables.scss index ed226f00825..b62ed8928ec 100644 --- a/lib/core/src/lib/styles/_components-variables.scss +++ b/lib/core/src/lib/styles/_components-variables.scss @@ -88,7 +88,9 @@ --adf-task-assignment-filter-option-default-color: mat.get-color-from-palette($foreground, text), --adf-task-assignment-filter-option-selected-color: mat.get-color-from-palette($primary), --adf-task-assignment-filter-label-default-color: mat.get-color-from-palette($foreground, secondary-text), - --adf-task-assignment-filter-label-focus-color: mat.get-color-from-palette($primary) + --adf-task-assignment-filter-label-focus-color: mat.get-color-from-palette($primary), + + --adf-process-header-cloud-card-background: mat.get-color-from-palette($background, card) ); // propagates SCSS variables into the CSS variables scope diff --git a/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.html b/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.html index 6889a8ef655..fa55a6cb079 100644 --- a/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.html +++ b/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.html @@ -1,5 +1,5 @@ - + - \ No newline at end of file + diff --git a/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.scss b/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.scss new file mode 100644 index 00000000000..aa71b833092 --- /dev/null +++ b/lib/process-services-cloud/src/lib/process/process-header/components/process-header-cloud.component.scss @@ -0,0 +1,3 @@ +.adf-process-header-cloud-card { + background-color: var(--adf-process-header-cloud-card-background); +}