feat(core): add transparent as default shape fill (#10801)

This commit is contained in:
hackerESQ
2025-03-16 06:58:50 -05:00
committed by GitHub
parent d7d512084e
commit fff15222d9

View File

@@ -49,6 +49,7 @@ const NoteBackgroundColorMap = {
Black: getColorByKey('edgeless/note/black'),
Grey: getColorByKey('edgeless/note/grey'),
White: getColorByKey('edgeless/note/white'),
Transparent: Transparent,
} as const;
const Palettes: Palette[] = [
@@ -78,7 +79,7 @@ const StrokeColorShortPalettes: Palette[] = [
...buildPalettes(StrokeColorShortMap),
] as const;
const FillColorShortMap = { ...Medium, Black, White } as const;
const FillColorShortMap = { ...Medium, Black, White, Transparent } as const;
const FillColorShortPalettes: Palette[] = [
...buildPalettes(FillColorShortMap),