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
|
import { scaleVertical } from '../../utils/scale';
export const GradientButtonTypes = (theme) => ({
_base: {
button: {
alignItems: 'stretch',
paddingVertical: 0,
paddingHorizontal: 0,
height: scaleVertical(40),
borderRadius: 20,
},
gradient: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
borderRadius: 20,
colors: theme.colors.gradients.base,
},
text: {
backgroundColor: 'transparent',
color: theme.colors.text.inverse,
},
},
large: {
button: {
alignSelf: 'stretch',
height: scaleVertical(56),
borderRadius: 28,
},
gradient: {
borderRadius: 28,
},
},
statItem: {
button: {
flex: 1,
borderRadius: 5,
marginHorizontal: 10,
height: null,
alignSelf: 'auto',
},
gradient: {
flex: 1,
borderRadius: 5,
padding: 10,
},
},
});
|