TF-736 Apply new design for rich text button

This commit is contained in:
dab246
2022-07-25 16:31:18 +07:00
committed by Dat H. Pham
parent 3538212266
commit 1165e000f0
9 changed files with 221 additions and 140 deletions
@@ -126,6 +126,8 @@ extension AppColor on Color {
static const colorStyleBlockQuote = Color(0xFFEEEEEE);
static const colorBorderStyleCode = Color(0xFFCCCCCC);
static const colorBackgroundStyleCode = Color(0xFFF5F5F5);
static const colorBorderWrapIconStyleCode = Color(0xFFE4E4E4);
static const colorBackgroundWrapIconStyleCode = Color(0xFFF2F3F5);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -135,6 +135,8 @@ class ImagePaths {
String get icStyleStrikeThrough => _getImagePath('ic_style_strikethrough.svg');
String get icStyleCodeView => _getImagePath('ic_style_code_view.svg');
String get icStyleHeader => _getImagePath('ic_style_header.svg');
String get icStyleColor => _getImagePath('ic_style_color.svg');
String get icStyleArrowDown => _getImagePath('ic_style_arrow_down.svg');
String _getImagePath(String imageName) {
return AssetsPaths.images + imageName;