-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathutil.dart
87 lines (73 loc) · 3.98 KB
/
util.dart
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
import 'package:flutter/material.dart';
class CustomColors {
static const Color GreyBackground = Color.fromRGBO(249, 252, 255, 1);
static const Color GreyBorder = Color.fromRGBO(207, 207, 207, 1);
static const Color GreenLight = Color.fromRGBO(93, 230, 26, 1);
static const Color GreenDark = Color.fromRGBO(57, 170, 2, 1);
static const Color GreenIcon = Color.fromRGBO(30, 209, 2, 1);
static const Color GreenAccent = Color.fromRGBO(30, 209, 2, 1);
static const Color GreenShadow = Color.fromRGBO(30, 209, 2, 0.24); // 24%
static const Color GreenBackground =
Color.fromRGBO(181, 255, 155, 0.36); // 36%
static const Color OrangeIcon = Color.fromRGBO(236, 108, 11, 1);
static const Color OrangeBackground =
Color.fromRGBO(255, 208, 155, 0.36); // 36%
static const Color PurpleLight = Color.fromRGBO(248, 87, 195, 1);
static const Color PurpleDark = Color.fromRGBO(224, 19, 156, 1);
static const Color PurpleIcon = Color.fromRGBO(209, 2, 99, 1);
static const Color PurpleAccent = Color.fromRGBO(209, 2, 99, 1);
static const Color PurpleShadow = Color.fromRGBO(209, 2, 99, 0.27); // 27%
static const Color PurpleBackground =
Color.fromRGBO(255, 155, 205, 0.36); // 36%
static const Color DeeppurlpleIcon = Color.fromRGBO(191, 0, 128, 1);
static const Color DeeppurlpleBackground =
Color.fromRGBO(245, 155, 255, 0.36); // 36%
static const Color BlueLight = Color.fromRGBO(126, 182, 255, 1);
static const Color BlueDark = Color.fromRGBO(95, 135, 231, 1);
static const Color BlueIcon = Color.fromRGBO(9, 172, 206, 1);
static const Color BlueBackground =
Color.fromRGBO(155, 255, 248, 0.36); // 36%
static const Color BlueShadow = Color.fromRGBO(104, 148, 238, 1);
static const Color HeaderBlueLight = Color.fromRGBO(129, 199, 245, 1);
static const Color HeaderBlueDark = Color.fromRGBO(56, 103, 213, 1);
static const Color HeaderGreyLight =
Color.fromRGBO(225, 255, 255, 0.31); // 31%
static const Color YellowIcon = Color.fromRGBO(249, 194, 41, 1);
static const Color YellowBell = Color.fromRGBO(225, 220, 0, 1);
static const Color YellowAccent = Color.fromRGBO(255, 213, 6, 1);
static const Color YellowShadow = Color.fromRGBO(243, 230, 37, 0.27); // 27%
static const Color YellowBackground =
Color.fromRGBO(255, 238, 155, 0.36); // 36%
static const Color BellGrey = Color.fromRGBO(217, 217, 217, 1);
static const Color BellYellow = Color.fromRGBO(255, 220, 0, 1);
static const Color TrashRed = Color.fromRGBO(251, 54, 54, 1);
static const Color TrashRedBackground = Color.fromRGBO(255, 207, 207, 1);
static const Color TextHeader = Color.fromRGBO(8, 16, 81, 1);
static const Color TextHeaderGrey = Color.fromRGBO(104, 104, 104, 1);
static const Color TextSubHeaderGrey = Color.fromRGBO(161, 161, 161, 1);
static const Color TextSubHeader = Color.fromRGBO(52, 67, 86, 1);
static const Color TextBody = Color.fromRGBO(130, 160, 183, 1);
static const Color TextGrey = Color.fromRGBO(198, 198, 200, 1);
static const Color TextWhite = Color.fromRGBO(243, 243, 243, 1);
static const Color HeaderCircle = Color.fromRGBO(255, 255, 255, 0.17);
static const Color HintText = Color.fromRGBO(203, 203, 203, 1);
static const Color AccentColor = Color.fromRGBO(84, 104, 255, 1);
static const Color AccentShadow = Color.fromRGBO(84, 184, 255, 0.68);
static const Color GrayShadow = Color.fromRGBO(190, 190, 190, 0.2);
static const Color DropdownHintText = Color.fromRGBO(195,201,240, 1);
static const Color GradientBottom = Color.fromRGBO(194, 212, 248, 1);
static const Color StatusBarColor = Color.fromRGBO(194, 212, 248, 0.3);
static const Color GradientTop = Color.fromRGBO(247, 249, 253, 1);
static const Color GradientMiddle = Color.fromRGBO(244, 248, 255, 1);
static const Color BorderColor = Color.fromRGBO(84, 105, 255, 1);
}
class ui {
static BoxShadow getShadow() {
return BoxShadow(
color: CustomColors.GrayShadow,
blurRadius: 19.0,
spreadRadius: 12.0,
offset: Offset(0.0, 0.0),
);
}
}