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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(ui): fix tooltip for dark mode styling (#5974)
白熱252e8d3f0a27
diff --git a/packages/design/src/components/tooltip/Tooltip.tsx b/packages/design/src/components/tooltip/Tooltip.tsxindex 48f58f7016..64f5246143 100644--- a/packages/design/src/components/tooltip/Tooltip.tsx+++ b/packages/design/src/components/tooltip/Tooltip.tsx@@ -259,7 +259,7 @@ export function Tooltip(props: ITooltipProps) {ref={arrowRef}className={`univer-absolute univer-size-2.5 univer-rotate-45 univer-rounded-sm univer-bg-gray-700- dark:univer-bg-gray-100+ dark:!univer-bg-gray-100`}style={{// position arrow based on placementdiff --git a/packages/sheets-filter-ui/src/views/components/SheetsFilterSyncSwitch.tsx b/packages/sheets-filter-ui/src/views/components/SheetsFilterSyncSwitch.tsxindex b00b3cdeb7..7986bfc249 100644--- a/packages/sheets-filter-ui/src/views/components/SheetsFilterSyncSwitch.tsx+++ b/packages/sheets-filter-ui/src/views/components/SheetsFilterSyncSwitch.tsx@@ -33,7 +33,7 @@ export function FilterSyncSwitch() {<divclassName={`univer-mt-2 univer-flex univer-items-center univer-justify-between univer-text-sm univer-text-gray-900- dark:univer-text-gray-200+ dark:!univer-text-gray-200`}><div className="univer-flex univer-items-center univer-gap-1">