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

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

177 lines 4.2 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/macro-calculator",
5 "version": "1.0.0",
6 "title": "Macro Calculator",
7 "category": "bkbg-calculators",
8 "icon": "food",
9 "description": "Calculate daily macronutrients (protein, carbs, fat) based on TDEE and fitness goals.",
10 "keywords": [
11 "macro",
12 "macronutrient",
13 "protein",
14 "carbs",
15 "fat",
16 "fitness",
17 "diet",
18 "tdee",
19 "calories"
20 ],
21 "textdomain": "blockenberg",
22 "editorScript": "bkbg-macro-calculator-editor",
23 "style": "bkbg-macro-calculator-style",
24 "viewScript": "bkbg-macro-calculator-frontend",
25 "attributes": {
26 "title": {
27 "type": "string",
28 "default": "Macro Calculator"
29 },
30 "subtitle": {
31 "type": "string",
32 "default": "Find your ideal daily macronutrient targets"
33 },
34 "showTitle": {
35 "type": "boolean",
36 "default": true
37 },
38 "showSubtitle": {
39 "type": "boolean",
40 "default": true
41 },
42 "defaultUnit": {
43 "type": "string",
44 "default": "metric"
45 },
46 "defaultGender": {
47 "type": "string",
48 "default": "male"
49 },
50 "defaultAge": {
51 "type": "number",
52 "default": 30
53 },
54 "defaultWeight": {
55 "type": "number",
56 "default": 75
57 },
58 "defaultHeight": {
59 "type": "number",
60 "default": 175
61 },
62 "defaultActivity": {
63 "type": "string",
64 "default": "moderate"
65 },
66 "defaultGoal": {
67 "type": "string",
68 "default": "maintain"
69 },
70 "showPieChart": {
71 "type": "boolean",
72 "default": true
73 },
74 "showFoodExamples": {
75 "type": "boolean",
76 "default": true
77 },
78 "accentColor": {
79 "type": "string",
80 "default": "#6c3fb5"
81 },
82 "cardBg": {
83 "type": "string",
84 "default": ""
85 },
86 "calorieBg": {
87 "type": "string",
88 "default": "#6c3fb5"
89 },
90 "calorieColor": {
91 "type": "string",
92 "default": "#ffffff"
93 },
94 "proteinColor": {
95 "type": "string",
96 "default": "#3b82f6"
97 },
98 "carbColor": {
99 "type": "string",
100 "default": "#f59e0b"
101 },
102 "fatColor": {
103 "type": "string",
104 "default": "#ef4444"
105 },
106 "statBg": {
107 "type": "string",
108 "default": "#f3f4f6"
109 },
110 "statBorder": {
111 "type": "string",
112 "default": "#e5e7eb"
113 },
114 "inputBorder": {
115 "type": "string",
116 "default": "#e5e7eb"
117 },
118 "labelColor": {
119 "type": "string",
120 "default": "#374151"
121 },
122 "titleColor": {
123 "type": "string",
124 "default": ""
125 },
126 "subtitleColor": {
127 "type": "string",
128 "default": ""
129 },
130 "sectionBg": {
131 "type": "string",
132 "default": ""
133 },
134 "titleTypo": {
135 "type": "object",
136 "default": {}
137 },
138 "subtitleTypo": {
139 "type": "object",
140 "default": {}
141 },
142 "calorieSize": {
143 "type": "number",
144 "default": 52
145 },
146 "cardRadius": {
147 "type": "number",
148 "default": 16
149 },
150 "inputRadius": {
151 "type": "number",
152 "default": 8
153 },
154 "maxWidth": {
155 "type": "number",
156 "default": 580
157 },
158 "paddingTop": {
159 "type": "number",
160 "default": 60
161 },
162 "paddingBottom": {
163 "type": "number",
164 "default": 60
165 }
166 },
167 "supports": {
168 "html": false,
169 "anchor": true,
170 "className": true,
171 "align": [
172 "wide",
173 "full"
174 ]
175 }
176 }
177