@@ -133,37 +133,8 @@ export class ReplyItem extends LitElement {
133133 >
134134 ${
135135 this . upvoted
136- ? html `<svg
137- slot= "icon"
138- xmlns = "http://www.w3.org/2000/svg"
139- width = "32"
140- height = "32"
141- viewBox = "0 0 24 24"
142- >
143- <g fill= "none" stroke-linecap = "round" stroke-linejoin = "round" stroke-width = "2" >
144- <path d= "M0 0h24v24H0z" / >
145- <path
146- fill= "red"
147- d = "M6.979 3.074a6 6 0 0 1 4.988 1.425l.037.033l.034-.03a6 6 0 0 1 4.733-1.44l.246.036a6 6 0 0 1 3.364 10.008l-.18.185l-.048.041l-7.45 7.379a1 1 0 0 1-1.313.082l-.094-.082l-7.493-7.422A6 6 0 0 1 6.979 3.074z"
148- / >
149- </ g>
150- </ svg> `
151- : html `<svg
152- slot= "icon"
153- xmlns = "http://www.w3.org/2000/svg"
154- width = "32"
155- height = "32"
156- viewBox = "0 0 24 24"
157- >
158- <path
159- fill= "none"
160- stroke = "currentColor"
161- stroke-linecap = "round"
162- stroke-linejoin = "round"
163- stroke-width = "2"
164- d = "M19.5 12.572L12 20l-7.5-7.428A5 5 0 1 1 12 6.006a5 5 0 1 1 7.5 6.572"
165- / >
166- </ svg> `
136+ ? html `<i slot= "icon" class = "i-mingcute-heart-fill size-4 text-red-500" > </ i> `
137+ : html `<i slot= "icon" class = "i-mingcute-heart-line size-4" > </ i> `
167138 }
168139 </ base- comment- item- action>
169140
@@ -172,22 +143,7 @@ export class ReplyItem extends LitElement {
172143 @click = "${ this . handleToggleReplyForm } "
173144 .text = ${ this . showReplyForm ? msg ( 'Cancel reply' ) : msg ( 'Reply' ) }
174145 >
175- <svg
176- slot= "icon"
177- xmlns = "http://www.w3.org/2000/svg"
178- width = "32"
179- height = "32"
180- viewBox = "0 0 24 24"
181- >
182- <path
183- fill= "none"
184- stroke = "currentColor"
185- stroke-linecap = "round"
186- stroke-linejoin = "round"
187- stroke-width = "2"
188- d = "M12.007 19.98A9.869 9.869 0 0 1 7.7 19L3 20l1.3-3.9C1.976 12.663 2.874 8.228 6.4 5.726c3.526-2.501 8.59-2.296 11.845.48c1.992 1.7 2.93 4.04 2.747 6.34M16 19h6m-3-3v6"
189- / >
190- </ svg>
146+ <i slot= "icon" class = "i-tabler:message-circle-plus size-4" > </ i>
191147 </ base- comment- item- action>
192148
193149 ${
@@ -210,17 +166,7 @@ export class ReplyItem extends LitElement {
210166 @mouseenter = ${ ( ) => this . handleSetActiveQuoteReply ( this . quoteReply ) }
211167 @mouseleave = ${ ( ) => this . handleSetActiveQuoteReply ( ) }
212168 class= "item__quote-badge"
213- > <svg
214- xmlns= "http://www.w3.org/2000/svg"
215- width = "1em"
216- height = "1em"
217- viewBox = "0 0 24 24"
218- >
219- <path
220- fill= "currentColor"
221- d = "M10 9V5l-7 7l7 7v-4.1c5 0 8.5 1.6 11 5.1c-1-5-4-10-11-11"
222- / > </ svg
223- > <span> ${ this . quoteReply ?. owner . displayName } </ span>
169+ > <i class= "i-ic:round-reply" > </ i> <span> ${ this . quoteReply ?. owner . displayName } </ span>
224170 </ span>
225171 <br slot= "pre-content" / > `
226172 : ''
@@ -259,6 +205,8 @@ export class ReplyItem extends LitElement {
259205 text-decoration : underline;
260206 color : # 3b82f6 ;
261207 }
208+
209+ @unocss-placeholder ;
262210 ` ,
263211 ] ;
264212}
0 commit comments