Problem
The block currently uses the generic "icon": "randomize" dashicon in src/blocks-randomizer/block.json:8. In the inserter and block list view it blends in with other core blocks and gives no hint of what this plugin does.
Proposal
Ship a branded SVG icon that's recognizable in the inserter, breadcrumbs, and list view.
Replace the string icon in block.json with an inline SVG (or a JS-registered icon in src/blocks-randomizer/index.js if you want different icons for inserter vs. breadcrumb).
"icon": {
"src": "<svg ...>...</svg>"
}
Existing assets in .wp-org/icon.svg may be a starting point — or design a simpler glyph optimized for the 24×24 inserter size (the WP.org listing icon is usually too detailed at that size).
Acceptance criteria
Files
src/blocks-randomizer/block.json
src/blocks-randomizer/index.js (if registering via JS)
.wp-org/icon.svg (reference)
Problem
The block currently uses the generic
"icon": "randomize"dashicon insrc/blocks-randomizer/block.json:8. In the inserter and block list view it blends in with other core blocks and gives no hint of what this plugin does.Proposal
Ship a branded SVG icon that's recognizable in the inserter, breadcrumbs, and list view.
Replace the string icon in
block.jsonwith an inline SVG (or a JS-registered icon insrc/blocks-randomizer/index.jsif you want different icons for inserter vs. breadcrumb).Existing assets in
.wp-org/icon.svgmay be a starting point — or design a simpler glyph optimized for the 24×24 inserter size (the WP.org listing icon is usually too detailed at that size).Acceptance criteria
randomizedashiconcurrentColorfor stroke/fill).wp-org/icon.svgbrandFiles
src/blocks-randomizer/block.jsonsrc/blocks-randomizer/index.js(if registering via JS).wp-org/icon.svg(reference)