Open aynakeya opened 2 months ago
I noted that fyne has some svg icons builtin https://docs.fyne.io/explore/icons.html.
would it be feasible to introduce a feature allowing users to generate their own icon resources directly from Iconify using command similar to fyne bundle.
fyne bundle
eg.
fyne iconify add mdi:account
will generate following content
package icons var MdiAccount = theme.NewThemedResource(&fyne.StaticResource{ StaticName: "MdiAccount.svg", StaticContent: []byte("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill="black" d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4"/></svg>"), })
svg from https://icon-sets.iconify.design/mdi/account/
all icons can be found in https://github.com/iconify/icon-sets repo.
I can work on it if this feature is a suitable additioon to fyne commands : )
I noted that fyne has some svg icons builtin https://docs.fyne.io/explore/icons.html.
would it be feasible to introduce a feature allowing users to generate their own icon resources directly from Iconify using command similar to
fyne bundle
.eg.
fyne iconify add mdi:account
will generate following content
all icons can be found in https://github.com/iconify/icon-sets repo.