From 71704a713bf17fb35530b9a28e9e392bb30c7b12 Mon Sep 17 00:00:00 2001 From: KVOJJJin Date: Thu, 15 May 2025 16:07:52 +0800 Subject: [PATCH] Fix: style of check list in dark mode (#19744) --- web/app/components/app/app-publisher/suggested-action.tsx | 4 ++-- web/app/components/workflow/header/checklist.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/components/app/app-publisher/suggested-action.tsx b/web/app/components/app/app-publisher/suggested-action.tsx index 388fb8bc76..ab0237a9b2 100644 --- a/web/app/components/app/app-publisher/suggested-action.tsx +++ b/web/app/components/app/app-publisher/suggested-action.tsx @@ -14,8 +14,8 @@ const SuggestedAction = ({ icon, link, disabled, children, className, ...props } target='_blank' rel='noreferrer' className={classNames( - 'flex justify-start items-center gap-2 py-2 px-2.5 bg-background-section-burn rounded-lg transition-colors [&:not(:first-child)]:mt-1', - disabled ? 'shadow-xs opacity-30 cursor-not-allowed' : 'text-text-secondary hover:bg-state-accent-hover hover:text-text-accent cursor-pointer', + 'flex justify-start items-center gap-2 py-2 px-2.5 bg-background-section-burn text-text-secondary rounded-lg transition-colors [&:not(:first-child)]:mt-1', + disabled ? 'shadow-xs opacity-30 cursor-not-allowed' : 'hover:bg-state-accent-hover hover:text-text-accent cursor-pointer', className, )} {...props} diff --git a/web/app/components/workflow/header/checklist.tsx b/web/app/components/workflow/header/checklist.tsx index 374726cbeb..c14ab1f6e5 100644 --- a/web/app/components/workflow/header/checklist.tsx +++ b/web/app/components/workflow/header/checklist.tsx @@ -142,8 +142,8 @@ const WorkflowChecklist = ({ } { node.varErrorMessage?.map((errorMessage: string) => ( -
-
+
+
{errorMessage}