Skip to content

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

Description

@clayzx

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions