chore: update fontFamily in button theme (#4251)

This commit is contained in:
Yijing Huang 2023-12-30 00:48:20 -07:00 committed by GitHub
parent 36cf653d64
commit ca50e56474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -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,

View File

@ -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,
),
),
@ -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,
),
),