There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(core): add transparent as default shape fill (#10801)
hackerESQfff15222d9f1
diff --git a/blocksuite/affine/model/src/themes/default.ts b/blocksuite/affine/model/src/themes/default.tsindex ed70a64180..ebc6f58e3c 100644--- a/blocksuite/affine/model/src/themes/default.ts+++ b/blocksuite/affine/model/src/themes/default.ts@@ -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),