besteadfast / carbon

Steadfast's starter project - Craft CMS, Vite, and DDEV
3 stars 2 forks source link

Add icon picker to Craft #55

Open DrewTJohnson opened 7 months ago

DrewTJohnson commented 7 months ago

Need a better way for users to select SVG icons through Craft. Verbb has a plugin for this: https://plugins.craftcms.com/icon-picker?craft4

We could also look at a custom solution, but the plugin is probably the easiest route.

DrewTJohnson commented 5 months ago

For the picker, we should probably just use the root directory instead of specifying the sizes in the folders. I think all of the icons render at the same size, so we would have no way to differentiate between icons. We should set the sizes programatically.

DrewTJohnson commented 4 months ago

Linked the icon picker branch for this issue. We should look to discuss how to handle how we handle the icons that we load into the picker.