Skip to content

Commit

Permalink
chore: update fontFamily in button theme (#4251)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1204 authored Dec 30, 2023
1 parent 36cf653 commit ca50e56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ class _MobileBoardTrailingState extends State<MobileBoardTrailing> {
icon: const Icon(Icons.add),
label: Text(
LocaleKeys.board_column_newGroup.tr(),
style: style.textTheme.bodyMedium!.copyWith(
fontWeight: FontWeight.w600,
),
),
onPressed: () => setState(
() => isEditing = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ class MobileAppearance extends BaseAppearance {
fixedSize: MaterialStateProperty.all(const Size.fromHeight(48)),
elevation: MaterialStateProperty.all(0),
textStyle: MaterialStateProperty.all(
const TextStyle(
TextStyle(
fontSize: 14,
fontFamily: fontStyle.fontFamily,
fontWeight: FontWeight.w600,
),
),
Expand All @@ -139,8 +140,9 @@ class MobileAppearance extends BaseAppearance {
outlinedButtonTheme: OutlinedButtonThemeData(
style: ButtonStyle(
textStyle: MaterialStateProperty.all(
const TextStyle(
TextStyle(
fontSize: 14,
fontFamily: fontStyle.fontFamily,
fontWeight: FontWeight.w500,
),
),
Expand Down

0 comments on commit ca50e56

Please sign in to comment.