@@ -98,27 +98,19 @@ export default defineConfig({
9898 icon : {
9999 svg : `
100100<svg xmlns="http://www.w3.org/2000/svg" viewBox="32 32 512 512" width="32" height="32" fill="currentColor">
101- <!-- 1. mask:RSS logo挖掉粗外框矩形 -->
102101 <mask id="mask-logo">
103102 <rect width="100%" height="100%" fill="white"/>
104- <!-- 外框挖空,比实际矩形大,形成粗框 -->
105103 <rect x="220" y="340" width="275" height="190" rx="50" ry="50" fill="black"/>
106104 </mask>
107-
108- <!-- 2. mask:矩形挖掉文字 -->
109105 <mask id="mask-text">
110106 <rect x="245" y="360" width="225" height="150" rx="40" ry="40" fill="white"/>
111107 <text x="357" y="480" font-size="120" font-weight="bold" text-anchor="middle" fill="black">EN</text>
112108 </mask>
113-
114- <!-- RSS logo应用外框mask -->
115109 <path d="M128 416c0 17.7-14.3 32-32 32s-32-14.3-32-32
116110 14.3-32 32-32 32 14.3 32 32zm144 32c0-107.5-84.5-192-192-192v64
117111 c70.7 0 128 57.3 128 128h64zm96 0c0-159.1-128.9-288-288-288v64
118112 c123.7 0 224 100.3 224 224h64z"
119113 mask="url(#mask-logo)"/>
120-
121- <!-- 矩形角标应用文字mask -->
122114 <rect x="240" y="363" width="235" height="150" rx="40" ry="40"
123115 mask="url(#mask-text)"/>
124116</svg>
@@ -131,27 +123,20 @@ export default defineConfig({
131123 icon : {
132124 svg : `
133125<svg xmlns="http://www.w3.org/2000/svg" viewBox="32 32 512 512" width="32" height="32" fill="currentColor">
134- <!-- 1. mask:RSS logo挖掉粗外框矩形 -->
135126 <mask id="mask-logo">
136127 <rect width="100%" height="100%" fill="white"/>
137128 <!-- 外框挖空,比实际矩形大,形成粗框 -->
138129 <rect x="220" y="340" width="275" height="190" rx="50" ry="50" fill="black"/>
139130 </mask>
140-
141- <!-- 2. mask:矩形挖掉文字 -->
142131 <mask id="mask-text">
143132 <rect x="245" y="360" width="225" height="150" rx="40" ry="40" fill="white"/>
144133 <text x="357" y="480" font-size="120" font-weight="bold" text-anchor="middle" fill="black">ZH</text>
145134 </mask>
146-
147- <!-- RSS logo应用外框mask -->
148135 <path d="M128 416c0 17.7-14.3 32-32 32s-32-14.3-32-32
149136 14.3-32 32-32 32 14.3 32 32zm144 32c0-107.5-84.5-192-192-192v64
150137 c70.7 0 128 57.3 128 128h64zm96 0c0-159.1-128.9-288-288-288v64
151138 c123.7 0 224 100.3 224 224h64z"
152139 mask="url(#mask-logo)"/>
153-
154- <!-- 矩形角标应用文字mask -->
155140 <rect x="240" y="363" width="235" height="150" rx="40" ry="40"
156141 mask="url(#mask-text)"/>
157142</svg>
0 commit comments