taro-iconfont-cli icon indicating copy to clipboard operation
taro-iconfont-cli copied to clipboard

【强烈建议】在微信小程序的json模板中添加一行,让外部可以应用图标的样式

Open clayzx opened this issue 2 years ago • 0 comments

强烈建议在mini-program-iconfont-cli\templates\wechat.json.template文件中加入一行: "styleIsolation": "apply-shared"

这样才能在外部通过css修改icon的样式,例如给icon添加阴影等。

clayzx avatar Aug 28 '23 14:08 clayzx