-
-
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.
Handle the incoming Images, uploading images and no image posts. (#2016)
* Made the whole new UI * drafdt * Completed the profile page * Add the report icon for the post * Corrected the the bottom modal * Merge conflict resolved * formating * formating * formating * formating * Increased the coverage * Increased the coverage * Increased the coverage * f * removed useless test for now * flutter version increse * Upgraded the flutter version * change flutter v in workflows * Upgrad the flutter version, and upgraded the flutter lint, and fixed all the lints * dart format * Upload and dwonload photos implemented in mobile app * changes * formating * formating * formating * default linting error * default linting error * chore: Add docs and appropiate tests. * chore: Some more docs * Add all docs of all changed files. * chore: Remove useless package * Foramtting * merge * sdk upgrade * formatting
- Loading branch information
1 parent
4ac38dc
commit fd32403
Showing
75 changed files
with
1,839 additions
and
1,345 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
// ignore_for_file: talawa_api_doc | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter/rendering.dart'; | ||
// import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
|
||
/// 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
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
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.