TF-3410 Sync changes between web and mobile

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-01-09 03:30:08 +07:00
committed by Dat H. Pham
parent 700e8bc479
commit dfd596011b
17 changed files with 167 additions and 126 deletions
@@ -206,7 +206,6 @@ extension AppColor on Color {
static const colorLineComposer = Color(0xFFF4F4F4);
static const colorPrefixButtonComposer = Color(0xFF8B9CAF);
static const colorRichButtonComposer = Color(0xFFAEAEC0);
static const colorMobileRichButtonComposer = Color(0xFF8C9CAF);
static const colorSelected = Color(0xFFE3F1FF);
static const colorAttachmentBorder = Color(0xFFE5ECF3);
static const colorProgressLoadingBackground = Color(0xFFE3F1FF);
+3 -1
View File
@@ -125,7 +125,9 @@ class HtmlUtils {
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
${useDefaultFont ? '<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">' : ''}
${useDefaultFont && PlatformInfo.isMobile
? '<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">'
: ''}
<style>
${useDefaultFont ? '''
body {