Adds important callout (#2630)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-02-03 16:04:29 -05:00 committed by GitHub
parent 86385d4932
commit d7e8cdedd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -128,7 +128,7 @@ img {
border: 1px solid $grey-lt-300;
}
// Note, tip, and warning blocks
// Note, tip, important, and warning blocks
%callout {
border: 1px solid $grey-lt-300;
border-radius: 5px;
@ -147,6 +147,11 @@ img {
border-left: 5px solid $green-100;
}
.important {
@extend %callout;
border-left: 5px solid $yellow-000;
}
.warning {
@extend %callout;
border-left: 5px solid $red-100;