forked from adaptlearning/adapt-contrib-vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
127 lines (118 loc) · 2.94 KB
/
example.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
// Available properties
// --------------------------------------------------
// contentObjects.json
"_vanilla": {
"_backgroundImage": {
"_large": "",
"_medium": "",
"_small": ""
},
"_backgroundStyles": {
"_backgroundSize": "",
"_backgroundRepeat": "",
"_backgroundPosition": ""
},
"_responsiveClasses": {
"_large": "",
"_medium": "",
"_small": ""
},
"_pageHeader": {
"_textAlignment": {
"_title": "",
"_body": "",
"_instruction": ""
},
"_backgroundImage": {
"_large": "",
"_medium": "",
"_small": ""
},
"_backgroundStyles": {
"_backgroundSize": "",
"_backgroundRepeat": "",
"_backgroundPosition": ""
},
"_minimumHeights": {
"_large": 0,
"_medium": 0,
"_small": 0
}
}
}
// articles.json
"_vanilla": {
"_textAlignment": {
"_title": "",
"_body": "",
"_instruction": ""
},
"_backgroundImage": {
"_large": "",
"_medium": "",
"_small": ""
},
"_backgroundStyles": {
"_backgroundSize": "",
"_backgroundRepeat": "",
"_backgroundPosition": ""
},
"_responsiveClasses": {
"_large": "",
"_medium": "",
"_small": ""
}
}
// blocks.json
"_vanilla": {
"_textAlignment": {
"_title": "",
"_body": "",
"_instruction": ""
},
"_backgroundImage": {
"_large": "",
"_medium": "",
"_small": ""
},
"_backgroundStyles": {
"_backgroundSize": "",
"_backgroundRepeat": "",
"_backgroundPosition": ""
},
"_minimumHeights": {
"_large": 0,
"_medium": 0,
"_small": 0
},
"_responsiveClasses": {
"_large": "",
"_medium": "",
"_small": ""
},
"_isDividerBlock": false,
"_paddingTop": "",
"_paddingBottom": "",
"_componentVerticalAlignment": ""
}
// components.json
"_vanilla": {
"_textAlignment": {
"_title": "",
"_body": "",
"_instruction": ""
}
}
A detailed breakdown of each property can be found on wiki at https://github.com/adaptlearning/adapt-contrib-vanilla/wiki/JSON-Config-and-Authoring-Tool-Options
components.json
// onScreen Animation
// --------------------------------------------------
"_onScreen": {
"_isEnabled": true,
"_classes": "fade-in",
"_percentInviewVertical": 50
}
Further information regarding onScreen animation can be found on the wiki at https://github.com/adaptlearning/adapt-contrib-vanilla/wiki/onScreen-Animation
// Vanilla Custom Classes
// --------------------------------------------------
All supported custom classes defined in the Vanilla theme can be found on the wiki at https://github.com/adaptlearning/adapt-contrib-vanilla/wiki/Custom-Classes