PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / aspect-ratio-calculator / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/aspect-ratio-calculator/block.json

167 lines 4.0 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": "blockenberg/aspect-ratio-calculator",
5 "version": "1.0.0",
6 "title": "Aspect Ratio Calculator",
7 "category": "bkbg-calculators",
8 "icon": "format-image",
9 "description": "Calculate image or video dimensions, aspect ratios, and common presets for designers.",
10 "keywords": [
11 "aspect ratio",
12 "image",
13 "video",
14 "dimensions",
15 "resolution",
16 "design",
17 "calculator"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-aspect-ratio-calculator-editor",
21 "style": "bkbg-aspect-ratio-calculator-style",
22 "viewScript": "bkbg-aspect-ratio-calculator-frontend",
23 "attributes": {
24 "title": {
25 "type": "string",
26 "default": "Aspect Ratio Calculator"
27 },
28 "subtitle": {
29 "type": "string",
30 "default": "Resize images and videos while keeping perfect proportions"
31 },
32 "showTitle": {
33 "type": "boolean",
34 "default": true
35 },
36 "showSubtitle": {
37 "type": "boolean",
38 "default": true
39 },
40 "defaultWidth": {
41 "type": "number",
42 "default": 1920
43 },
44 "defaultHeight": {
45 "type": "number",
46 "default": 1080
47 },
48 "showPresets": {
49 "type": "boolean",
50 "default": true
51 },
52 "showRatioDisplay": {
53 "type": "boolean",
54 "default": true
55 },
56 "showPreview": {
57 "type": "boolean",
58 "default": true
59 },
60 "accentColor": {
61 "type": "string",
62 "default": "#6c3fb5"
63 },
64 "cardBg": {
65 "type": "string",
66 "default": ""
67 },
68 "ratioBg": {
69 "type": "string",
70 "default": "#6c3fb5"
71 },
72 "ratioColor": {
73 "type": "string",
74 "default": "#ffffff"
75 },
76 "previewBg": {
77 "type": "string",
78 "default": "#ede9fe"
79 },
80 "previewBorder": {
81 "type": "string",
82 "default": "#6c3fb5"
83 },
84 "statBg": {
85 "type": "string",
86 "default": "#f3f4f6"
87 },
88 "statBorder": {
89 "type": "string",
90 "default": "#e5e7eb"
91 },
92 "presetActiveBg": {
93 "type": "string",
94 "default": "#6c3fb5"
95 },
96 "presetActiveColor": {
97 "type": "string",
98 "default": "#ffffff"
99 },
100 "inputBorder": {
101 "type": "string",
102 "default": "#e5e7eb"
103 },
104 "labelColor": {
105 "type": "string",
106 "default": "#374151"
107 },
108 "titleColor": {
109 "type": "string",
110 "default": ""
111 },
112 "subtitleColor": {
113 "type": "string",
114 "default": ""
115 },
116 "sectionBg": {
117 "type": "string",
118 "default": ""
119 },
120 "titleSize": {
121 "type": "number",
122 "default": 28
123 },
124 "ratioSize": {
125 "type": "number",
126 "default": 44
127 },
128 "titleTypo": {
129 "type": "object",
130 "default": {}
131 },
132 "ratioTypo": {
133 "type": "object",
134 "default": {}
135 },
136 "cardRadius": {
137 "type": "number",
138 "default": 16
139 },
140 "inputRadius": {
141 "type": "number",
142 "default": 8
143 },
144 "maxWidth": {
145 "type": "number",
146 "default": 580
147 },
148 "paddingTop": {
149 "type": "number",
150 "default": 60
151 },
152 "paddingBottom": {
153 "type": "number",
154 "default": 60
155 }
156 },
157 "supports": {
158 "html": false,
159 "anchor": true,
160 "className": true,
161 "align": [
162 "wide",
163 "full"
164 ]
165 }
166 }
167