From d6b30efe2c3a0ac258e9be982861c2102a7764d2 Mon Sep 17 00:00:00 2001 From: KVOJJJin Date: Tue, 3 Jun 2025 13:53:24 +0800 Subject: [PATCH] Fix/dark theme style issues (#20566) --- web/app/components/base/radio/component/radio/index.tsx | 5 +++-- .../components/editor/code-editor/editor-support-vars.tsx | 2 +- .../nodes/_base/components/variable/var-type-picker.tsx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/app/components/base/radio/component/radio/index.tsx b/web/app/components/base/radio/component/radio/index.tsx index eddc53dd7f..7788226484 100644 --- a/web/app/components/base/radio/component/radio/index.tsx +++ b/web/app/components/base/radio/component/radio/index.tsx @@ -37,14 +37,15 @@ export default function Radio({ const isChecked = groupContext ? groupContext.value === value : checked const divClassName = ` flex items-center py-1 relative - px-7 cursor-pointer hover:bg-gray-200 rounded + px-7 cursor-pointer text-text-secondary rounded + bg-components-option-card-option-bg hover:bg-components-option-card-option-bg-hover hover:shadow-xs ` return (
handleChange(value)} diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx b/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx index 7798ed3cb2..abc7d8dbc4 100644 --- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx +++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx @@ -148,7 +148,7 @@ const CodeEditor: FC = ({ {isShowVarPicker && (
= ({ offset={4} > setOpen(!open)} className='w-[120px] cursor-pointer'> -
+
{value}