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

BSD fixes #329: Create initial alert component #330

Merged
merged 6 commits into from
Nov 4, 2024

Conversation

mejiaj
Copy link
Collaborator

@mejiaj mejiaj commented Nov 1, 2024

Two new alert components with variants. Based on USWDS guidance. Closes #329.

  1. Alert. An inline alert that can be used for form messages. Includes variants for: info, warning, and error.
  2. Site alert. Full width alerts that go at the top of the page and span the entire width. Use these for alerts that are important for users to see first. Do not use this for form error handling (use alert instead).

Alert

Base
image

Info
image

Warning
image

Error
image

Site alert

Base
image

Info
image

Warning
image

Urgent for urgent, time sensitive notifications.
image

@mejiaj mejiaj marked this pull request as ready for review November 4, 2024 15:10
@mattsqd mattsqd merged commit 3e8ab5a into develop Nov 4, 2024
2 checks passed
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.

bixal-site-drupal - feature request: Create an alert story
2 participants