-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy paththeme.ts
More file actions
93 lines (90 loc) · 1.62 KB
/
Copy paththeme.ts
File metadata and controls
93 lines (90 loc) · 1.62 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
export const colors = {
white: '#ffffff',
primary: '#2D2966',
pink: '#F9DCDC',
neutral: {
100: '#776D6A',
200: '#5C4F4A',
300: '#413C3A',
},
gray: '#D9D5D4',
text: '#413C3A',
text2: '#776D6A',
text3: '#47474F',
dark: '#0A0A0A',
successTag: '#E1F3D8',
errorTag: '#F9E7EA',
success: '#6DC347',
border: '#DCDCDE',
} as const;
const fontSizes = {
xs: 10,
sm: 12,
md: 14,
lg: 16,
xl: 18,
xxl: 20,
};
const fontFamily = {
light: 'Manrope_300Light',
regular: 'Manrope_400Regular',
medium: 'Manrope_500Medium',
semiBold: 'Manrope_600SemiBold',
};
export const lightTheme = {
colors,
fontSizes,
fontFamily,
components: {
container: {
alignItems: 'center',
flex: 1,
justifyContent: 'center',
padding: 24,
},
separator: {
height: 1,
marginVertical: 30,
width: '80%',
backgroundColor: 'grey',
},
button: {
alignItems: 'center',
backgroundColor: colors.white,
borderRadius: 24,
elevation: 5,
flexDirection: 'row',
justifyContent: 'center',
padding: 16,
shadowColor: '#000',
shadowOffset: {
height: 2,
width: 0,
},
shadowOpacity: 0.25,
shadowRadius: 3.84,
},
buttonText: {
color: colors.white,
fontSize: 16,
fontWeight: '600',
textAlign: 'center',
},
title: {
fontSize: 20,
fontWeight: 'bold',
},
subtitle: {
color: colors.neutral[100],
fontSize: 36,
},
},
margins: {
sm: 2,
md: 4,
lg: 8,
xl: 12,
xxl: 16,
containerMargin: 24,
},
} as const;