From 735bdf71bb29bc9c7b9070ce786452e79e9c8908 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 27 Sep 2023 06:53:40 +0000 Subject: [PATCH] :pencil2: Fix warning admonition alias --- packages/theme-nonepress/src/theme/Admonition/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme-nonepress/src/theme/Admonition/index.tsx b/packages/theme-nonepress/src/theme/Admonition/index.tsx index 2ce49e9..658d145 100644 --- a/packages/theme-nonepress/src/theme/Admonition/index.tsx +++ b/packages/theme-nonepress/src/theme/Admonition/index.tsx @@ -167,7 +167,7 @@ const aliases = { secondary: "note", important: "info", success: "tip", - warning: "danger", + warning: "caution", } as const; function getAdmonitionConfig(unsafeType: string): AdmonitionConfig {