-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.json
146 lines (138 loc) · 3.59 KB
/
install.json
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"resources": {
"head": [
{
"src": "build/app.css",
"type": "style"
},
{
"type": "script",
"src": "./build/app.js"
}
],
"body": [
]
},
"preview": {
"handlers": [
{
"options": ["textColor", "textShadowColor", "alignment", "backgroundPosition", "message"],
"execute": "INSTALL_SCOPE.updateInnerContent(INSTALL_OPTIONS)"
},
{
"options": ["backgroundImage"],
"execute": "INSTALL_SCOPE.updateBackground(INSTALL_OPTIONS)"
},
{
"options": ["location"],
"execute": "INSTALL_SCOPE.updateElement(INSTALL_OPTIONS)"
},
{
"options": ["navigatorBehavior", "redirectURL"],
"execute": "INSTALL_SCOPE.updateNavigatorBehavior(INSTALL_OPTIONS)"
}
]
},
"options": {
"properties": {
"backgroundImage": {
"default": "https://eager-app-images.imgix.net/lturyv6bQ0KLnXdnNLCi_life.jpg",
"description": "This image will resize to fit the screen.",
"title": "Background image",
"order": 0,
"type": "string",
"format": "image"
},
"message": {
"default": "# First impressions in full screen.\nA summary of your content to encourage visitors to read on.",
"description": "A summary of your content formatted with <a target='_blank' href='https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet'>Markdown</a>.",
"placeholder": "Your hero summary...",
"title": "Message",
"order": 1,
"type": "object",
"format": "markdown"
},
"textColor": {
"default": "#ffffff",
"title": "Text color",
"order": 2,
"type": "string",
"format": "color",
"placeholder": "#..."
},
"textShadowColor": {
"enum": [
"dark",
"light",
"none"
],
"enumNames": {
"dark": "Dark",
"light": "Light",
"none": "None"
},
"default": "dark",
"title": "Text shadow color",
"order": 3,
"type": "string"
},
"navigatorBehavior": {
"enum": [
"scroll",
"redirect"
],
"enumNames": {
"scroll": "Scroll down the page",
"redirect": "Redirect to a different site"
},
"default": "scroll",
"title": "When the user clicks the Hero Image...",
"order": 4,
"type": "string",
"format": "radios"
},
"redirectURL": {
"title": "Redirect URL",
"format": "url",
"order": 5,
"type": "string",
"showIf": {"navigatorBehavior": "redirect"}
},
"alignment": {
"title": "Text alignment",
"type": "string",
"order": 6,
"default": "center",
"format": "radios",
"enum": [
"left",
"center",
"right"
],
"enumNames": {
"left": "Left",
"center": "Center",
"right": "Right"
}
},
"backgroundPosition": {
"title": "Background Position",
"description": "Where should the image focus when the screen is too small?",
"type": "string",
"order": 7,
"default": "center center",
"format": "radios",
"enum": [
"center top",
"center center",
"center bottom"
],
"enumNames": {
"center top": "Top",
"center center": "Center",
"center bottom": "Bottom"
}
}
}
}
}