1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-16 12:56:11 +00:00

chore: Adjust contributor SVG width, avatar margin, and image source in contributor workflow.

This commit is contained in:
Tw93
2026-01-05 12:55:00 +08:00
parent 415f829988
commit 5d1837c673

View File

@@ -29,9 +29,9 @@ jobs:
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
svgPath: CONTRIBUTORS.svg svgPath: CONTRIBUTORS.svg
svgWidth: 1200 svgWidth: 1000
avatarSize: 72 avatarSize: 72
avatarMargin: 28 avatarMargin: 53
userNameHeight: 20 userNameHeight: 20
noCommit: true noCommit: true
includeBots: false includeBots: false
@@ -42,7 +42,7 @@ jobs:
<clipPath id="cp-{{ name }}"> <clipPath id="cp-{{ name }}">
<circle cx="36" cy="36" r="36" /> <circle cx="36" cy="36" r="36" />
</clipPath> </clipPath>
<image width="72" height="72" xlink:href="https://github.com/{{{ name }}}.png?size=72" clip-path="url(#cp-{{ name }})" /> <image width="72" height="72" xlink:href="{{{ avatar }}}" clip-path="url(#cp-{{ name }})" />
<text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10" fill="#666" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif">{{{ name }}}</text> <text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10" fill="#666" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif">{{{ name }}}</text>
</a> </a>
</g> </g>