| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/budget-planner", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Monthly Budget Planner", |
| 7 |
"category": "bkbg-calculators", |
| 8 |
"icon": "money-alt", |
| 9 |
"description": "Interactive monthly budget planner with income and expense categories. Track spending, visualise balance and see how much is left to allocate.", |
| 10 |
"keywords": [ |
| 11 |
"budget", |
| 12 |
"planner", |
| 13 |
"income", |
| 14 |
"expenses", |
| 15 |
"spending", |
| 16 |
"finance", |
| 17 |
"money", |
| 18 |
"personal finance", |
| 19 |
"tracker" |
| 20 |
], |
| 21 |
"textdomain": "blockenberg", |
| 22 |
"editorScript": "bkbg-budget-planner-editor", |
| 23 |
"style": "bkbg-budget-planner-style", |
| 24 |
"viewScript": "bkbg-budget-planner-frontend", |
| 25 |
"supports": { |
| 26 |
"html": false, |
| 27 |
"anchor": true, |
| 28 |
"className": true, |
| 29 |
"align": [ |
| 30 |
"wide", |
| 31 |
"full" |
| 32 |
] |
| 33 |
}, |
| 34 |
"attributes": { |
| 35 |
"title": { |
| 36 |
"type": "string", |
| 37 |
"default": "Monthly Budget Planner" |
| 38 |
}, |
| 39 |
"subtitle": { |
| 40 |
"type": "string", |
| 41 |
"default": "Plan your monthly income and expenses to stay on track" |
| 42 |
}, |
| 43 |
"currency": { |
| 44 |
"type": "string", |
| 45 |
"default": "$" |
| 46 |
}, |
| 47 |
"showSavingsGoal": { |
| 48 |
"type": "boolean", |
| 49 |
"default": true |
| 50 |
}, |
| 51 |
"showPieBreakdown": { |
| 52 |
"type": "boolean", |
| 53 |
"default": true |
| 54 |
}, |
| 55 |
"showTips": { |
| 56 |
"type": "boolean", |
| 57 |
"default": true |
| 58 |
}, |
| 59 |
"defaultIncome": { |
| 60 |
"type": "number", |
| 61 |
"default": 5000 |
| 62 |
}, |
| 63 |
"defaultSavings": { |
| 64 |
"type": "number", |
| 65 |
"default": 500 |
| 66 |
}, |
| 67 |
"accentColor": { |
| 68 |
"type": "string", |
| 69 |
"default": "#22c55e" |
| 70 |
}, |
| 71 |
"expenseColor": { |
| 72 |
"type": "string", |
| 73 |
"default": "#f43f5e" |
| 74 |
}, |
| 75 |
"savingsColor": { |
| 76 |
"type": "string", |
| 77 |
"default": "#8b5cf6" |
| 78 |
}, |
| 79 |
"surplusColor": { |
| 80 |
"type": "string", |
| 81 |
"default": "#0ea5e9" |
| 82 |
}, |
| 83 |
"sectionBg": { |
| 84 |
"type": "string", |
| 85 |
"default": "#f0fdf4" |
| 86 |
}, |
| 87 |
"cardBg": { |
| 88 |
"type": "string", |
| 89 |
"default": "#ffffff" |
| 90 |
}, |
| 91 |
"inputBg": { |
| 92 |
"type": "string", |
| 93 |
"default": "#f9fafb" |
| 94 |
}, |
| 95 |
"titleColor": { |
| 96 |
"type": "string", |
| 97 |
"default": "#111827" |
| 98 |
}, |
| 99 |
"subtitleColor": { |
| 100 |
"type": "string", |
| 101 |
"default": "#6b7280" |
| 102 |
}, |
| 103 |
"labelColor": { |
| 104 |
"type": "string", |
| 105 |
"default": "#374151" |
| 106 |
}, |
| 107 |
"titleFontSize": { |
| 108 |
"type": "integer", |
| 109 |
"default": 26 |
| 110 |
}, |
| 111 |
"contentMaxWidth": { |
| 112 |
"type": "integer", |
| 113 |
"default": 740 |
| 114 |
}, |
| 115 |
"typoTitle": { |
| 116 |
"type": "object", |
| 117 |
"default": {} |
| 118 |
}, |
| 119 |
"typoSubtitle": { |
| 120 |
"type": "object", |
| 121 |
"default": {} |
| 122 |
} |
| 123 |
} |
| 124 |
} |
| 125 |
|