Skip to content

Commit

Permalink
feat: reduce admonition variant colours
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Jun 7, 2024
1 parent d19a947 commit 05917ae
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions styles/_admonitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,23 @@
.versionchanged,
div.deprecated {
@extend .iati-callout;
}

.admonition-title,
.topic-title {
@extend .iati-callout__title;
}
&.attention {
@extend .iati-callout--purple;
}

.attention,
.caution,
.warning,
.versionchanged {
@extend .iati-callout--orange;
}
&.caution {
@extend .iati-callout--orange;
}

.danger,
.error,
div.deprecated {
@extend .iati-callout--red;
}

.versionadded {
@extend .iati-callout--green;
}
&.note {
@extend .iati-callout--green;
}

.tip {
@extend .iati-callout--purple;
.admonition-title,
.topic-title {
@extend .iati-callout__title;
}
}

.versionmodified {
Expand Down

0 comments on commit 05917ae

Please sign in to comment.