-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathEmbedded.styles.ts
More file actions
96 lines (94 loc) · 1.82 KB
/
Embedded.styles.ts
File metadata and controls
96 lines (94 loc) · 1.82 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
import { StyleSheet } from 'react-native';
import {
backgroundColors,
button,
buttonText,
colors,
container,
hr,
input,
modalButton,
modalButtons,
modalContent,
modalOverlay,
subtitle,
title,
utilityColors
} from '../../constants';
const styles = StyleSheet.create({
button,
buttonText,
container,
embeddedSection: {
display: 'flex',
flexDirection: 'column',
gap: 16,
paddingHorizontal: 16,
},
hr,
inputContainer: {
marginVertical: 10,
},
jsonEditor: {
...input,
fontSize: 12,
height: 220,
},
modalButton,
modalButtons,
modalContent,
modalOverlay,
subtitle: { ...subtitle, textAlign: 'center' },
text: { textAlign: 'center' },
textInput: input,
title: { ...title, textAlign: 'center' },
utilitySection: {
paddingHorizontal: 16,
},
viewTypeButton: {
alignItems: 'center',
borderColor: colors.brandCyan,
borderRadius: 8,
borderWidth: 2,
flex: 1,
paddingHorizontal: 12,
paddingVertical: 8,
},
viewTypeButtonSelected: {
backgroundColor: colors.brandCyan,
},
viewTypeButtonText: {
color: colors.brandCyan,
fontSize: 14,
fontWeight: '600',
},
viewTypeButtonTextSelected: {
color: colors.backgroundPrimary,
},
viewTypeButtons: {
flexDirection: 'row',
gap: 8,
justifyContent: 'space-around',
marginTop: 8,
},
viewTypeSelector: {
marginVertical: 12,
},
warningContainer: {
backgroundColor: backgroundColors.backgroundWarningSubtle,
borderLeftColor: utilityColors.warning100,
borderLeftWidth: 4,
borderRadius: 5,
marginBottom: 12,
marginHorizontal: 16,
marginTop: 0,
padding: 12,
},
warningText: {
color: utilityColors.warning100,
fontSize: 14,
fontWeight: '600',
textAlign: 'center',
},
});
export default styles;