-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0ad5fc
commit 33b8150
Showing
23 changed files
with
486 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,165 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter/rendering.dart'; | ||
|
||
// import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
/// This class will be use to uniform the apptheme of the app in future. | ||
|
||
/// Apptheme class. | ||
/// | ||
class AppTheme { | ||
// Text Styles | ||
/// Custom theme for the app. | ||
/// | ||
static TextStyle title = const TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline1 = const TextStyle( | ||
fontSize: 24, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline2 = const TextStyle( | ||
fontSize: 18, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline3 = const TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline4 = const TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline5 = const TextStyle( | ||
fontSize: 12, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle headline6 = const TextStyle( | ||
fontSize: 10, | ||
fontWeight: FontWeight.w600, | ||
color: blackPrimary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle subtitle1 = const TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.w500, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle subtitle2 = const TextStyle( | ||
fontSize: 12, | ||
fontWeight: FontWeight.w500, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle bodyText1 = const TextStyle( | ||
fontSize: 12, | ||
fontWeight: FontWeight.w400, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle bodyText2 = const TextStyle( | ||
fontSize: 8, | ||
fontWeight: FontWeight.w400, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle bodyText3 = const TextStyle( | ||
fontSize: 10, | ||
fontWeight: FontWeight.w400, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle overline = const TextStyle( | ||
fontSize: 6, | ||
fontWeight: FontWeight.w400, | ||
color: blackSecondary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
/// Custom theme for the app. | ||
static TextStyle button = const TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.w600, | ||
color: primary, | ||
fontFamily: 'OpenSans', | ||
); | ||
|
||
// Colors | ||
/// Colors. | ||
/// | ||
/// Custom colors for the app. | ||
static const Color primary = Color(0xFFFFC107); | ||
|
||
/// Custom colors for the app. | ||
static const Color secondary = Color(0xFF795548); | ||
|
||
/// Custom colors for the app. | ||
static const Color tertiary = Color(0xFFA16938); | ||
|
||
/// Custom colors for the app. | ||
static const Color white = Color(0xFFFFFFFF); | ||
|
||
/// Custom colors for the app. | ||
static const Color red = Color(0xFFEB5757); | ||
|
||
/// Custom colors for the app. | ||
static const Color blue = Color(0xFF2196F3); | ||
|
||
/// Custom colors for the app. | ||
static const Color yellow = Color(0xffF6BA18); | ||
|
||
/// Custom colors for the app. | ||
static const Color green = Color(0xFF2ACC00); | ||
|
||
/// Custom colors for the app. | ||
static const Color grey = Color(0xFFD2D2D2); | ||
|
||
/// Custom colors for the app. | ||
static const Color lightGrey = Color(0xFFECECEC); | ||
|
||
/// Custom colors for the app. | ||
static const Color blackPrimary = Color(0xFF3E3E3E); | ||
|
||
/// Custom colors for the app. | ||
static const Color blackSecondary = Color(0xFF636363); | ||
|
||
/// Custom colors for the app. | ||
static const Color blackTertiary = Color(0xFFAEAEAE); | ||
|
||
/// Custom colors for the app. | ||
static const Color shadow = Color(0x408E8E8E); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.