Skip to content

Commit

Permalink
dev: Provide an "info" alert
Browse files Browse the repository at this point in the history
  • Loading branch information
marien-probesys committed Aug 4, 2023
1 parent 7b549e7 commit f90870c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/icons/circle-info-info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/stylesheets/components/alerts.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
border-color: var(--color-error9);
}

.alert--info {
color: var(--color-info12);

background-color: var(--color-info2);
background-image: url("../../icons/circle-info-info.svg");
border-color: var(--color-info9);
}

.alert--warning {
color: var(--color-warning12);

Expand All @@ -50,6 +58,10 @@
color: var(--color-error9);
}

.alert--info .alert__title {
color: var(--color-info11);
}

.alert--warning .alert__title {
color: var(--color-warning11);
}
Expand Down
Loading

0 comments on commit f90870c

Please sign in to comment.