update: add outline color as constant
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
|||||||
LAST_ROW,
|
LAST_ROW,
|
||||||
outlineBackgroundColor,
|
outlineBackgroundColor,
|
||||||
outlineColor,
|
outlineColor,
|
||||||
|
outlineEditingColor,
|
||||||
ROW_HEIGH_SCALE,
|
ROW_HEIGH_SCALE,
|
||||||
} from "../WorksheetCanvas/constants";
|
} from "../WorksheetCanvas/constants";
|
||||||
import WorksheetCanvas from "../WorksheetCanvas/worksheetCanvas";
|
import WorksheetCanvas from "../WorksheetCanvas/worksheetCanvas";
|
||||||
@@ -539,7 +540,7 @@ const EditorWrapper = styled("div")`
|
|||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
outline: 3px solid #FBE0C9;
|
outline: 3px solid ${outlineEditingColor};
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
span {
|
span {
|
||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export const gridSeparatorColor = "#E0E0E0";
|
|||||||
export const defaultTextColor = "#2E414D";
|
export const defaultTextColor = "#2E414D";
|
||||||
|
|
||||||
export const outlineColor = "#F2994A";
|
export const outlineColor = "#F2994A";
|
||||||
|
export const outlineEditingColor = "#FBE0C9";
|
||||||
export const outlineBackgroundColor = "#F2994A1A";
|
export const outlineBackgroundColor = "#F2994A1A";
|
||||||
|
|
||||||
export const LAST_COLUMN = 16_384;
|
export const LAST_COLUMN = 16_384;
|
||||||
|
|||||||
Reference in New Issue
Block a user