import 'package:flutter/material.dart'; import 'package:hadi_hoda_flutter/common_ui/resources/my_colors.dart'; class DinoKids { static const DinoKids _i = DinoKids._internal(); const DinoKids._internal(); factory DinoKids() => _i; static const String fontFamily = 'DinoKids'; /// Regular static const TextStyle regular17 = TextStyle( fontFamily: fontFamily, fontSize: 17, fontWeight: FontWeight.w400, ); static const TextStyle regular26 = TextStyle( fontFamily: fontFamily, fontSize: 26, fontWeight: FontWeight.w400, ); static const TextStyle regular35 = TextStyle( fontFamily: fontFamily, fontSize: 35, fontWeight: FontWeight.w400, ); static const TextStyle regular40 = TextStyle( fontFamily: fontFamily, fontSize: 40, fontWeight: FontWeight.w400, ); static const TextStyle regular45 = TextStyle( fontFamily: fontFamily, fontSize: 45, fontWeight: FontWeight.w400, ); static const TextStyle regular = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w400, ); } class Marhey { static const Marhey _i = Marhey._internal(); const Marhey._internal(); factory Marhey() => _i; static const String fontFamily = 'Marhey'; /// Medium static const TextStyle medium12 = TextStyle( fontFamily: fontFamily, fontSize: 12, fontWeight: FontWeight.w500, ); static const TextStyle medium14 = TextStyle( fontFamily: fontFamily, fontSize: 14, fontWeight: FontWeight.w500, ); static const TextStyle medium16 = TextStyle( fontFamily: fontFamily, fontSize: 16, fontWeight: FontWeight.w500, ); static const TextStyle medium22 = TextStyle( fontFamily: fontFamily, fontSize: 22, fontWeight: FontWeight.w500, ); /// Semi Bold static const TextStyle semiBold17 = TextStyle( fontFamily: fontFamily, fontSize: 17, fontWeight: FontWeight.w600, ); static const TextStyle semiBold18 = TextStyle( fontFamily: fontFamily, fontSize: 18, fontWeight: FontWeight.w600, ); static const TextStyle semiBold22 = TextStyle( fontFamily: fontFamily, fontSize: 22, fontWeight: FontWeight.w600, ); /// Bold static const TextStyle bold12 = TextStyle( fontFamily: fontFamily, fontSize: 12, fontWeight: FontWeight.w700, ); static const TextStyle bold14 = TextStyle( fontFamily: fontFamily, fontSize: 14, fontWeight: FontWeight.w700, ); static const TextStyle bold26 = TextStyle( fontFamily: fontFamily, fontSize: 26, fontWeight: FontWeight.w700, ); static const TextStyle semiBold = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w600, ); static const TextStyle bold = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w700, ); } class Baloo2 { static const Baloo2 _i = Baloo2._internal(); const Baloo2._internal(); factory Baloo2() => _i; static const String fontFamily = 'Baloo_2'; static const TextStyle medium = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w500, ); static const TextStyle semiBold = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w600, ); static const TextStyle bold = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w700, ); static const TextStyle extraBold = TextStyle( fontFamily: fontFamily, fontWeight: FontWeight.w800, ); } class MYTextStyle { static const MYTextStyle _i = MYTextStyle._internal(); const MYTextStyle._internal(); factory MYTextStyle() => _i; static const String dinoKids = 'DinoKids'; static const String marhey = 'Marhey'; static const String baloo2 = 'Baloo_2'; static const Color textColor = MyColors.white; static const TextStyle titr0 = TextStyle( fontFamily: marhey, fontWeight: FontWeight.w700, fontSize: 26, color: textColor, ); static const TextStyle titr1 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w800, fontSize: 20, color: textColor, ); static const TextStyle titr3 = TextStyle( fontFamily: marhey, fontWeight: FontWeight.w600, fontSize: 18, color: textColor, ); static const TextStyle titr4 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w700, fontSize: 14, color: textColor, ); static const TextStyle matn1 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w600, fontSize: 18, color: textColor, ); static const TextStyle matn2_3 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w700, fontSize: 18, color: textColor, ); static const TextStyle matn2_2 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w700, fontSize: 16, color: textColor, ); static const TextStyle matn2 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w700, fontSize: 14, color: textColor, ); static const TextStyle matn3 = TextStyle( fontFamily: baloo2, fontWeight: FontWeight.w500, fontSize: 12, color: textColor, ); static const TextStyle button1 = TextStyle( fontFamily: dinoKids, fontWeight: FontWeight.w400, fontSize: 45, color: textColor, ); static const TextStyle button2 = TextStyle( fontFamily: dinoKids, fontWeight: FontWeight.w400, fontSize: 30, color: textColor, ); }