diff --git a/lib/app/constant.dart b/lib/app/constant.dart index a5f128e..2d8564c 100644 --- a/lib/app/constant.dart +++ b/lib/app/constant.dart @@ -9,6 +9,7 @@ class Constant { // color theme static Color textBlack = const Color(0xff212B36); + static Color textDarkGrey = const Color(0xff637381); static Color textLightGrey = const Color(0xff919EAB); // size convertion @@ -41,10 +42,43 @@ class Constant { ); } + static TextStyle titleH2_600_14({required BuildContext context}) { + return TextStyle( + fontSize: Constant.getActualYPhone(context: context, y: 14), + fontWeight: FontWeight.w600, + fontFamily: 'Public Sans' + ); + } + + static TextStyle titleH2_700({required BuildContext context}) { + return TextStyle( + fontFamily: 'Quicksand', + fontSize: Constant.getActualYPhone(context: context, y: 14), + fontWeight: FontWeight.w700, + ); + } + + static TextStyle logintitle_700({required BuildContext context}) { return TextStyle( fontSize: Constant.getActualYPhone(context: context, y: 15), fontWeight: FontWeight.w700, ); } + + static TextStyle time_700({required BuildContext context}) { + return TextStyle( + fontSize: Constant.getActualYPhone(context: context, y: 28), + fontWeight: FontWeight.w700, + fontFamily: 'Quicksand', + ); + } + + static TextStyle date_600({required BuildContext context}) { + return TextStyle( + fontSize: Constant.getActualYPhone(context: context, y: 16), + fontWeight: FontWeight.w600, + fontFamily: 'Quicksand', + ); + } }