Skip to content

希望支持修改透明度 fill-opacity #14

@JanzTam

Description

@JanzTam

生成 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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions