Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-31793 Header alerts #1884

Merged
merged 12 commits into from
Mar 4, 2024
6 changes: 6 additions & 0 deletions changelogs/DP-31793.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Changed:
- project: Patternlab
component: HeaderAlerts
description: Add border for the component and chnage icon for notice to improve the color contrasts. (#1884)
issue: DP-31793
impact: Patch
6 changes: 4 additions & 2 deletions packages/assets/scss/03-organisms/_header-alerts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

color: $c-gray-darkest;
margin-bottom: 0;
border: 1px solid $c-bd-divider-dark;

&__button {
color: $c-gray-darkest;
Expand Down Expand Up @@ -83,9 +84,10 @@

.ma__action-step {

border-color: $c-bd-divider;
border-width: 2px;
border-color: $c-bd-divider-dark;
border-width: 1px;
border-style: solid;
border-top: 0;

&__header {
color: $c-gray-darkest;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"accordion": true,
"isExpanded": false,
"icon": "input-warning",
"icon": "alert",
"iconLabel": "notice",
"level": "3",
"title": "Actualizaciones sobre el desempleo",
Expand Down Expand Up @@ -72,7 +72,7 @@
"suffix": "Updated: Mar. 23rd, 2021, 9:50 am"
},
{
"icon": "input-warning",
"icon": "alert",
"iconLabel": "notice",
"level": "3",
"title": "Actualizaciones sobre el desempleo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"accordion": true,
"isExpanded": false,
"accordionLabel": "Expand Actualizaciones sobre el desempleo",
"icon": "input-warning",
"icon": "alert",
"title": "Actualizaciones sobre el desempleo",
"suffix": "Updated: Mar. 17th, 2021, 11:10 am",
"richText": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"accordion": true,
"isExpanded": false,
"accordionLabel": "Expand Actualizaciones sobre el desempleo",
"icon": "input-warning",
"icon": "alert",
"title": "Actualizaciones sobre el desempleo",
"suffix": "Updated: Mar. 17th, 2021, 11:10 am",
"richText": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"accordion": true,
"isExpanded": false,
"accordionLabel": "Expand Actualizaciones sobre el desempleo",
"icon": "input-warning",
"icon": "alert",
"title": "Actualizaciones sobre el desempleo",
"suffix": "Updated: Mar. 17th, 2021, 11:10 am",
"richText": {
Expand Down