Tool icons: every tool gets an icon of its own instead of sharing its group's
The nine graph tools showed the same column chart, the eight symbolism tools the same spray can, and Perspective Selection, Slice Selection, Enclosing Lasso, Polygonal Lasso, the Corner Tool, Slide Anchor Along Path and Shared Edge Merge each reused the icon of another tool. The 3D Box Tool asked for an icon that does not exist and showed the dashed placeholder. Each of these tools now has an original icon drawn in the dc-* style (24x24, 1.5 stroke, round caps) that shows what the tool does: - Each graph tool draws its own chart type. - The symbolism tools show symbols being moved, pulled together, resized, turned, tinted, faded or styled. - The Lasso and Slice tools get dc-* icons too, so the three lasso tools and the two slice tools each read as one family. The Enclosing Lasso adds a filled square inside the Lasso's loop, and the Polygonal Lasso draws the loop with straight sides and keeps the same knot and tail. The Slice and Slice Selection tools both show a dashed slice outline with a corner tag, the Slice Tool with a knife beside it and Slice Selection with a pointer. - Perspective Selection shows a smaller perspective grid with a pointer. - The 3D Box Tool uses the cube icon that the 3D and Materials panel uses. Each new file has an ASSETS.md row. every_tool_has_an_icon_no_other_tool_uses checks that every cataloged tool, the add-ons' included, maps to an existing icon that is not the placeholder and that no other tool uses.
No files matched your search
@@ -134,6 +134,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-clear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-color-guide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-contour.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a solid rounded square inside four corner arcs, its offset outline); not derived from any other application's icon | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-corner-tool.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-crystallize.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-cube.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-curvature-circle.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (an arch with the circle that touches it at its top, and that circle's center) | MIT OR Apache-2.0 | |
|
||||
@@ -172,6 +173,15 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-grad-stroke-along.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-grad-stroke-within.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-gradient.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-area.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-pie.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-radar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-scatter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-stacked-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-stacked-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graphic-styles.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-grid-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-group-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -180,6 +190,9 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-join-round.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-join.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-knife.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso-enclosing.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso-polygonal.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-line-cut.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-list-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -207,6 +220,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-para-rtl.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-path-eraser.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pathfinder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-perspective-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-perspective.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pf-crop.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pf-divide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -239,7 +253,11 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-screen-mode.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-selection.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shape-builder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shared-edge.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slice-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slice.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slide-anchor.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-smooth.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-stroke-center.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-stroke-inside.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -247,7 +265,14 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-stroke.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-swap.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-swatch-kinds.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-screener.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-scruncher.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-shifter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-sizer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-spinner.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-sprayer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-stainer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-styler.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-touch-type.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-transform-panel.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-transparency.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20v-8a8 8 0 0 1 8-8h8"/><path d="M12 12L6.34 6.34" stroke-dasharray="1.5 2"/><circle cx="12" cy="12" r="1.5" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 332 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 15l4-4 4 3 4-6 4 3v9H4Z" fill="currentColor" fill-opacity="0.4"/><path d="M4 4v16h16"/></svg>
|
||||
|
After Width: | Height: | Size: 289 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="4" y="5" width="9" height="3"/><rect x="4" y="9.5" width="15" height="3"/><rect x="4" y="14" width="6" height="3"/></svg>
|
||||
|
After Width: | Height: | Size: 336 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="7" y="11" width="3" height="9"/><rect x="11.5" y="6" width="3" height="14"/><rect x="16" y="9" width="3" height="11"/></svg>
|
||||
|
After Width: | Height: | Size: 339 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><path d="M7 15l4-5 3 3 6-7"/></svg>
|
||||
|
After Width: | Height: | Size: 241 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="8"/><path d="M12 12V4a8 8 0 0 1 6.93 12Z" fill="currentColor" fill-opacity="0.4"/></svg>
|
||||
|
After Width: | Height: | Size: 299 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4.5l7.61 5.53-2.91 8.94H7.3l-2.91-8.94Z"/><path d="M12 12.5V4.5M12 12.5l7.61-2.47M12 12.5l4.7 6.47M12 12.5l-4.7 6.47M12 12.5l-7.61-2.47" stroke-width="0.75"/><path d="M12 7.5l5.23 3.3-2.58 5.34-5.59.41-1.34-5.44Z" fill="currentColor" fill-opacity="0.4"/></svg>
|
||||
|
After Width: | Height: | Size: 457 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><circle cx="8" cy="15" r="1.3" fill="currentColor"/><circle cx="10.5" cy="10" r="1.3" fill="currentColor"/><circle cx="13.5" cy="13.5" r="1.3" fill="currentColor"/><circle cx="16" cy="7.5" r="1.3" fill="currentColor"/><circle cx="18" cy="11.5" r="1.3" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 485 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="4" y="5" width="9" height="3"/><rect x="4" y="9.5" width="15" height="3"/><rect x="4" y="14" width="6" height="3"/><rect x="4" y="5" width="5" height="3" fill="currentColor"/><rect x="4" y="9.5" width="8" height="3" fill="currentColor"/><rect x="4" y="14" width="3" height="3" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 519 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="7" y="11" width="3" height="9"/><rect x="11.5" y="6" width="3" height="14"/><rect x="16" y="9" width="3" height="11"/><rect x="7" y="16" width="3" height="4" fill="currentColor"/><rect x="11.5" y="13" width="3" height="7" fill="currentColor"/><rect x="16" y="15" width="3" height="5" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 526 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7A8.5 6.5 0 1 1 11 16.4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/><rect x="10" y="8" width="4" height="4" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 365 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7L3.5 9 9 3.5l9 1 3 6.5-6 5.4h-4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/></svg>
|
||||
|
After Width: | Height: | Size: 313 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7A8.5 6.5 0 1 1 11 16.4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/></svg>
|
||||
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 21l4.5-9h7l4.5 9Z"/><path d="M10 12v9M4.25 16.5h11.5"/><path d="M15 2v9.5l2.4-2.3 1.7 3.6 1.5-.7-1.7-3.5h3.3Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 334 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h9v2h9v9H3Z"/><path d="M12 9v9" stroke-dasharray="2 2"/></svg>
|
||||
|
After Width: | Height: | Size: 259 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="10" height="10" stroke-dasharray="2 2.5"/><rect x="3" y="3" width="4" height="3.5" fill="currentColor"/><path d="M14.5 12.5v9l2.3-2.2 1.6 3.4 1.4-.7-1.6-3.3h3.1Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 399 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="10" height="10" stroke-dasharray="2 2.5"/><rect x="3" y="3" width="4" height="3.5" fill="currentColor"/><path d="M11.5 21.5l2.5-6 3.5 3.5Z" fill="currentColor"/><path d="M15.75 17.25l4.5-4.5a1.6 1.6 0 0 1 2.25 2.25l-4.5 4.5Z"/></svg>
|
||||
|
After Width: | Height: | Size: 442 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 18C7 8 17 8 21 18"/><rect x="10.5" y="9" width="3" height="3" fill="currentColor"/><path d="M8 5H3.5M5.5 3L3.5 5l2 2M16 5h4.5M18.5 3l2 2-2 2"/></svg>
|
||||
|
After Width: | Height: | Size: 345 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="12" r="3" fill="currentColor"/><circle cx="12" cy="12" r="3" fill="currentColor" fill-opacity="0.4"/><circle cx="18.5" cy="12" r="3"/></svg>
|
||||
|
After Width: | Height: | Size: 345 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10.5" r="2"/><circle cx="14" cy="10.5" r="2"/><circle cx="12" cy="14" r="2"/><path d="M2 12h4M4.5 10.5L6 12l-1.5 1.5M22 12h-4M19.5 10.5L18 12l1.5 1.5"/></svg>
|
||||
|
After Width: | Height: | Size: 362 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6.5" r="2"/><circle cx="5" cy="12" r="2"/><circle cx="7" cy="17.5" r="2"/><path d="M11 12h10M18 9l3 3-3 3"/></svg>
|
||||
|
After Width: | Height: | Size: 317 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="18" r="2"/><circle cx="15.5" cy="8.5" r="5.5"/><path d="M8 16l3-3M8.5 13H11v2.5"/></svg>
|
||||
|
After Width: | Height: | Size: 291 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 9l3 3-3 3-3-3Z"/><path d="M19.5 12a7.5 7.5 0 1 1-2.2-5.3"/><path d="M17.3 3.2v3.5h-3.5"/></svg>
|
||||
|
After Width: | Height: | Size: 292 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6.5" cy="7" r="2.5"/><circle cx="6.5" cy="16.5" r="2.5" fill="currentColor"/><path d="M16 5c2.6 3.5 4 5.6 4 7.6a4 4 0 0 1-8 0c0-2 1.4-4.1 4-7.6Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 369 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="7" cy="15" r="3.5"/><circle cx="15.5" cy="11" r="4.5" fill="currentColor" fill-opacity="0.4"/><circle cx="15.5" cy="11" r="2"/><path d="M19.5 2.5v3M18 4h3"/></svg>
|
||||
|
After Width: | Height: | Size: 359 B |
@@ -29,9 +29,9 @@ pub const PATH_TOOLS: &[ToolInfo] = &[
|
||||
ToolInfo { id: extend_path::ID, label: "Extend Path Tool", shortcut: None, icon: "dc-arrow-extend" },
|
||||
ToolInfo { id: measure_inspect::ID, label: "Measure & Inspect Tool", shortcut: None, icon: "ruler" },
|
||||
ToolInfo { id: parametric_shape::ID, label: "Parametric Shape Tool", shortcut: None, icon: "hexagon" },
|
||||
ToolInfo { id: corner_tool::ID, label: "Corner Tool", shortcut: None, icon: "dc-rounded-rect" },
|
||||
ToolInfo { id: slide_anchor::ID, label: "Slide Anchor Along Path", shortcut: None, icon: "dc-anchor" },
|
||||
ToolInfo { id: shared_edge::ID, label: "Shared Edge Merge Tool", shortcut: None, icon: "dc-join" },
|
||||
ToolInfo { id: corner_tool::ID, label: "Corner Tool", shortcut: None, icon: "dc-corner-tool" },
|
||||
ToolInfo { id: slide_anchor::ID, label: "Slide Anchor Along Path", shortcut: None, icon: "dc-slide-anchor" },
|
||||
ToolInfo { id: shared_edge::ID, label: "Shared Edge Merge Tool", shortcut: None, icon: "dc-shared-edge" },
|
||||
ToolInfo { id: tangent_circle::ID, label: "Tangent Circle Tool", shortcut: None, icon: "circle" },
|
||||
];
|
||||
|
||||
@@ -40,9 +40,10 @@ pub const SMART_PEN: &[ToolInfo] = &[ToolInfo { id: smart_pen::ID, label: "Smart
|
||||
|
||||
pub const CONTOUR: &[ToolInfo] = &[ToolInfo { id: contour::ID, label: "Contour Tool", shortcut: None, icon: "tool-contour" }];
|
||||
|
||||
pub const BOX_3D: &[ToolInfo] = &[ToolInfo { id: box3d::ID, label: "3D Box Tool", shortcut: None, icon: "box" }];
|
||||
pub const BOX_3D: &[ToolInfo] = &[ToolInfo { id: box3d::ID, label: "3D Box Tool", shortcut: None, icon: "dc-cube" }];
|
||||
|
||||
pub const POLYGONAL_LASSO: &[ToolInfo] = &[ToolInfo { id: polygonal_lasso::ID, label: "Polygonal Lasso Tool", shortcut: None, icon: "tool-lasso" }];
|
||||
pub const POLYGONAL_LASSO: &[ToolInfo] =
|
||||
&[ToolInfo { id: polygonal_lasso::ID, label: "Polygonal Lasso Tool", shortcut: None, icon: "dc-lasso-polygonal" }];
|
||||
|
||||
/// The add-ons' tool groups, after the toolbar's own ([`crate::TOOL_GROUPS`]), each with the
|
||||
/// heading the All Tools drawer lists it under (its add-on's name).
|
||||
@@ -128,7 +129,7 @@ mod tests {
|
||||
let ids: Vec<_> = groups[0].iter().map(|t| t.id).collect();
|
||||
assert_eq!(ids, ["lasso", id]);
|
||||
let info = crate::tool_info(id).expect("catalogued");
|
||||
assert_eq!((info.label, info.shortcut, info.icon), ("Enclosing Lasso Tool", None, "tool-lasso"));
|
||||
assert_eq!((info.label, info.shortcut, info.icon), ("Enclosing Lasso Tool", None, "tool-lasso-enclosing"));
|
||||
assert_eq!(crate::tool_info("lasso").and_then(|t| t.shortcut), Some("Q"), "the Lasso keeps its shortcut");
|
||||
assert_eq!(create(id).map(|tool| tool.id()), Some(id));
|
||||
assert!(heading(id).is_none(), "not listed again under the add-on");
|
||||
|
||||
@@ -27,7 +27,7 @@ pub const TOOL_GROUPS: &[&[ToolInfo]] = &[
|
||||
&[
|
||||
t("lasso", "Lasso Tool", Some("Q"), "tool-lasso"),
|
||||
// Enclosing Lasso's tool, kept out of `addons::GROUPS` so that `all_tools` lists it once.
|
||||
t(crate::addons::enclosing_lasso::ID, "Enclosing Lasso Tool", None, "tool-lasso"),
|
||||
t(crate::addons::enclosing_lasso::ID, "Enclosing Lasso Tool", None, "tool-lasso-enclosing"),
|
||||
],
|
||||
&[
|
||||
t("pen", "Pen Tool", Some("P"), "tool-pen"),
|
||||
@@ -117,29 +117,29 @@ pub const TOOL_GROUPS: &[&[ToolInfo]] = &[
|
||||
&[t("dimension", "Dimension Tool", None, "tool-dimension")],
|
||||
&[
|
||||
t("symbolSprayer", "Symbol Sprayer Tool", Some("Shift+S"), "tool-symbol"),
|
||||
t("symbolShifter", "Symbol Shifter Tool", None, "tool-symbol"),
|
||||
t("symbolScruncher", "Symbol Scruncher Tool", None, "tool-symbol"),
|
||||
t("symbolSizer", "Symbol Sizer Tool", None, "tool-symbol"),
|
||||
t("symbolSpinner", "Symbol Spinner Tool", None, "tool-symbol"),
|
||||
t("symbolStainer", "Symbol Stainer Tool", None, "tool-symbol"),
|
||||
t("symbolScreener", "Symbol Screener Tool", None, "tool-symbol"),
|
||||
t("symbolStyler", "Symbol Styler Tool", None, "tool-symbol"),
|
||||
t("symbolShifter", "Symbol Shifter Tool", None, "tool-symbol-shifter"),
|
||||
t("symbolScruncher", "Symbol Scruncher Tool", None, "tool-symbol-scruncher"),
|
||||
t("symbolSizer", "Symbol Sizer Tool", None, "tool-symbol-sizer"),
|
||||
t("symbolSpinner", "Symbol Spinner Tool", None, "tool-symbol-spinner"),
|
||||
t("symbolStainer", "Symbol Stainer Tool", None, "tool-symbol-stainer"),
|
||||
t("symbolScreener", "Symbol Screener Tool", None, "tool-symbol-screener"),
|
||||
t("symbolStyler", "Symbol Styler Tool", None, "tool-symbol-styler"),
|
||||
],
|
||||
&[
|
||||
t("columnGraph", "Column Graph Tool", Some("J"), "tool-graph"),
|
||||
t("stackedColumnGraph", "Stacked Column Graph Tool", None, "tool-graph"),
|
||||
t("barGraph", "Bar Graph Tool", None, "tool-graph"),
|
||||
t("stackedBarGraph", "Stacked Bar Graph Tool", None, "tool-graph"),
|
||||
t("lineGraph", "Line Graph Tool", None, "tool-graph"),
|
||||
t("areaGraph", "Area Graph Tool", None, "tool-graph"),
|
||||
t("scatterGraph", "Scatter Graph Tool", None, "tool-graph"),
|
||||
t("pieGraph", "Pie Graph Tool", None, "tool-graph"),
|
||||
t("radarGraph", "Radar Graph Tool", None, "tool-graph"),
|
||||
t("stackedColumnGraph", "Stacked Column Graph Tool", None, "tool-graph-stacked-column"),
|
||||
t("barGraph", "Bar Graph Tool", None, "tool-graph-bar"),
|
||||
t("stackedBarGraph", "Stacked Bar Graph Tool", None, "tool-graph-stacked-bar"),
|
||||
t("lineGraph", "Line Graph Tool", None, "tool-graph-line"),
|
||||
t("areaGraph", "Area Graph Tool", None, "tool-graph-area"),
|
||||
t("scatterGraph", "Scatter Graph Tool", None, "tool-graph-scatter"),
|
||||
t("pieGraph", "Pie Graph Tool", None, "tool-graph-pie"),
|
||||
t("radarGraph", "Radar Graph Tool", None, "tool-graph-radar"),
|
||||
],
|
||||
&[
|
||||
t("artboard", "Artboard Tool", Some("Shift+O"), "tool-artboard"),
|
||||
t("slice", "Slice Tool", Some("Shift+K"), "tool-slice"),
|
||||
t("sliceSelection", "Slice Selection Tool", None, "tool-slice"),
|
||||
t("sliceSelection", "Slice Selection Tool", None, "tool-slice-select"),
|
||||
],
|
||||
&[
|
||||
t("hand", "Hand Tool", Some("H"), "tool-hand"),
|
||||
|
||||
@@ -63,6 +63,7 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-clear", include_bytes!("../../../assets/icons/dc-clear.svg")),
|
||||
("dc-color-guide", include_bytes!("../../../assets/icons/dc-color-guide.svg")),
|
||||
("dc-contour", include_bytes!("../../../assets/icons/dc-contour.svg")),
|
||||
("dc-corner-tool", include_bytes!("../../../assets/icons/dc-corner-tool.svg")),
|
||||
("dc-crystallize", include_bytes!("../../../assets/icons/dc-crystallize.svg")),
|
||||
("dc-cube", include_bytes!("../../../assets/icons/dc-cube.svg")),
|
||||
("dc-curvature-circle", include_bytes!("../../../assets/icons/dc-curvature-circle.svg")),
|
||||
@@ -102,6 +103,15 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-grad-stroke-along", include_bytes!("../../../assets/icons/dc-grad-stroke-along.svg")),
|
||||
("dc-grad-stroke-within", include_bytes!("../../../assets/icons/dc-grad-stroke-within.svg")),
|
||||
("dc-gradient", include_bytes!("../../../assets/icons/dc-gradient.svg")),
|
||||
("dc-graph-area", include_bytes!("../../../assets/icons/dc-graph-area.svg")),
|
||||
("dc-graph-bar", include_bytes!("../../../assets/icons/dc-graph-bar.svg")),
|
||||
("dc-graph-column", include_bytes!("../../../assets/icons/dc-graph-column.svg")),
|
||||
("dc-graph-line", include_bytes!("../../../assets/icons/dc-graph-line.svg")),
|
||||
("dc-graph-pie", include_bytes!("../../../assets/icons/dc-graph-pie.svg")),
|
||||
("dc-graph-radar", include_bytes!("../../../assets/icons/dc-graph-radar.svg")),
|
||||
("dc-graph-scatter", include_bytes!("../../../assets/icons/dc-graph-scatter.svg")),
|
||||
("dc-graph-stacked-bar", include_bytes!("../../../assets/icons/dc-graph-stacked-bar.svg")),
|
||||
("dc-graph-stacked-column", include_bytes!("../../../assets/icons/dc-graph-stacked-column.svg")),
|
||||
("dc-graphic-styles", include_bytes!("../../../assets/icons/dc-graphic-styles.svg")),
|
||||
("dc-grid-view", include_bytes!("../../../assets/icons/dc-grid-view.svg")),
|
||||
("dc-group-select", include_bytes!("../../../assets/icons/dc-group-select.svg")),
|
||||
@@ -110,6 +120,9 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-join-miter", include_bytes!("../../../assets/icons/dc-join-miter.svg")),
|
||||
("dc-join-round", include_bytes!("../../../assets/icons/dc-join-round.svg")),
|
||||
("dc-knife", include_bytes!("../../../assets/icons/dc-knife.svg")),
|
||||
("dc-lasso", include_bytes!("../../../assets/icons/dc-lasso.svg")),
|
||||
("dc-lasso-enclosing", include_bytes!("../../../assets/icons/dc-lasso-enclosing.svg")),
|
||||
("dc-lasso-polygonal", include_bytes!("../../../assets/icons/dc-lasso-polygonal.svg")),
|
||||
("dc-line", include_bytes!("../../../assets/icons/dc-line.svg")),
|
||||
("dc-line-cut", include_bytes!("../../../assets/icons/dc-line-cut.svg")),
|
||||
("dc-list-view", include_bytes!("../../../assets/icons/dc-list-view.svg")),
|
||||
@@ -138,6 +151,7 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-path-eraser", include_bytes!("../../../assets/icons/dc-path-eraser.svg")),
|
||||
("dc-pathfinder", include_bytes!("../../../assets/icons/dc-pathfinder.svg")),
|
||||
("dc-perspective", include_bytes!("../../../assets/icons/dc-perspective.svg")),
|
||||
("dc-perspective-select", include_bytes!("../../../assets/icons/dc-perspective-select.svg")),
|
||||
("dc-pf-crop", include_bytes!("../../../assets/icons/dc-pf-crop.svg")),
|
||||
("dc-pf-divide", include_bytes!("../../../assets/icons/dc-pf-divide.svg")),
|
||||
("dc-pf-exclude", include_bytes!("../../../assets/icons/dc-pf-exclude.svg")),
|
||||
@@ -169,7 +183,11 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-screen-mode", include_bytes!("../../../assets/icons/dc-screen-mode.svg")),
|
||||
("dc-selection", include_bytes!("../../../assets/icons/dc-selection.svg")),
|
||||
("dc-shape-builder", include_bytes!("../../../assets/icons/dc-shape-builder.svg")),
|
||||
("dc-shared-edge", include_bytes!("../../../assets/icons/dc-shared-edge.svg")),
|
||||
("dc-shear", include_bytes!("../../../assets/icons/dc-shear.svg")),
|
||||
("dc-slice", include_bytes!("../../../assets/icons/dc-slice.svg")),
|
||||
("dc-slice-select", include_bytes!("../../../assets/icons/dc-slice-select.svg")),
|
||||
("dc-slide-anchor", include_bytes!("../../../assets/icons/dc-slide-anchor.svg")),
|
||||
("dc-smooth", include_bytes!("../../../assets/icons/dc-smooth.svg")),
|
||||
("dc-stroke", include_bytes!("../../../assets/icons/dc-stroke.svg")),
|
||||
("dc-stroke-center", include_bytes!("../../../assets/icons/dc-stroke-center.svg")),
|
||||
@@ -177,7 +195,14 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-stroke-outside", include_bytes!("../../../assets/icons/dc-stroke-outside.svg")),
|
||||
("dc-swap", include_bytes!("../../../assets/icons/dc-swap.svg")),
|
||||
("dc-swatch-kinds", include_bytes!("../../../assets/icons/dc-swatch-kinds.svg")),
|
||||
("dc-symbol-screener", include_bytes!("../../../assets/icons/dc-symbol-screener.svg")),
|
||||
("dc-symbol-scruncher", include_bytes!("../../../assets/icons/dc-symbol-scruncher.svg")),
|
||||
("dc-symbol-shifter", include_bytes!("../../../assets/icons/dc-symbol-shifter.svg")),
|
||||
("dc-symbol-sizer", include_bytes!("../../../assets/icons/dc-symbol-sizer.svg")),
|
||||
("dc-symbol-spinner", include_bytes!("../../../assets/icons/dc-symbol-spinner.svg")),
|
||||
("dc-symbol-sprayer", include_bytes!("../../../assets/icons/dc-symbol-sprayer.svg")),
|
||||
("dc-symbol-stainer", include_bytes!("../../../assets/icons/dc-symbol-stainer.svg")),
|
||||
("dc-symbol-styler", include_bytes!("../../../assets/icons/dc-symbol-styler.svg")),
|
||||
("dc-touch-type", include_bytes!("../../../assets/icons/dc-touch-type.svg")),
|
||||
("dc-transform-panel", include_bytes!("../../../assets/icons/dc-transform-panel.svg")),
|
||||
("dc-transparency", include_bytes!("../../../assets/icons/dc-transparency.svg")),
|
||||
|
||||
@@ -23,7 +23,8 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-direct" => "dc-direct",
|
||||
"tool-group-select" => "dc-group-select",
|
||||
"tool-magic-wand" => "wand-sparkles",
|
||||
"tool-lasso" => "lasso",
|
||||
"tool-lasso" => "dc-lasso",
|
||||
"tool-lasso-enclosing" => "dc-lasso-enclosing",
|
||||
"tool-pen" => "pen-tool",
|
||||
"tool-pen-add" => "pen-tool-add",
|
||||
"tool-pen-delete" => "pen-tool-delete",
|
||||
@@ -84,7 +85,7 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-fill-area" => "dc-fill-area",
|
||||
"tool-live-select" => "dc-live-select",
|
||||
"tool-perspective" => "dc-perspective",
|
||||
"tool-perspective-select" => "dc-perspective",
|
||||
"tool-perspective-select" => "dc-perspective-select",
|
||||
"tool-mesh" => "dc-mesh",
|
||||
"tool-gradient" => "dc-gradient",
|
||||
"tool-eyedropper" => "pipette",
|
||||
@@ -94,9 +95,25 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-blend" => "dc-blend",
|
||||
"tool-objects-on-path" => "dc-objects-on-path",
|
||||
"tool-symbol" => "dc-symbol-sprayer",
|
||||
"tool-graph" => "chart-column",
|
||||
"tool-symbol-shifter" => "dc-symbol-shifter",
|
||||
"tool-symbol-scruncher" => "dc-symbol-scruncher",
|
||||
"tool-symbol-sizer" => "dc-symbol-sizer",
|
||||
"tool-symbol-spinner" => "dc-symbol-spinner",
|
||||
"tool-symbol-stainer" => "dc-symbol-stainer",
|
||||
"tool-symbol-screener" => "dc-symbol-screener",
|
||||
"tool-symbol-styler" => "dc-symbol-styler",
|
||||
"tool-graph" => "dc-graph-column",
|
||||
"tool-graph-stacked-column" => "dc-graph-stacked-column",
|
||||
"tool-graph-bar" => "dc-graph-bar",
|
||||
"tool-graph-stacked-bar" => "dc-graph-stacked-bar",
|
||||
"tool-graph-line" => "dc-graph-line",
|
||||
"tool-graph-area" => "dc-graph-area",
|
||||
"tool-graph-scatter" => "dc-graph-scatter",
|
||||
"tool-graph-pie" => "dc-graph-pie",
|
||||
"tool-graph-radar" => "dc-graph-radar",
|
||||
"tool-artboard" => "frame",
|
||||
"tool-slice" => "slice",
|
||||
"tool-slice" => "dc-slice",
|
||||
"tool-slice-select" => "dc-slice-select",
|
||||
"tool-hand" => "hand",
|
||||
"tool-rotate-view" => "dc-rotate-view",
|
||||
"tool-print-tiling" => "printer",
|
||||
@@ -234,6 +251,20 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
/// Every cataloged tool, the add-ons' included, maps to an existing icon that is not the
|
||||
/// dashed placeholder and that no other tool uses.
|
||||
#[test]
|
||||
fn every_tool_has_an_icon_no_other_tool_uses() {
|
||||
let mut users: std::collections::BTreeMap<&str, Vec<&str>> = std::collections::BTreeMap::new();
|
||||
for tool in vectorcraft_tools::catalog::all_tools() {
|
||||
let name = tool_icon(tool.icon);
|
||||
assert!(exists(name) && name != "square-dashed", "{} maps to {name}, which isn't an icon of its own", tool.id);
|
||||
users.entry(name).or_default().push(tool.id);
|
||||
}
|
||||
let shared: Vec<_> = users.iter().filter(|(_, tools)| tools.len() > 1).collect();
|
||||
assert!(shared.is_empty(), "tools that share an icon: {shared:?}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn shared_catalog_preserves_fallback_and_tool_aliases() {
|
||||
let ImageSource::Bytes { uri, bytes } = source("missing-icon") else { panic!("expected SVG bytes") };
|
||||
|
||||