From 8bc00a1957cb3176f3791c77c5e5f434b98f6a9a Mon Sep 17 00:00:00 2001 From: st1020 Date: Mon, 23 Oct 2023 21:18:47 +0800 Subject: [PATCH] fix: admonition color error --- templates/shortcodes/admonition.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/admonition.html b/templates/shortcodes/admonition.html index 5a328df..026d5eb 100644 --- a/templates/shortcodes/admonition.html +++ b/templates/shortcodes/admonition.html @@ -6,7 +6,7 @@ {% elif type == "question" %} {% set admonition_bg = "rgba(100, 221, 23, 0.1)" %} {% elif type == "warning" %} {% set admonition_bg = "rgba(255, 145, 0, 0.1)" %} {% elif type == "failure" %} {% set admonition_bg = "rgba(255, 82, 82, 0.1)" %} -{% elif type == "danger" %} {% set admonition_bg = "rgba(68, 138, 255, 0.1)" %} +{% elif type == "danger" %} {% set admonition_bg = "rgba(255, 23, 68, 0.1)" %} {% elif type == "bug" %} {% set admonition_bg = "rgba(255, 23, 68, 0.1)" %} {% elif type == "example" %} {% set admonition_bg = "rgba(101, 31, 255, 0.1)" %} {% elif type == "quote" %} {% set admonition_bg = "rgba(159, 159, 159, 0.1)" %}