Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore(flutter_desktop): improve title and heading appearance (#6658)
Richard Shiue8f58c394484b
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/cover_title.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/cover_title.dartindex d533dd5343..f5ad854d1c 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/cover_title.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/header/cover_title.dart@@ -103,7 +103,7 @@ class _InnerCoverTitleState extends State<_InnerCoverTitle> {final fontStyle = Theme.of(context).textTheme.bodyMedium!- .copyWith(fontSize: 38.0, fontWeight: FontWeight.w700);+ .copyWith(fontSize: 40.0, fontWeight: FontWeight.w700);final width = context.read<DocumentAppearanceCubit>().state.width;return BlocConsumer<ViewBloc, ViewState>(listenWhen: (previous, current) =>diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dartindex bcb0a2256e..0303743337 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart@@ -173,8 +173,6 @@ class EditorStyleCustomizer {final String? fontFamily;final List<double> fontSizes;final double fontSize;- final FontWeight fontWeight =- level <= 2 ? FontWeight.w700 : FontWeight.w600;if (UniversalPlatform.isMobile) {final state = context.read<DocumentPageStyleBloc>().state;fontFamily = state.fontFamily;@@ -192,7 +190,7 @@ class EditorStyleCustomizer {fontSize,];}- return baseTextStyle(fontFamily, fontWeight: fontWeight).copyWith(+ return baseTextStyle(fontFamily, fontWeight: FontWeight.w600).copyWith(fontSize: fontSizes.elementAtOrNull(level - 1) ?? fontSize,);}