feat(editor): group configuration of note styles to panel from toolbar (#12230)
Close [BS-3401](https://linear.app/affine-design/issue/BS-3401/note-style-需要合并同类项) 
This commit is contained in:
@@ -38,16 +38,13 @@ const Heavy = {
|
||||
} as const;
|
||||
|
||||
const NoteBackgroundColorMap = {
|
||||
Yellow: getColorByKey('edgeless/note/yellow'),
|
||||
Orange: getColorByKey('edgeless/note/orange'),
|
||||
Red: getColorByKey('edgeless/note/red'),
|
||||
Magenta: getColorByKey('edgeless/note/magenta'),
|
||||
Purple: getColorByKey('edgeless/note/purple'),
|
||||
Blue: getColorByKey('edgeless/note/blue'),
|
||||
Teal: getColorByKey('edgeless/note/teal'),
|
||||
Orange: getColorByKey('edgeless/note/orange'),
|
||||
Yellow: getColorByKey('edgeless/note/yellow'),
|
||||
Green: getColorByKey('edgeless/note/green'),
|
||||
Black: getColorByKey('edgeless/note/black'),
|
||||
Grey: getColorByKey('edgeless/note/grey'),
|
||||
Blue: getColorByKey('edgeless/note/blue'),
|
||||
Purple: getColorByKey('edgeless/note/purple'),
|
||||
Magenta: getColorByKey('edgeless/note/magenta'),
|
||||
White: getColorByKey('edgeless/note/white'),
|
||||
Transparent: Transparent,
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user