mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
chore(readme): drop redundant repo name from star history chart (#626)
Follow-up to #625. The chart renders under the repo heading in the README, so the snapotter-hq/SnapOtter title baked into the SVG was redundant. Keep only the Star history heading; repo name stays in the aria-label for screen readers.
This commit is contained in:
@@ -173,11 +173,10 @@ function render(times) {
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="0.5" y="0.5" width="${WIDTH - 1}" height="${HEIGHT - 1}" rx="14" fill="${COLOR.bg}" stroke="${COLOR.grid}"/>
|
||||
<text x="${M.left - 0}" y="34" fill="${COLOR.text}" font-size="19" font-weight="700">${esc(REPO)}</text>
|
||||
<text x="${M.left - 0}" y="54" fill="${COLOR.muted}" font-size="13">Star history</text>
|
||||
<text x="${M.left}" y="41" fill="${COLOR.text}" font-size="19" font-weight="700">Star history</text>
|
||||
<g>
|
||||
<circle cx="${WIDTH - M.right - 96}" cy="30" r="4.5" fill="${COLOR.line}"/>
|
||||
<text x="${WIDTH - M.right - 84}" y="34" fill="${COLOR.muted}" font-size="13">GitHub stars</text>
|
||||
<circle cx="${WIDTH - M.right - 96}" cy="36" r="4.5" fill="${COLOR.line}"/>
|
||||
<text x="${WIDTH - M.right - 84}" y="41" fill="${COLOR.muted}" font-size="13">GitHub stars</text>
|
||||
</g>
|
||||
<g>
|
||||
${gridLines}
|
||||
|
||||
Reference in New Issue
Block a user