sh_ajunker
sh_ajunker
I found a solution use "theme.NewThemedResource()" but only fyne's svg ```go c := widget.NewButtonWithIcon("fyne's Svg", theme.NewThemedResource(fyneSvgToResource), nil) ```
> 这就是 ThemedResource 应该如何工作的。 它不仅适用于 Fyne SVG - 我在材料设计图标集中尝试过的所有图标都效果很好。 In other words, fyne's icon is acceptable, but user-defined icons are not. The requirement is that user-defined icons must have the...
> 这就是 ThemedResource 应该如何工作的。 它不仅适用于 Fyne SVG - 我在材料设计图标集中尝试过的所有图标都效果很好。 Try how to make the icon here also successful https://iconpark.oceanengine.com/official
i found a problem stroke="#333" To "stroke="#fff"" will default to white ```go diySvgToContent := ` ` ``` Explain that fyne's theme tool does not uniformly process the color of svg
## It seems that the way to deal with custom svg colors here needs to be adjusted. User-defined svg is not in the fyne framework, which is special ```go //...