PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
b-blocks / build / dual-color-heading / block.json

block.json in bBlocks – Essential Gutenberg Blocks & Patterns Collection 2.1.8, at build/dual-color-heading/block.json

407 lines 10.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "b-blocks/dual-color-heading",
5 "version": "1.0.0",
6 "title": "Dual Color Heading",
7 "category": "bBlocks",
8 "description": "Highlight content heading with different colors.",
9 "keywords": [
10 "dual",
11 "color",
12 "heading",
13 "dual-color-heading"
14 ],
15 "textdomain": "b-blocks",
16 "attributes": {
17 "align": {
18 "type": "string",
19 "default": ""
20 },
21 "sortElements": {
22 "type": "array",
23 "default": [
24 "heading",
25 "separator",
26 "subHeading",
27 "icon"
28 ]
29 },
30 "heading": {
31 "type": "object",
32 "default": {
33 "tag": "h2",
34 "colorType": "solid",
35 "first": {
36 "text": "Dual Heading",
37 "colorType": "gradient",
38 "color": "#146EF5",
39 "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)"
40 },
41 "last": {
42 "text": "Example",
43 "colorType": "solid",
44 "color": "#FA52CA",
45 "gradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)"
46 },
47 "typography": {
48 "fontFamily": "Default",
49 "fontCategory": "sans-serif",
50 "fontVariant": "700",
51 "fontWeight": 700,
52 "isUploadFont": true,
53 "fontSize": {
54 "desktop": "40px",
55 "tablet": "36px",
56 "mobile": "32px"
57 },
58 "fontStyle": "normal",
59 "textTransform": "none",
60 "textDecoration": "auto",
61 "lineHeight": "135%",
62 "letterSpace": "0px"
63 },
64 "align": ""
65 }
66 },
67 "separator": {
68 "type": "object",
69 "default": {
70 "show": true,
71 "type": "line",
72 "iconType": "upload",
73 "icon": {
74 "upload": "",
75 "library": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'> <path d='M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z'></path></svg>"
76 },
77 "iconSize": 36,
78 "iconColor": "#1e1e1e",
79 "alignment": "center",
80 "distance": "0px",
81 "left": {
82 "color": "#146EF5",
83 "width": "100px",
84 "height": "5px",
85 "bRadius": {}
86 },
87 "right": {
88 "color": "#00ffff",
89 "width": "100px",
90 "height": "5px",
91 "bRadius": {}
92 },
93 "margin": {
94 "top": "14px",
95 "right": "0px",
96 "bottom": "14px",
97 "left": "0px"
98 }
99 }
100 },
101 "subHeading": {
102 "type": "object",
103 "default": {
104 "text": "Insert a meaningful line to evaluate the headline.",
105 "color": "#333",
106 "typography": {
107 "fontSize": {
108 "desktop": "16px",
109 "tablet": "15px",
110 "mobile": "15px"
111 }
112 }
113 }
114 },
115 "icon": {
116 "type": "object",
117 "default": {
118 "show": true,
119 "iconType": "upload",
120 "icon": {
121 "upload": "",
122 "library": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' id='emoji-heart-eyes-fill'><path d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0M4.756 4.566c.763-1.424 4.02-.12.952 3.434-4.496-1.596-2.35-4.298-.952-3.434m6.559 5.448a.5.5 0 0 1 .548.736A4.5 4.5 0 0 1 7.965 13a4.5 4.5 0 0 1-3.898-2.25.5.5 0 0 1 .548-.736h.005l.017.005.067.015.252.055c.215.046.515.108.857.169.693.124 1.522.242 2.152.242s1.46-.118 2.152-.242a27 27 0 0 0 1.109-.224l.067-.015.017-.004.005-.002zm-.07-5.448c1.397-.864 3.543 1.838-.953 3.434-3.067-3.554.19-4.858.952-3.434z'></path></svg>"
123 },
124 "img": {
125 "url": "",
126 "alt": "",
127 "title": ""
128 },
129 "size": 36,
130 "color": "#000"
131 }
132 },
133 "alignment": {
134 "type": "object",
135 "default": {
136 "desktop": "center",
137 "tablet": "center",
138 "mobile": "center"
139 }
140 },
141 "advanced": {
142 "type": "object",
143 "default": {
144 "dimension": {
145 "padding": {
146 "desktop": {
147 "top": "16px",
148 "right": "16px",
149 "bottom": "16px",
150 "left": "16px"
151 },
152 "tablet": {
153 "top": "16px",
154 "right": "16px",
155 "bottom": "16px",
156 "left": "16px"
157 },
158 "mobile": {
159 "top": "16px",
160 "right": "16px",
161 "bottom": "16px",
162 "left": "16px"
163 }
164 }
165 },
166 "borderShadow": {
167 "normal": {
168 "radius": {
169 "top": "0px",
170 "right": "0px",
171 "bottom": "0px",
172 "left": "0px"
173 },
174 "shadow": [
175 {
176 "hOffset": "0px",
177 "vOffset": "0px",
178 "blur": "0px",
179 "spreed": "0px",
180 "color": "#7090b000",
181 "isInset": false
182 }
183 ]
184 }
185 },
186 "background": {
187 "normal": {
188 "type": "color",
189 "color": "rgba(255, 255, 255, 1)",
190 "gradient": {
191 "type": "radial",
192 "radialType": "ellipse",
193 "colors": [
194 {
195 "color": "rgba(58, 66, 222, 1)",
196 "position": "0"
197 },
198 {
199 "color": "rgba(176, 195, 235, 1)",
200 "position": "80"
201 }
202 ],
203 "centerPositions": {
204 "x": 50,
205 "y": 50
206 },
207 "angel": 90
208 },
209 "img": {
210 "url": "",
211 "desktop": {
212 "position": "center-center",
213 "xPosition": 0,
214 "yPosition": 0,
215 "attachment": "",
216 "repeat": "no-repeat",
217 "size": "",
218 "customSize": "0px"
219 },
220 "tablet": {
221 "position": "center-center",
222 "xPosition": 0,
223 "yPosition": 0,
224 "attachment": "",
225 "repeat": "no-repeat",
226 "size": "",
227 "customSize": "0px"
228 },
229 "mobile": {
230 "position": "center-center",
231 "xPosition": 0,
232 "yPosition": 0,
233 "attachment": "",
234 "repeat": "no-repeat",
235 "size": "",
236 "customSize": "0px"
237 }
238 },
239 "transition": 0.3
240 }
241 },
242 "transform": {
243 "normal": {
244 "rotate": {
245 "desktop": {
246 "z": "",
247 "y": "",
248 "x": ""
249 },
250 "tablet": {
251 "z": "",
252 "y": "",
253 "x": ""
254 },
255 "mobile": {
256 "z": "",
257 "y": "",
258 "x": ""
259 },
260 "threeDRotate": false
261 },
262 "offset": {
263 "desktop": {
264 "x": "",
265 "y": ""
266 },
267 "tablet": {
268 "x": "",
269 "y": ""
270 },
271 "mobile": {
272 "x": "",
273 "y": ""
274 }
275 },
276 "scale": {
277 "isProportion": true,
278 "desktop": {
279 "x": "",
280 "y": "",
281 "scale": ""
282 },
283 "tablet": {
284 "x": "",
285 "y": "",
286 "scale": ""
287 },
288 "mobile": {
289 "x": "",
290 "y": "",
291 "scale": ""
292 }
293 },
294 "skew": {
295 "desktop": {
296 "x": "",
297 "y": ""
298 },
299 "tablet": {
300 "x": "",
301 "y": ""
302 },
303 "mobile": {
304 "x": "",
305 "y": ""
306 }
307 },
308 "flipX": false,
309 "flipY": false
310 },
311 "hover": {
312 "rotate": {
313 "desktop": {
314 "z": "",
315 "y": "",
316 "x": ""
317 },
318 "tablet": {
319 "z": "",
320 "y": "",
321 "x": ""
322 },
323 "mobile": {
324 "z": "",
325 "y": "",
326 "x": ""
327 },
328 "threeDRotate": false
329 },
330 "offset": {
331 "desktop": {
332 "x": "",
333 "y": ""
334 },
335 "tablet": {
336 "x": "",
337 "y": ""
338 },
339 "mobile": {
340 "x": "",
341 "y": ""
342 }
343 },
344 "scale": {
345 "isProportion": true,
346 "desktop": {
347 "x": "",
348 "y": "",
349 "scale": ""
350 },
351 "tablet": {
352 "x": "",
353 "y": "",
354 "scale": ""
355 },
356 "mobile": {
357 "x": "",
358 "y": "",
359 "scale": ""
360 }
361 },
362 "skew": {
363 "desktop": {
364 "x": "",
365 "y": ""
366 },
367 "tablet": {
368 "x": "",
369 "y": ""
370 },
371 "mobile": {
372 "x": "",
373 "y": ""
374 }
375 },
376 "flipX": false,
377 "flipY": false
378 },
379 "transition": 200
380 }
381 }
382 }
383 },
384 "supports": {
385 "align": [
386 "wide",
387 "full"
388 ],
389 "html": false
390 },
391 "example": {
392 "attributes": {}
393 },
394 "editorScript": [
395 "file:../index.js",
396 "aos"
397 ],
398 "style": [
399 "file:./view.css",
400 "aos"
401 ],
402 "render": "file:./render.php",
403 "viewScript": [
404 "file:./view.js",
405 "aos"
406 ]
407 }