Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(sheets-formula-ui): fix darkmode styles (#5216)

白熱10ece6823822
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)}
>
<div