diff --git a/lib/core/src/lib/styles/_components-variables.scss b/lib/core/src/lib/styles/_components-variables.scss index 313b00eb76c..7849e29b45b 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); $accent: map-get($theme, accent); + $warn: map-get($theme, warn); $defaults: ( --adf-card-view-background: $adf-ref-card-background, @@ -62,6 +63,12 @@ --adf-info-drawer-tab-active-focused-background: mat.get-color-from-palette($primary), --adf-info-drawer-tab-active-focused-color:unset, --adf-info-drawer-tab-active-focused-bottom-line:unset, + + --adf-people-cloud-input-label-default-color: $adf-ref-text-field-label-color, + --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-input-caption-error-color: mat.get-color-from-palette($warn) ); // propagates SCSS variables into the CSS variables scope diff --git a/lib/core/src/lib/styles/_reference-variables.scss b/lib/core/src/lib/styles/_reference-variables.scss index d214c5fff04..9b375d76046 100644 --- a/lib/core/src/lib/styles/_reference-variables.scss +++ b/lib/core/src/lib/styles/_reference-variables.scss @@ -6,6 +6,7 @@ $adf-ref-height-48: 48px; $adf-ref-title-color: rgba(0, 0, 0, 0.87); $adf-ref-description-color: rgba(0, 0, 0, 0.54); $adf-ref-text-field-label-color: rgba(0, 0, 0, 0.54); +$adf-ref-text-field-caption-error-color: #f44336; $adf-ref-select-field-label-color: rgba(0, 0, 0, 0.54); $adf-ref-card-color: rgba(0, 0, 0, 0.87); $adf-ref-card-padding: 16px; @@ -27,3 +28,5 @@ $adf-ref-height: 40px; $adf-ref-width: 40px; $adf-ref-line-height: 40px; $adf-ref-margin-right: 8px; +$adf-ref-autosuggest-result-active-color: rgba(0, 0, 0, 0.87); +$adf-ref-autosuggest-result-disabled-color: rgba(0, 0, 0, 0.54); diff --git a/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html b/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html index 0a00b873523..29bee9e0c49 100644 --- a/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html +++ b/lib/process-services-cloud/src/lib/people/components/people-cloud.component.html @@ -1,6 +1,7 @@