From 7a85c159db695424949904b23f5afd1a86f7e7e1 Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Fri, 22 Sep 2023 14:32:49 +0900 Subject: [PATCH] chore: comment --- packages/app-solid/src/stories.tsx | 2 +- packages/tiny-toast/src/preact/dev.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/app-solid/src/stories.tsx b/packages/app-solid/src/stories.tsx index b945830..1c220ea 100644 --- a/packages/app-solid/src/stories.tsx +++ b/packages/app-solid/src/stories.tsx @@ -249,7 +249,7 @@ export function StoryToast() { toast.custom(({ h, toast, item }) => h("div", { class: "flex items-center gap-2" }, [ h("span", { - class: "i-ri-aliens-fill text-colorPrimary text-2xl", + class: "i-ri-aliens-fill text-colorWarning text-2xl", }), h("span", {}, "Custom"), h("button", { diff --git a/packages/tiny-toast/src/preact/dev.tsx b/packages/tiny-toast/src/preact/dev.tsx index ae17437..c9084ab 100644 --- a/packages/tiny-toast/src/preact/dev.tsx +++ b/packages/tiny-toast/src/preact/dev.tsx @@ -36,13 +36,12 @@ function Demo() { toast.custom(({ h, toast, item }) => h("div", { class: "flex items-center gap-2" }, [ h("span", { - class: "i-ri-aliens-fill text-colorPrimary text-2xl", + class: "i-ri-aliens-fill text-colorWarning text-2xl", }), h("span", {}, "Custom"), h("button", { class: "antd-btn antd-btn-ghost i-ri-close-line text-colorTextSecondary text-lg", - // TODO: collapsing in the middle of toast list not working? onClick: () => toast.dismiss(item.id), }), ])