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 / calorie-calculator / block.json

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

187 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/calorie-calculator",
5 "title": "Calorie Calculator",
6 "category": "bkbg-calculators",
7 "icon": "heart",
8 "description": "BMR and TDEE calorie calculator using the Mifflin-St Jeor equation. Supports metric and imperial units, activity levels, and shows macro nutrient breakdown.",
9 "keywords": [
10 "calorie",
11 "tdee",
12 "bmr",
13 "nutrition",
14 "diet",
15 "macro",
16 "fitness",
17 "health"
18 ],
19 "textdomain": "blockenberg",
20 "editorScript": "bkbg-calorie-calculator-editor",
21 "style": "bkbg-calorie-calculator-style",
22 "viewScript": "bkbg-calorie-calculator-frontend",
23 "supports": {
24 "html": false,
25 "anchor": true,
26 "className": true,
27 "align": [
28 "wide",
29 "full"
30 ]
31 },
32 "attributes": {
33 "title": {
34 "type": "string",
35 "default": "Calorie Calculator"
36 },
37 "subtitle": {
38 "type": "string",
39 "default": "Calculate your daily calorie needs (TDEE) and macro breakdown."
40 },
41 "showTitle": {
42 "type": "boolean",
43 "default": true
44 },
45 "showSubtitle": {
46 "type": "boolean",
47 "default": true
48 },
49 "defaultUnits": {
50 "type": "string",
51 "default": "metric"
52 },
53 "defaultGender": {
54 "type": "string",
55 "default": "male"
56 },
57 "defaultAge": {
58 "type": "number",
59 "default": 30
60 },
61 "defaultWeight": {
62 "type": "number",
63 "default": 70
64 },
65 "defaultHeight": {
66 "type": "number",
67 "default": 170
68 },
69 "defaultActivity": {
70 "type": "string",
71 "default": "moderate"
72 },
73 "showMacros": {
74 "type": "boolean",
75 "default": true
76 },
77 "showGoalCalc": {
78 "type": "boolean",
79 "default": true
80 },
81 "showBMR": {
82 "type": "boolean",
83 "default": true
84 },
85 "proteinPct": {
86 "type": "number",
87 "default": 25
88 },
89 "carbPct": {
90 "type": "number",
91 "default": 45
92 },
93 "fatPct": {
94 "type": "number",
95 "default": 30
96 },
97 "accentColor": {
98 "type": "string",
99 "default": "#6c3fb5"
100 },
101 "cardBg": {
102 "type": "string",
103 "default": "#ffffff"
104 },
105 "resultBg": {
106 "type": "string",
107 "default": "#f5f3ff"
108 },
109 "resultBorder": {
110 "type": "string",
111 "default": "#ede9fe"
112 },
113 "tdeeColor": {
114 "type": "string",
115 "default": "#6c3fb5"
116 },
117 "bmrColor": {
118 "type": "string",
119 "default": "#8b5cf6"
120 },
121 "proColor": {
122 "type": "string",
123 "default": "#ef4444"
124 },
125 "carbColor": {
126 "type": "string",
127 "default": "#f59e0b"
128 },
129 "fatColor": {
130 "type": "string",
131 "default": "#3b82f6"
132 },
133 "titleColor": {
134 "type": "string",
135 "default": "#1e1b4b"
136 },
137 "subtitleColor": {
138 "type": "string",
139 "default": "#6b7280"
140 },
141 "labelColor": {
142 "type": "string",
143 "default": "#374151"
144 },
145 "bgColor": {
146 "type": "string",
147 "default": ""
148 },
149 "titleSize": {
150 "type": "number",
151 "default": 26
152 },
153 "tdeeSize": {
154 "type": "number",
155 "default": 52
156 },
157 "cardRadius": {
158 "type": "number",
159 "default": 16
160 },
161 "inputRadius": {
162 "type": "number",
163 "default": 8
164 },
165 "maxWidth": {
166 "type": "number",
167 "default": 620
168 },
169 "paddingTop": {
170 "type": "number",
171 "default": 60
172 },
173 "paddingBottom": {
174 "type": "number",
175 "default": 60
176 },
177 "typoTitle": {
178 "type": "object",
179 "default": {}
180 },
181 "typoSub": {
182 "type": "object",
183 "default": {}
184 }
185 }
186 }
187