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(sheets-ui): update background color for selected state in dark mode (#6383)
白熱62b5786644f6
diff --git a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsxindex e99fcae2ad..d43686b84b 100644--- a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx+++ b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx@@ -62,7 +62,7 @@ export function SheetBarItem(props: IBaseSheetBarProps) {`, {'dark:!univer-text-white': !color || (color && !getTextColor(color)),'univer-justify-center univer-bg-white univer-font-bold univer-text-primary-700 univer-shadow': currentSelected,- 'dark:!univer-bg-gray-900': currentSelected && !color,+ 'dark:!univer-bg-gray-700': currentSelected && !color,'univer-font-medium univer-text-gray-900 hover:univer-bg-gray-100': !currentSelected,'dark:hover:!univer-bg-gray-700': !currentSelected && !color,})}