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(sheet): selection color (#1572)

Univer609f907a647b
diff --git a/packages/sheets/src/basics/selection.ts b/packages/sheets/src/basics/selection.ts
index 455eb4b094..3f98c27d3e 100644
--- a/packages/sheets/src/basics/selection.ts
+++ b/packages/sheets/src/basics/selection.ts
@@ -149,7 +149,7 @@ export interface ISelectionWithStyle extends ISelection {
// The default configuration of the selection.
export function getNormalSelectionStyle(themeService: ThemeService): ISelectionStyle {
const styleSheet = themeService.getCurrentTheme();
- const fill = new ColorKit(styleSheet.colorBlack).setAlpha(0.1).toRgbString();
+ const fill = new ColorKit(styleSheet.primaryColor).setAlpha(0.07).toRgbString();
return {
strokeWidth: 1.5,
stroke: styleSheet.primaryColor,