Skip to content

Commit

Permalink
♻️ [#467] Replace deleted tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Nov 8, 2023
1 parent 63c1a14 commit 8146c19
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/scss/components/_form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
background-color: var(--of-utrecht-form-field-background-color, unset);

&.utrecht-form-field--invalid {
--of-utrecht-form-field-background-color: var(--of-alert-error-bg);
--of-utrecht-form-field-background-color: var(
--utrecht-alert-error-background-color,
var(--of-alert-error-bg)
);
// apply padding in all dimensions for error state
padding-inline-end: var(--utrecht-form-field-invalid-padding-inline-start);
padding-block-start: var(--utrecht-form-field-invalid-padding-inline-start);
Expand All @@ -20,7 +23,10 @@
background-color: var(--of-utrecht-form-field-background-color, unset);

&.utrecht-form-fieldset--invalid {
--of-utrecht-form-field-background-color: var(--of-alert-error-bg);
--of-utrecht-form-field-background-color: var(
--utrecht-alert-error-background-color,
var(--of-alert-error-bg)
);
// apply padding in all dimensions for error state
padding-inline-end: var(--utrecht-form-field-invalid-padding-inline-start);
padding-block-start: var(--utrecht-form-field-invalid-padding-inline-start);
Expand Down

0 comments on commit 8146c19

Please sign in to comment.