Skip to content

Commit

Permalink
Apply for google fonts for decorator style
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Nov 6, 2023
1 parent 556aaa1 commit 5c69c49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:fluffychat/presentation/decorators/chat_list/subtitle_text_style_decorator/subtitle_text_style_component.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:linagora_design_flutter/linagora_design_flutter.dart';
import 'package:matrix/matrix.dart';

Expand Down Expand Up @@ -31,6 +32,7 @@ class ReadChatListSubtitleTextStyleDecorator
TextStyle textStyle(Room room) {
return LinagoraTextStyle.material().bodyMedium3.copyWith(
color: LinagoraSysColors.material().onSurface,
fontFamily: GoogleFonts.inter().fontFamily,
);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:fluffychat/presentation/decorators/chat_list/title_text_style_decorator/title_text_style_component.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:linagora_design_flutter/linagora_design_flutter.dart';
import 'package:matrix/matrix.dart';

Expand Down Expand Up @@ -31,6 +32,7 @@ class ReadChatListTitleTextStyleDecorator
TextStyle textStyle(Room room) {
return LinagoraTextStyle.material().bodyLarge2.copyWith(
color: LinagoraSysColors.material().onSurface,
fontFamily: GoogleFonts.inter().fontFamily,
);
}
}
Expand Down

0 comments on commit 5c69c49

Please sign in to comment.