Skip to content

Commit ca50e56

Browse files
authored
chore: update fontFamily in button theme (#4251)
1 parent 36cf653 commit ca50e56

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

frontend/appflowy_flutter/lib/mobile/presentation/database/board/widgets/mobile_board_trailing.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ class _MobileBoardTrailingState extends State<MobileBoardTrailing> {
118118
icon: const Icon(Icons.add),
119119
label: Text(
120120
LocaleKeys.board_column_newGroup.tr(),
121+
style: style.textTheme.bodyMedium!.copyWith(
122+
fontWeight: FontWeight.w600,
123+
),
121124
),
122125
onPressed: () => setState(
123126
() => isEditing = true,

frontend/appflowy_flutter/lib/workspace/application/settings/appearance/mobile_appearance.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ class MobileAppearance extends BaseAppearance {
119119
fixedSize: MaterialStateProperty.all(const Size.fromHeight(48)),
120120
elevation: MaterialStateProperty.all(0),
121121
textStyle: MaterialStateProperty.all(
122-
const TextStyle(
122+
TextStyle(
123123
fontSize: 14,
124+
fontFamily: fontStyle.fontFamily,
124125
fontWeight: FontWeight.w600,
125126
),
126127
),
@@ -139,8 +140,9 @@ class MobileAppearance extends BaseAppearance {
139140
outlinedButtonTheme: OutlinedButtonThemeData(
140141
style: ButtonStyle(
141142
textStyle: MaterialStateProperty.all(
142-
const TextStyle(
143+
TextStyle(
143144
fontSize: 14,
145+
fontFamily: fontStyle.fontFamily,
144146
fontWeight: FontWeight.w500,
145147
),
146148
),

0 commit comments

Comments
 (0)