Skip to content

Commit

Permalink
👌 [#467] PR Feedback 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Nov 8, 2023
1 parent 8582957 commit 63c1a14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ set:
* ``--utrecht-alert-warning-background-color`` with the value of ``--of-alert-warning-bg``.
* ``--utrecht-alert-info-background-color`` with the value of ``--of-alert-info-bg``.
* ``--utrecht-alert-error-background-color`` with the value of ``--of-alert-error-bg``.
* ``--utrecht-alert-icon-error-color`` with the value of ``--of-color-danger``.
* ``--utrecht-alert-icon-info-color`` with the value of ``--of-color-info``.
* ``--utrecht-alert-icon-warning-color`` with the value of ``--of-color-warning``.
* ``--utrecht-alert-icon-ok-color`` with the value of ``--of-color-success``.

1.5.4 (2023-10-30)
==================
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
// Backwards compatibility layer
.utrecht-alert {
@include bem.modifier('error') {
background-color: var(--of-alert-error-bg, var(--utrecht-alert-error-background-color));
background-color: var(--utrecht-alert-error-background-color, var(--of-alert-error-bg));
}

@include bem.modifier('info') {
background-color: var(--of-alert-info-bg, var(--utrecht-alert-info-background-color));
background-color: var(--utrecht-alert-info-background-color, var(--of-alert-info-bg));
}

@include bem.modifier('warning') {
background-color: var(--of-alert-warning-bg, var(--utrecht-alert-warning-background-color));
background-color: var(--utrecht-alert-warning-background-color, var(--of-alert-warning-bg));
}
}
8 changes: 4 additions & 4 deletions src/scss/components/_authentication-errors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.openforms-authentication-errors {
margin-block-end: 1rem;
margin-block-start: 1rem;
margin-inline-end: 0;
margin-inline-start: 0;
padding-block-end: 1rem;
padding-block-start: 1rem;
padding-inline-end: 0;
padding-inline-start: 0;
}

0 comments on commit 63c1a14

Please sign in to comment.