feat(core): add transparent as default shape fill (#10801)
This commit is contained in:
@@ -49,6 +49,7 @@ const NoteBackgroundColorMap = {
|
|||||||
Black: getColorByKey('edgeless/note/black'),
|
Black: getColorByKey('edgeless/note/black'),
|
||||||
Grey: getColorByKey('edgeless/note/grey'),
|
Grey: getColorByKey('edgeless/note/grey'),
|
||||||
White: getColorByKey('edgeless/note/white'),
|
White: getColorByKey('edgeless/note/white'),
|
||||||
|
Transparent: Transparent,
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
const Palettes: Palette[] = [
|
const Palettes: Palette[] = [
|
||||||
@@ -78,7 +79,7 @@ const StrokeColorShortPalettes: Palette[] = [
|
|||||||
...buildPalettes(StrokeColorShortMap),
|
...buildPalettes(StrokeColorShortMap),
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const FillColorShortMap = { ...Medium, Black, White } as const;
|
const FillColorShortMap = { ...Medium, Black, White, Transparent } as const;
|
||||||
|
|
||||||
const FillColorShortPalettes: Palette[] = [
|
const FillColorShortPalettes: Palette[] = [
|
||||||
...buildPalettes(FillColorShortMap),
|
...buildPalettes(FillColorShortMap),
|
||||||
|
|||||||
Reference in New Issue
Block a user