flutter-iconfont-cli
flutter-iconfont-cli copied to clipboard
希望支持修改透明度 fill-opacity
生成 iconfont 文件时,希望增加一个属性控制透明度, fill-opacity
case IconNames.arrow_right_gray_s:
svgXml = '''
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
<path
d="M499.541333 222.72l258.986667 259.072a42.666667 42.666667 0 0 1 0 60.416L499.541333 801.194667A42.666667 42.666667 0 0 1 426.666667 771.072V252.928a42.666667 42.666667 0 0 1 72.874666-30.122667z"
fill="''' + getColor(0, color, colors, '#13131A') + '''"
fill-opacity=".3"
/>
</svg>
''';
break;
#15
@fwh1990 大佬什么时候通过以下,pr
自己用 python 写了个生成工具。在这个库的基础上,支持 Color 属性、自定义类名、透明度。 🙄