Skip to content

Commit

Permalink
[AAE-15206] replaced reference variables with theme values
Browse files Browse the repository at this point in the history
  • Loading branch information
wojd0 committed Jan 8, 2024
1 parent 20ea190 commit 09d6836
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/core/src/lib/styles/_components-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 09d6836

Please sign in to comment.