style: update star SVG files for improved aesthetics and consistency
- Reduced height and adjusted dimensions of SVG elements for both English and Chinese versions to enhance visual appeal. - Modified text positioning and font sizes for better readability. - Updated star icon sizes and positions to maintain design consistency across both SVG files.
This commit is contained in:
parent
1fd93d79b8
commit
f52c46f6be
|
|
@ -1,4 +1,4 @@
|
|||
<svg width="600" height="80" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="600" height="60" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- 背景渐变 -->
|
||||
<defs>
|
||||
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
|
|
@ -18,36 +18,36 @@
|
|||
</defs>
|
||||
|
||||
<!-- 背景 -->
|
||||
<rect width="600" height="80" rx="10" fill="url(#bgGradient)" />
|
||||
<rect width="600" height="60" rx="8" fill="url(#bgGradient)" />
|
||||
|
||||
<!-- 边框 -->
|
||||
<rect width="600" height="80" rx="10" fill="none" stroke="#dc2626" stroke-width="2" opacity="0.6"/>
|
||||
<rect width="600" height="60" rx="8" fill="none" stroke="#dc2626" stroke-width="1.5" opacity="0.6"/>
|
||||
|
||||
<!-- 左侧星星图标 -->
|
||||
<g transform="translate(40, 40)">
|
||||
<circle cx="0" cy="0" r="26" fill="#dc2626" opacity="0.15"/>
|
||||
<path d="M 0,-16 L 3.8,-5 L 15.5,-5 L 6.2,3 L 9.9,14 L 0,6 L -9.9,14 L -6.2,3 L -15.5,-5 L -3.8,-5 Z"
|
||||
<g transform="translate(32, 30)">
|
||||
<circle cx="0" cy="0" r="20" fill="#dc2626" opacity="0.15"/>
|
||||
<path d="M 0,-12 L 2.8,-3.7 L 11.6,-3.7 L 4.6,2.2 L 7.4,10.5 L 0,4.5 L -7.4,10.5 L -4.6,2.2 L -11.6,-3.7 L -2.8,-3.7 Z"
|
||||
fill="#dc2626" filter="url(#glow)"/>
|
||||
</g>
|
||||
|
||||
<!-- 主文字 -->
|
||||
<text x="80" y="37" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="24" font-weight="bold" fill="#ffffff">
|
||||
<text x="62" y="28" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="20" font-weight="bold" fill="#ffffff">
|
||||
⭐ 如果喜欢,请给个 Star 吧!
|
||||
</text>
|
||||
|
||||
<!-- 副文字 -->
|
||||
<text x="80" y="60" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="13" fill="#dc2626" font-weight="600">
|
||||
<text x="62" y="47" font-family="'PingFang SC', 'Microsoft YaHei', Arial, sans-serif" font-size="11" fill="#dc2626" font-weight="600">
|
||||
无偿开源与维护,您的支持是我们持续改进 XCodeReviewer 的最大动力!
|
||||
</text>
|
||||
|
||||
<!-- 右侧装饰星星 -->
|
||||
<g transform="translate(570, 25)">
|
||||
<path d="M 0,-6 L 1.5,-2 L 6,-2 L 2.5,1 L 4,5 L 0,2.5 L -4,5 L -2.5,1 L -6,-2 L -1.5,-2 Z"
|
||||
<g transform="translate(575, 20)">
|
||||
<path d="M 0,-5 L 1.2,-1.5 L 5,-1.5 L 2,0.8 L 3.2,4 L 0,2 L -3.2,4 L -2,0.8 L -5,-1.5 L -1.2,-1.5 Z"
|
||||
fill="#dc2626" opacity="0.6"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(555, 60)">
|
||||
<path d="M 0,-5 L 1.2,-1.5 L 5,-1.5 L 2,1 L 3.2,4 L 0,2 L -3.2,4 L -2,1 L -5,-1.5 L -1.2,-1.5 Z"
|
||||
<g transform="translate(562, 45)">
|
||||
<path d="M 0,-4 L 1,-1.2 L 4,-1.2 L 1.6,0.6 L 2.5,3.2 L 0,1.5 L -2.5,3.2 L -1.6,0.6 L -4,-1.2 L -1,-1.2 Z"
|
||||
fill="#dc2626" opacity="0.4"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.1 KiB |
|
|
@ -1,4 +1,4 @@
|
|||
<svg width="600" height="80" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="600" height="60" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- 背景渐变 -->
|
||||
<defs>
|
||||
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
|
|
@ -18,36 +18,36 @@
|
|||
</defs>
|
||||
|
||||
<!-- 背景 -->
|
||||
<rect width="600" height="80" rx="10" fill="url(#bgGradient)" />
|
||||
<rect width="600" height="60" rx="8" fill="url(#bgGradient)" />
|
||||
|
||||
<!-- 边框 -->
|
||||
<rect width="600" height="80" rx="10" fill="none" stroke="#dc2626" stroke-width="2" opacity="0.6"/>
|
||||
<rect width="600" height="60" rx="8" fill="none" stroke="#dc2626" stroke-width="1.5" opacity="0.6"/>
|
||||
|
||||
<!-- 左侧星星图标 -->
|
||||
<g transform="translate(40, 40)">
|
||||
<circle cx="0" cy="0" r="26" fill="#dc2626" opacity="0.15"/>
|
||||
<path d="M 0,-16 L 3.8,-5 L 15.5,-5 L 6.2,3 L 9.9,14 L 0,6 L -9.9,14 L -6.2,3 L -15.5,-5 L -3.8,-5 Z"
|
||||
<g transform="translate(32, 30)">
|
||||
<circle cx="0" cy="0" r="20" fill="#dc2626" opacity="0.15"/>
|
||||
<path d="M 0,-12 L 2.8,-3.7 L 11.6,-3.7 L 4.6,2.2 L 7.4,10.5 L 0,4.5 L -7.4,10.5 L -4.6,2.2 L -11.6,-3.7 L -2.8,-3.7 Z"
|
||||
fill="#dc2626" filter="url(#glow)"/>
|
||||
</g>
|
||||
|
||||
<!-- 主文字 -->
|
||||
<text x="80" y="34" font-family="Arial, sans-serif" font-size="22" font-weight="bold" fill="#ffffff">
|
||||
<text x="62" y="26" font-family="Arial, sans-serif" font-size="18" font-weight="bold" fill="#ffffff">
|
||||
⭐ Star this project if you like it!
|
||||
</text>
|
||||
|
||||
<!-- 副文字 -->
|
||||
<text x="80" y="58" font-family="Arial, sans-serif" font-size="12" fill="#dc2626" font-weight="600">
|
||||
<text x="62" y="45" font-family="Arial, sans-serif" font-size="10.5" fill="#dc2626" font-weight="600">
|
||||
Free and open-source, your support motivates us to keep improving XCodeReviewer!
|
||||
</text>
|
||||
|
||||
<!-- 右侧装饰星星 -->
|
||||
<g transform="translate(570, 25)">
|
||||
<path d="M 0,-6 L 1.5,-2 L 6,-2 L 2.5,1 L 4,5 L 0,2.5 L -4,5 L -2.5,1 L -6,-2 L -1.5,-2 Z"
|
||||
<g transform="translate(575, 20)">
|
||||
<path d="M 0,-5 L 1.2,-1.5 L 5,-1.5 L 2,0.8 L 3.2,4 L 0,2 L -3.2,4 L -2,0.8 L -5,-1.5 L -1.2,-1.5 Z"
|
||||
fill="#dc2626" opacity="0.6"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(555, 60)">
|
||||
<path d="M 0,-5 L 1.2,-1.5 L 5,-1.5 L 2,1 L 3.2,4 L 0,2 L -3.2,4 L -2,1 L -5,-1.5 L -1.2,-1.5 Z"
|
||||
<g transform="translate(562, 45)">
|
||||
<path d="M 0,-4 L 1,-1.2 L 4,-1.2 L 1.6,0.6 L 2.5,3.2 L 0,1.5 L -2.5,3.2 L -1.6,0.6 L -4,-1.2 L -1,-1.2 Z"
|
||||
fill="#dc2626" opacity="0.4"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue