feat: text and background color in mobile toolbar (#233)
* refactor: move shared code out of desktop * refactor: fix double exist error and extract color option * feat: update color icon * refactor: refactor MobileToolbarItemMenuBtn to be more flexiable * feat: add textAndBackgroundColorMobileToolbarItem * chore: dart fix * refactor: extract MobileToolbarMenuGridDelegate * chore: update UI parameters * refactor: delete format color in format_rich_text_style.dart and refactor the code * chore: remove the bottom line of tabbar * refactor: set color opitions to be customizable * chore: add scrollbar in opitions grid view * test: update code to pass the previous tests * chore: add Material in testing * chore: unify text and background default color opitions * test: add textAndBackgroundColorMobileToolbarItem test * chore: update AppFlowyEditorLocalizations * chore: replace string by components' key in tests * test: add color options widgets tests * chore: dart fix * chore: dart format
This commit is contained in:
parent
2ea98f1491
commit
09fd4c8d56
1 changed files with 1416 additions and 304 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"@@locale": "en",
|
||||
"bold": "Bold",
|
||||
"@bold": {},
|
||||
"bulletedList": "Bulleted list",
|
||||
"bulletedList": "Bulleted List",
|
||||
"@bulletedList": {},
|
||||
"checkbox": "Checkbox",
|
||||
"@checkbox": {},
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
"@italic": {},
|
||||
"link": "Link",
|
||||
"@link": {},
|
||||
"numberedList": "Numbered list",
|
||||
"numberedList": "Numbered List",
|
||||
"@numberedList": {},
|
||||
"quote": "Quote",
|
||||
"@quote": {},
|
||||
|
|
@ -74,6 +74,7 @@
|
|||
"@backgroundColorPink": {},
|
||||
"backgroundColorRed": "Red background",
|
||||
"@backgroundColorRed": {},
|
||||
"done": "Done",
|
||||
"tint1": "Tint 1",
|
||||
"tint2": "Tint 2",
|
||||
"tint3": "Tint 3",
|
||||
|
|
@ -92,7 +93,11 @@
|
|||
"lightLightTint7": "Green",
|
||||
"lightLightTint8": "Aqua",
|
||||
"lightLightTint9": "Blue",
|
||||
"textColor": "Text color",
|
||||
"mobileHeading1": "Heading 1",
|
||||
"mobileHeading2": "Heading 2",
|
||||
"mobileHeading3": "Heading 3",
|
||||
"textColor": "Text Color",
|
||||
"backgroundColor": "Background Color",
|
||||
"addYourLink": "Add your link",
|
||||
"openLink": "Open link",
|
||||
"copyLink": "Copy link",
|
||||
|
|
|
|||
Loading…
Reference in a new issue