From 10ece6823822e489c886820ca2e6150ecf6c6aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E7=86=B1?= Date: Sat, 17 May 2025 00:53:45 +0800 Subject: [PATCH] fix(sheets-formula-ui): fix darkmode styles (#5216) --- packages/docs-quick-insert-ui/src/views/menu/index.tsx | 2 +- .../src/views/formula-editor/help-function/HelpFunction.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs-quick-insert-ui/src/views/menu/index.tsx b/packages/docs-quick-insert-ui/src/views/menu/index.tsx index 5e2cfb9d42..7117d7b512 100644 --- a/packages/docs-quick-insert-ui/src/views/menu/index.tsx +++ b/packages/docs-quick-insert-ui/src/views/menu/index.tsx @@ -83,7 +83,7 @@ export const QuickInsertButton = ({ className = '' }: IQuickInsertButtonProps) = hover:univer-bg-gray-100 `, borderClassName, { 'univer-bg-gray-100 dark:!univer-bg-gray-700': editPopup, - 'univer-bg-white dark:univer-bg-gray-900': !editPopup, + 'univer-bg-white dark:!univer-bg-gray-900': !editPopup, }, className)} role="button" tabIndex={0} diff --git a/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx b/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx index f238b22c07..43f24e14d6 100644 --- a/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx +++ b/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx @@ -130,7 +130,7 @@ export function HelpFunction(props: IHelpFunctionProps) { className={clsx(` univer-m-0 univer-box-border univer-w-[250px] univer-select-none univer-list-none univer-rounded-lg univer-bg-white univer-leading-5 univer-shadow-md univer-outline-none - dark:univer-bg-gray-900 + dark:!univer-bg-gray-900 `, borderClassName)} >