In updating the kookma plugins, I started using the plugin icon ( a TiddlyWiki feature less used). The cost is few kilobytes (less than 1~2 kB).
For example see
What is the best practice to include the plugin icon?
Q1- the type of icon to work on all browsers? I use svg.
Q2- the size of the icon? Is the standard size 22pt?
The pt is less common and I prefer px. I hope in the new update of TiddlyWiki, core icons use px instead of pt.
Me too. However, setting width and height is unnecessary and may interfere with its scalability. The image can be scaled better by the browser (and your CSS).
I’d recommend sticking to black/gray/white for public plugin icons out of respect for the users; it is distracting with a sudden color blot in the plugins list - and it will keep on distracting every time your eyes scan the list. It is possible to modify the color of svg icons (…even if I personally suck at doing things in svg).
If you’d like to save a lot of space, you could try using Unicode emoji characters instead of SVG images. Unicode characters can be rendered by using HTML “entity” syntax (&#x.....;).
For example: “home” = 🏡 “clock” = ⏱ “palette” = 🎨 “push pin” = 📌
etc.
Also, Unicode characters automatically scale to match the current font size, so they can be easily resized in TiddlyWiki via CSS using @@font-size:...; &#x...;@@. For example: @@font-size:5em; ⏱@@ produces a huge clock icon.
There are lots of reference sites to lookup Unicode and emoji character codes. Here’s a few links to get you started:
Thank you Eric.
Amazing! I expected to have a tiddler of type of image. An هcon tiddler in form of <span style="font-size:30px">📝</span> resulted in: