Skip to content

Commit

Permalink
fix(admonish): prefix admonish- to class names (#76)
Browse files Browse the repository at this point in the history
This commit avoids conflicts between mdbook v0.4.35
and mdbook-admonish by prefixing class names
with "admonish-" as per the v1.13.0 release.
  • Loading branch information
CoralPink committed Oct 9, 2023
1 parent 97f7eb0 commit ba711b6
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 147 deletions.
54 changes: 27 additions & 27 deletions palette/catppuccin-admonish.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,51 +16,51 @@

$mappings: (
"yellow": (
".hint",
".important",
".tip",
".admonish-hint",
".admonish-important",
".admonish-tip",
),
"flamingo": (
".abstract",
".summary",
".tldr",
".admonish-abstract",
".admonish-summary",
".admonish-tldr",
),
"mauve": (
".example",
".admonish-example",
),
"sky": (
".info",
".todo",
".admonish-info",
".admonish-todo",
),
"green": (
".check",
".done",
".success",
".admonish-check",
".admonish-done",
".admonish-success",
),
"blue": (
".note",
".admonish-note",
),
"peach": (
".attention",
".caution",
".warning",
".admonish-attention",
".admonish-caution",
".admonish-warning",
),
"teal": (
".faq",
".help",
".question",
".admonish-faq",
".admonish-help",
".admonish-question",
),
"red": (
".bug",
".danger",
".error",
".fail",
".failure",
".missing",
".admonish-bug",
".admonish-danger",
".admonish-error",
".admonish-fail",
".admonish-failure",
".admonish-missing",
),
"pink": (
".cite",
".quote",
".admonish-cite",
".admonish-quote",
),
);

Expand Down

0 comments on commit ba711b6

Please sign in to comment.