8/11/1
This commit is contained in:
@@ -6,47 +6,31 @@ import 'box_name.dart';
|
||||
import 'colors.dart';
|
||||
|
||||
class AppStyle {
|
||||
static TextStyle headTitle = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 40,
|
||||
color: AppColor.accentColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'en'
|
||||
? GoogleFonts.josefinSans().fontFamily
|
||||
: box.read(BoxName.lang) == 'ar'
|
||||
? GoogleFonts.habibi().fontFamily
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
static TextStyle headTitle2 = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 26,
|
||||
color: AppColor.primaryColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'en'
|
||||
? GoogleFonts.josefinSans().fontFamily
|
||||
: box.read(BoxName.lang) == 'ar'
|
||||
? GoogleFonts.amiri().fontFamily
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
static TextStyle title = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 16,
|
||||
color: AppColor.primaryColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'en'
|
||||
? GoogleFonts.josefinSans().fontFamily
|
||||
: box.read(BoxName.lang) == 'ar'
|
||||
? GoogleFonts.amiri().fontFamily
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
static TextStyle subtitle = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 13,
|
||||
color: AppColor.primaryColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'en'
|
||||
? GoogleFonts.josefinSans().fontFamily
|
||||
: box.read(BoxName.lang) == 'ar'
|
||||
? GoogleFonts.amiri().fontFamily
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
static TextStyle number = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 14,
|
||||
color: AppColor.primaryColor,
|
||||
fontFamily: GoogleFonts.averiaSansLibre().fontFamily);
|
||||
static TextStyle headTitle = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 40,
|
||||
color: AppColor.accentColor,
|
||||
);
|
||||
static TextStyle headTitle2 = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 26,
|
||||
color: AppColor.primaryColor,
|
||||
);
|
||||
static TextStyle title = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 16,
|
||||
color: AppColor.primaryColor,
|
||||
);
|
||||
static TextStyle subtitle = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 13,
|
||||
color: AppColor.primaryColor,
|
||||
);
|
||||
static TextStyle number = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 14,
|
||||
color: AppColor.primaryColor,
|
||||
);
|
||||
|
||||
static BoxDecoration boxDecoration = const BoxDecoration(
|
||||
borderRadius: BorderRadius.all(Radius.circular(12)),
|
||||
|
||||
Reference in New Issue
Block a user