styles.dart
3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import 'package:flutter/material.dart';
import './colors.dart';
/////////////////////////////////
/// TEXT STYLES
////////////////////////////////
const logoStyle = TextStyle(
fontFamily: 'Pacifico',
fontSize: 30,
color: Colors.black54,
letterSpacing: 2);
const logoWhiteStyle = TextStyle(
fontFamily: 'Pacifico',
fontSize: 21,
letterSpacing: 2,
color: Colors.white);
const whiteText = TextStyle(color: Colors.white, fontFamily: 'Poppins');
const disabledText = TextStyle(color: Colors.grey, fontFamily: 'Poppins');
const contrastText = TextStyle(color: primaryColor, fontFamily: 'Poppins');
const contrastTextBold = TextStyle(
color: primaryColor, fontFamily: 'Poppins', fontWeight: FontWeight.w600);
const h3 = TextStyle(
color: Colors.black,
fontSize: 24,
fontWeight: FontWeight.w800,
fontFamily: 'Poppins');
const h4 = TextStyle(
color: Colors.black,
fontSize: 18,
fontWeight: FontWeight.w700,
fontFamily: 'Poppins');
const h5 = TextStyle(
color: Colors.black,
fontSize: 18,
fontWeight: FontWeight.w500,
fontFamily: 'Poppins');
const h6 = TextStyle(
color: Colors.black,
fontSize: 16,
fontWeight: FontWeight.w500,
fontFamily: 'Poppins');
const priceText = TextStyle(
color: Colors.black,
fontSize: 19,
fontWeight: FontWeight.w800,
fontFamily: 'Poppins');
const foodNameText = TextStyle(
color: Colors.black,
fontSize: 17,
fontWeight: FontWeight.w600,
fontFamily: 'Poppins');
const tabLinkStyle =
TextStyle(fontWeight: FontWeight.w500);
const taglineText = TextStyle(color: Colors.grey, fontFamily: 'Poppins');
const categoryText = TextStyle(
color: Color(0xff444444),
fontWeight: FontWeight.w700,
fontFamily: 'Poppins');
const inputFieldTextStyle =
TextStyle(fontFamily: 'Poppins', fontWeight: FontWeight.w500);
const inputFieldHintTextStyle =
TextStyle(fontFamily: 'Poppins', color: Color(0xff444444));
const inputFieldPasswordTextStyle = TextStyle(
fontFamily: 'Poppins', fontWeight: FontWeight.w500, letterSpacing: 3);
const inputFieldHintPaswordTextStyle = TextStyle(
fontFamily: 'Poppins', color: Color(0xff444444), letterSpacing: 2);
///////////////////////////////////
/// BOX DECORATION STYLES
//////////////////////////////////
const authPlateDecoration = BoxDecoration(
color: white,
boxShadow: [
BoxShadow(
color: Color.fromRGBO(0, 0, 0, .1),
blurRadius: 10,
spreadRadius: 5,
offset: Offset(0, 1))
],
borderRadius: BorderRadiusDirectional.only(
bottomEnd: Radius.circular(20), bottomStart: Radius.circular(20)));
/////////////////////////////////////
/// INPUT FIELD DECORATION STYLES
////////////////////////////////////
const inputFieldFocusedBorderStyle = OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(6)),
borderSide: BorderSide(
color: primaryColor,
));
const inputFieldDefaultBorderStyle = OutlineInputBorder(
gapPadding: 0, borderRadius: BorderRadius.all(Radius.circular(6)));