mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update fontFamily in button theme (#4251)
This commit is contained in:
parent
36cf653d64
commit
ca50e56474
@ -118,6 +118,9 @@ class _MobileBoardTrailingState extends State<MobileBoardTrailing> {
|
|||||||
icon: const Icon(Icons.add),
|
icon: const Icon(Icons.add),
|
||||||
label: Text(
|
label: Text(
|
||||||
LocaleKeys.board_column_newGroup.tr(),
|
LocaleKeys.board_column_newGroup.tr(),
|
||||||
|
style: style.textTheme.bodyMedium!.copyWith(
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onPressed: () => setState(
|
onPressed: () => setState(
|
||||||
() => isEditing = true,
|
() => isEditing = true,
|
||||||
|
@ -119,8 +119,9 @@ class MobileAppearance extends BaseAppearance {
|
|||||||
fixedSize: MaterialStateProperty.all(const Size.fromHeight(48)),
|
fixedSize: MaterialStateProperty.all(const Size.fromHeight(48)),
|
||||||
elevation: MaterialStateProperty.all(0),
|
elevation: MaterialStateProperty.all(0),
|
||||||
textStyle: MaterialStateProperty.all(
|
textStyle: MaterialStateProperty.all(
|
||||||
const TextStyle(
|
TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
|
fontFamily: fontStyle.fontFamily,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -139,8 +140,9 @@ class MobileAppearance extends BaseAppearance {
|
|||||||
outlinedButtonTheme: OutlinedButtonThemeData(
|
outlinedButtonTheme: OutlinedButtonThemeData(
|
||||||
style: ButtonStyle(
|
style: ButtonStyle(
|
||||||
textStyle: MaterialStateProperty.all(
|
textStyle: MaterialStateProperty.all(
|
||||||
const TextStyle(
|
TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
|
fontFamily: fontStyle.fontFamily,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user