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

[WNMGDS-830] Update icon for success alert #990

Merged
merged 3 commits into from
Mar 31, 2021

Conversation

line47
Copy link
Contributor

@line47 line47 commented Mar 31, 2021

Summary

Updating the icon used for the success alert to be more consistent with the the icons being used

Added

  • Added alert variables to the documentation page for theming

Changed

  • Changed the success alerts icon to used the checkmark that's filled

How to test

View the alert page and see that the success alert is using the filled check icon and matches the style of the others
You'll need to run the site locally because icons don't show on the demo URLs

@line47 line47 requested a review from kimieann March 31, 2021 14:04
- `$alert-padding` - Used to provide padding for the alert element
- `$alert-bar-size` - Used to control the width of the left bar on the alert
- `$alert-icon-size` - Used to control the size of the alert icon

Copy link
Contributor Author

@line47 line47 Mar 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the existing variables to the documentation that were not there to help with folks who want to style the alerts

$alert-padding: $spacer-2;
$alert-bar-size: $spacer-1;
$alert-icon-size: $spacer-5;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved variables to the top of the document

Copy link
Contributor

@kimieann kimieann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@line47 line47 merged commit 7598fa9 into master Mar 31, 2021
@line47 line47 deleted the WNMGDS-830-alert-icon-update branch March 31, 2021 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants