| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/reading-notes", |
| 5 |
"title": "Reading Notes", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "book", |
| 8 |
"description": "Annotated reading notes for books and articles with quotes, insights, questions, and a star rating.", |
| 9 |
"keywords": [ |
| 10 |
"reading", |
| 11 |
"notes", |
| 12 |
"book", |
| 13 |
"annotation", |
| 14 |
"quote", |
| 15 |
"insight", |
| 16 |
"review", |
| 17 |
"highlight", |
| 18 |
"summary" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-reading-notes-editor", |
| 22 |
"editorStyle": "bkbg-reading-notes-style", |
| 23 |
"style": "bkbg-reading-notes-style", |
| 24 |
"viewScript": "bkbg-reading-notes-frontend", |
| 25 |
"supports": { |
| 26 |
"html": false, |
| 27 |
"anchor": true, |
| 28 |
"className": true, |
| 29 |
"align": [ |
| 30 |
"wide", |
| 31 |
"full" |
| 32 |
] |
| 33 |
}, |
| 34 |
"attributes": { |
| 35 |
"bookTitle": { |
| 36 |
"type": "string", |
| 37 |
"default": "Atomic Habits" |
| 38 |
}, |
| 39 |
"author": { |
| 40 |
"type": "string", |
| 41 |
"default": "James Clear" |
| 42 |
}, |
| 43 |
"genre": { |
| 44 |
"type": "string", |
| 45 |
"default": "Self-Development" |
| 46 |
}, |
| 47 |
"coverEmoji": { |
| 48 |
"type": "string", |
| 49 |
"default": "📖" |
| 50 |
}, |
| 51 |
"coverEmojiType": { |
| 52 |
"type": "string", |
| 53 |
"default": "custom-char" |
| 54 |
}, |
| 55 |
"coverEmojiDashicon": { |
| 56 |
"type": "string", |
| 57 |
"default": "" |
| 58 |
}, |
| 59 |
"coverEmojiImageUrl": { |
| 60 |
"type": "string", |
| 61 |
"default": "" |
| 62 |
}, |
| 63 |
"rating": { |
| 64 |
"type": "number", |
| 65 |
"default": 5 |
| 66 |
}, |
| 67 |
"dateRead": { |
| 68 |
"type": "string", |
| 69 |
"default": "" |
| 70 |
}, |
| 71 |
"showHeader": { |
| 72 |
"type": "boolean", |
| 73 |
"default": true |
| 74 |
}, |
| 75 |
"showAuthor": { |
| 76 |
"type": "boolean", |
| 77 |
"default": true |
| 78 |
}, |
| 79 |
"showGenre": { |
| 80 |
"type": "boolean", |
| 81 |
"default": true |
| 82 |
}, |
| 83 |
"showRating": { |
| 84 |
"type": "boolean", |
| 85 |
"default": true |
| 86 |
}, |
| 87 |
"showDateRead": { |
| 88 |
"type": "boolean", |
| 89 |
"default": true |
| 90 |
}, |
| 91 |
"notes": { |
| 92 |
"type": "array", |
| 93 |
"default": [ |
| 94 |
{ |
| 95 |
"type": "quote", |
| 96 |
"text": "You do not rise to the level of your goals. You fall to the level of your systems.", |
| 97 |
"source": "Chapter 1, p. 27" |
| 98 |
}, |
| 99 |
{ |
| 100 |
"type": "insight", |
| 101 |
"text": "Small improvements of 1% each day compound to 37x improvement over a year. Tiny habits matter enormously over time." |
| 102 |
}, |
| 103 |
{ |
| 104 |
"type": "question", |
| 105 |
"text": "How can I design my environment to make good habits obvious and bad habits invisible?" |
| 106 |
}, |
| 107 |
{ |
| 108 |
"type": "quote", |
| 109 |
"text": "Every action you take is a vote for the type of person you wish to become.", |
| 110 |
"source": "Chapter 2" |
| 111 |
}, |
| 112 |
{ |
| 113 |
"type": "insight", |
| 114 |
"text": "The four laws of behaviour change: Make it Obvious, Make it Attractive, Make it Easy, Make it Satisfying." |
| 115 |
}, |
| 116 |
{ |
| 117 |
"type": "summary", |
| 118 |
"text": "An essential read for anyone wanting to build lasting habits. Clear writing, actionable framework, evidence-based advice. Highly recommended for entrepreneurs, students, and anyone seeking personal growth." |
| 119 |
} |
| 120 |
] |
| 121 |
}, |
| 122 |
"layout": { |
| 123 |
"type": "string", |
| 124 |
"default": "list" |
| 125 |
}, |
| 126 |
"style": { |
| 127 |
"type": "string", |
| 128 |
"default": "card" |
| 129 |
}, |
| 130 |
"borderRadius": { |
| 131 |
"type": "number", |
| 132 |
"default": 12 |
| 133 |
}, |
| 134 |
"gap": { |
| 135 |
"type": "number", |
| 136 |
"default": 12 |
| 137 |
}, |
| 138 |
"titleTypo": { |
| 139 |
"type": "object", |
| 140 |
"default": {} |
| 141 |
}, |
| 142 |
"noteTypo": { |
| 143 |
"type": "object", |
| 144 |
"default": {} |
| 145 |
}, |
| 146 |
"bgColor": { |
| 147 |
"type": "string", |
| 148 |
"default": "" |
| 149 |
}, |
| 150 |
"headerBg": { |
| 151 |
"type": "string", |
| 152 |
"default": "#1e293b" |
| 153 |
}, |
| 154 |
"headerColor": { |
| 155 |
"type": "string", |
| 156 |
"default": "#ffffff" |
| 157 |
}, |
| 158 |
"cardBg": { |
| 159 |
"type": "string", |
| 160 |
"default": "#ffffff" |
| 161 |
}, |
| 162 |
"borderColor": { |
| 163 |
"type": "string", |
| 164 |
"default": "#e2e8f0" |
| 165 |
}, |
| 166 |
"quoteBg": { |
| 167 |
"type": "string", |
| 168 |
"default": "#fdf2f8" |
| 169 |
}, |
| 170 |
"quoteColor": { |
| 171 |
"type": "string", |
| 172 |
"default": "#86198f" |
| 173 |
}, |
| 174 |
"quoteAccent": { |
| 175 |
"type": "string", |
| 176 |
"default": "#d946ef" |
| 177 |
}, |
| 178 |
"insightBg": { |
| 179 |
"type": "string", |
| 180 |
"default": "#eff6ff" |
| 181 |
}, |
| 182 |
"insightColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "#1d4ed8" |
| 185 |
}, |
| 186 |
"insightAccent": { |
| 187 |
"type": "string", |
| 188 |
"default": "#3b82f6" |
| 189 |
}, |
| 190 |
"questionBg": { |
| 191 |
"type": "string", |
| 192 |
"default": "#fffbeb" |
| 193 |
}, |
| 194 |
"questionColor": { |
| 195 |
"type": "string", |
| 196 |
"default": "#92400e" |
| 197 |
}, |
| 198 |
"questionAccent": { |
| 199 |
"type": "string", |
| 200 |
"default": "#f59e0b" |
| 201 |
}, |
| 202 |
"summaryBg": { |
| 203 |
"type": "string", |
| 204 |
"default": "#f0fdf4" |
| 205 |
}, |
| 206 |
"summaryColor": { |
| 207 |
"type": "string", |
| 208 |
"default": "#14532d" |
| 209 |
}, |
| 210 |
"summaryAccent": { |
| 211 |
"type": "string", |
| 212 |
"default": "#22c55e" |
| 213 |
}, |
| 214 |
"starColor": { |
| 215 |
"type": "string", |
| 216 |
"default": "#f59e0b" |
| 217 |
} |
| 218 |
} |
| 219 |
} |
| 220 |
|