Skip to content

Commit

Permalink
fix(sbb-form-error): fix internal css variable name (#2558)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored Apr 8, 2024
1 parent 63ea990 commit cc275af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/form-error/form-error.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
:host {
--sbb-form-error-color: var(--sbb-color-red125);
--sbb-form-error-height: calc(var(--sbb-typo-line-height-body-text) * 1em);
--sbb-size-icon-form-error: #{sbb.px-to-rem-build(17)};
--sbb-form-error-icon-size: #{sbb.px-to-rem-build(17)};

// Overrides sbb icon
--sbb-icon-svg-width: var(--sbb-size-icon-form-error);
--sbb-icon-svg-height: var(--sbb-size-icon-form-error);
--sbb-icon-svg-width: var(--sbb-form-error-icon-size);
--sbb-icon-svg-height: var(--sbb-form-error-icon-size);

@include sbb.if-forced-colors {
--sbb-form-error-color: LinkText !important;
Expand Down

0 comments on commit cc275af

Please sign in to comment.