Wikipedia, Yr, Dashboard Icons and Brreg have their own logos: Yr's with white letters, and Brreg's white marks on a dark tile, so they show on a light window too. The README asks for a short description of a toolbox, which Toolshed shows where the extension is offered

This commit is contained in:
keb committed 2026-11-26 12:24:49 +01:00
1 parent 21ce48d6f0
commit 8401bdc128
9 files changed
+36 -5

No files matched your search

+1 -1
View File
@@ -31,4 +31,4 @@ Toolshed asks for updates once a day and installs one only when you accept it, a
## Writing one
An extension is a folder with an `init.lua` that returns `toolshed.toolbox { … }`; Toolshed's `docs/extensions.md` describes all of it. Open `init.lua` with a comment that says what the extension does: Toolshed shows it where the extension is offered.
An extension is a folder with an `init.lua` that returns `toolshed.toolbox { … }`; Toolshed's `docs/extensions.md` describes all of it. Give its toolbox a short `description`: Toolshed shows it, with the title and icon, where the extension is offered.
+15
View File
@@ -0,0 +1,15 @@
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" width="32" height="32" rx="7" fill="#0A2A5E"/>
<rect x="5.83337" y="6.66666" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="13.8334" y="6.66666" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="21.8334" y="6.66666" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="5.83337" y="10.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="13.8334" y="10.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="5.83337" y="14.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="13.8334" y="14.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="5.83337" y="18.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="13.8334" y="18.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="5.83337" y="22.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="13.8334" y="22.6667" width="5.33333" height="2" rx="1" fill="white"/>
<rect x="21.8334" y="10.6667" width="5.33333" height="2" rx="1" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -199,7 +199,7 @@ return toolshed.toolbox {
key = "brreg",
title = "i18n:toolbox.title",
description = "i18n:toolbox.description",
icon = "building",
icon = "assets/brreg.svg",
tint = "sand",
tools = {
@@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 232 232" role="img" aria-label="dashboard-icons logo">
<rect x="4" y="4" width="224" height="224" rx="32" fill="none" stroke="#000" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
<g fill="none" stroke="#ccc" stroke-width="4" stroke-linecap="round" stroke-linejoin="round">
<rect x="24" y="24" width="48" height="48" rx="8" stroke="#FB7185"/>
<rect x="92" y="24" width="48" height="48" rx="8" fill="#FDBA74"/>
<rect x="92" y="92" width="48" height="48" rx="8" stroke="#C4B5FD"/>
<rect x="160" y="92" width="48" height="48" rx="8"/>
<rect x="92" y="160" width="48" height="48" rx="8"/>
<rect x="160" y="160" width="48" height="48" rx="8" fill="#93C5FD"/>
</g>
<circle cx="184" cy="48" r="26" fill="#86EFAC"/>
<circle cx="48" cy="116" r="26" fill="#93C5FD"/>
<rect x="24" y="160" width="48" height="48" rx="8" fill="#FDE68A"/>
</svg>

After

Width:  |  Height:  |  Size: 976 B

+1 -1
View File
@@ -59,7 +59,7 @@ return toolshed.toolbox {
key = "dashboard-icons",
title = "Dashboard Icons",
description = "i18n:toolbox.description",
icon = "image",
icon = "assets/dashboard-icons.svg",
tint = "blue",
grid = true,
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#fff"/><path d="M406.9 196.4c-14.6 32.9-59.1 137.1-88.8 205h-7.8L263.5 291c-18.6 36.4-39.1 74.3-56.7 110.3-.1.2-8.5.1-8.5 0-26.9-62.8-54.8-125.1-81.8-187.9-6.3-15.3-28.2-40-43.2-39.9 0-1.8-.1-5.8-.1-8.2h92.6l-.1 8c-10.9.5-29.7 7.4-24.8 19.4 13.1 28.2 59.3 137.4 71.8 165.1 8.7-17.1 33.1-62.5 43.1-81.8-7.9-16.1-33.8-76.3-41.6-91.5-5.9-9.9-20.6-11.1-32-11.3 0-2.5.1-4.5.1-8l81.4.3v7.4c-11 .3-21.5 4.4-16.7 14.9 11 22.7 17.3 38.9 27.4 59.9 3.2-6.2 19.7-39.9 27.5-57.7 4.7-11.8-2.3-16.3-22.2-16.8.3-1.9.1-5.9.3-7.7l70.3.1v7.3c-12.9.5-26.3 7.4-33.3 18.1l-33.9 70.2c3.7 9.3 36.3 81.6 39.7 89.6l70-161.6c-5-13.1-20.9-16-27.1-16.1 0-2.1.1-5.3.1-7.9l73.1.2.1.4-.1 7.3c-16.1.7-26 9.3-32 23.3" style="fill:#0a0a0a"/></svg>

After

Width:  |  Height:  |  Size: 835 B

+1 -1
View File
@@ -25,7 +25,7 @@ return toolshed.toolbox {
key = "wikipedia",
title = "Wikipedia",
description = "i18n:toolbox.description",
icon = "book-open",
icon = "assets/wikipedia.svg",
tint = "gray",
settings = {
+1
View File
@@ -0,0 +1 @@
<svg fill="#00B9F1" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Yr</title><circle cx="12" cy="12" r="11.5" fill="#fff"/><path d="M18.412 9.764c.295.257.464.558.474 1.085-.003.567-.184.96-.454 1.234-.275.271-.667.452-1.234.454h-1.885c-.292.001-.573.103-.839.2l-.13.047v-2.479a.982.982 0 0 1 .97-.969h1.708c.605 0 1.09.177 1.39.428zM24 12c0 6.627-5.372 12-12 12-6.627 0-12-5.373-12-12C0 5.372 5.373 0 12 0c6.628 0 12 5.372 12 12zM11.148 7.709H9.231l-.002 3.133c-.036 1.168-1.13 1.546-2.001 1.558-.995-.014-2.044-.566-2.044-2.083V7.709H3.293v2.608c0 1.184.409 2.195 1.184 2.925.701.66 1.662 1.031 2.712 1.049h.078c.705-.013 1.741-.473 1.942-.879v.863c0 1.144-1.455 1.89-1.847 2.086l.028.034a.3059.3059 0 0 0-.01.005l-.018.009 1.218 1.473.18-.101h-.001c.797-.445 2.38-1.33 2.389-3.717V7.709zm7.14 6.621a3.427 3.427 0 0 0 1.514-.876c.664-.661 1.026-1.597 1.022-2.604.01-1.047-.45-1.988-1.176-2.578-.723-.597-1.655-.874-2.625-.875h-1.709c-1.6047.0033-2.9047 1.3033-2.908 2.908v7.176h1.938v-2.036a.982.982 0 0 1 .97-.969h.772l2.085 2.554.146.18c.158.151.365.25.596.27v.001h.042a.283.283 0 0 0 .08 0h1.147l.003-1.567s-.473.132-.826-.246c-.415-.444-1.071-1.338-1.071-1.338z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+1 -1
View File
@@ -193,7 +193,7 @@ return toolshed.toolbox {
key = "yr",
title = "Yr",
description = "i18n:toolbox.description",
icon = "cloud-sun",
icon = "assets/yr.svg",
tint = "blue",
tools = {