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-filter-ui): add dark mode text color for filter panel (#5521)

白熱6e3ee631a35f
diff --git a/packages/sheets-filter-ui/src/views/components/SheetsFilterByColorsPanel.tsx b/packages/sheets-filter-ui/src/views/components/SheetsFilterByColorsPanel.tsx
index b8a4060384..f108e7cf67 100644
--- a/packages/sheets-filter-ui/src/views/components/SheetsFilterByColorsPanel.tsx
+++ b/packages/sheets-filter-ui/src/views/components/SheetsFilterByColorsPanel.tsx
@@ -148,6 +148,7 @@ export function FilterByColor(props: { model: ByColorsModel }) {
className={`
univer-flex univer-h-full univer-w-full univer-items-center univer-justify-center
univer-text-sm univer-text-gray-900
+ dark:!univer-text-gray-200
`}
>
{localeService.t('sheets-filter.panel.filter-by-color-none')}