mirror of
https://github.com/dream-num/univer.git
synced 2026-09-24 15:32:18 +08:00
fix(sheets-formula-ui): formula-editor highlight error (#5303)
This commit is contained in:
@@ -265,13 +265,12 @@ export function useColor(): IColorMap {
|
||||
themeService.getColorFromTheme('loop-color.10'),
|
||||
themeService.getColorFromTheme('loop-color.11'),
|
||||
themeService.getColorFromTheme('loop-color.12'),
|
||||
];
|
||||
].map((e) => e.includes('.') ? themeService.getColorFromTheme(e) : e);
|
||||
const numberColor = themeService.getColorFromTheme('blue.700');
|
||||
const stringColor = themeService.getColorFromTheme('jiqing.800');
|
||||
const plainTextColor = themeService.getColorFromTheme('black');
|
||||
return { formulaRefColors, numberColor, stringColor, plainTextColor };
|
||||
}, [theme]);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user