@@ -151,18 +151,14 @@ const copyDevInstallCommand = () =>
151151 >{{ i > 0 ? ' ' : '' }}{{ part }}</span
152152 ></code
153153 >
154- <button
154+ <ButtonBase
155155 type =" button"
156- class =" p-1 ms-1 flex items-center font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border border-solid rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-accent/70 media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100"
156+ size =" small"
157+ class =" text-fg-muted bg-bg-subtle/80 border-border media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100 active:scale-95 focus-visible:opacity-100 select-none"
157158 :aria-label =" $t('package.get_started.copy_command')"
159+ :classicon =" copied ? 'i-lucide:check' : 'i-lucide:copy'"
158160 @click.stop =" copyInstallCommand"
159- >
160- <span
161- :class =" copied ? 'i-lucide:check' : 'i-lucide:copy'"
162- class =" size-4 inline-block"
163- aria-hidden =" true"
164- />
165- </button >
161+ />
166162 </div >
167163
168164 <!-- Suggested dev dependency install command -->
@@ -187,18 +183,14 @@ const copyDevInstallCommand = () =>
187183 >{{ i > 0 ? ' ' : '' }}{{ part }}</span
188184 ></code
189185 >
190- <button
186+ <ButtonBase
191187 type =" button"
192- class =" p-1 ms-1 flex items-center font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border border-solid rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-accent/70 media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100"
188+ size =" small"
189+ class =" text-fg-muted bg-bg-subtle/80 border-border media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100 active:scale-95 focus-visible:opacity-100 select-none"
193190 :aria-label =" $t('package.get_started.copy_dev_command')"
191+ :classicon =" devInstallCopied ? 'i-lucide:check' : 'i-lucide:copy'"
194192 @click.stop =" copyDevInstallCommand"
195- >
196- <span
197- :class =" devInstallCopied ? 'i-lucide:check' : 'i-lucide:copy'"
198- class =" size-4 inline-block"
199- aria-hidden =" true"
200- />
201- </button >
193+ />
202194 </div >
203195 </template >
204196
@@ -254,18 +246,14 @@ const copyDevInstallCommand = () =>
254246 >{{ i > 0 ? ' ' : '' }}{{ part }}</span
255247 ></code
256248 >
257- <button
249+ <ButtonBase
258250 type =" button"
259- class =" p-1 ms-1 flex items-center font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border border-solid rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-accent/70 media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100"
251+ size =" small"
252+ class =" text-fg-muted bg-bg-subtle/80 border-border media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100 active:scale-95 focus-visible:opacity-100 select-none"
260253 :aria-label =" $t('package.run.copy_command')"
254+ :classicon =" runCopied ? 'i-lucide:check' : 'i-lucide:copy'"
261255 @click.stop =" copyRunCommand(executableInfo?.primaryCommand)"
262- >
263- <span
264- :class =" runCopied ? 'i-lucide:check' : 'i-lucide:copy'"
265- class =" size-4 inline-block"
266- aria-hidden =" true"
267- />
268- </button >
256+ />
269257 </div >
270258 </template >
271259
@@ -304,18 +292,14 @@ const copyDevInstallCommand = () =>
304292 >{{ i > 0 ? ' ' : '' }}{{ part }}</span
305293 ></code
306294 >
307- <button
295+ <ButtonBase
308296 type =" button"
309- class =" p-1 ms-1 flex items-center font-mono text-xs text-fg-muted bg-bg-subtle/80 border border-border border-solid rounded transition-colors duration-200 hover:(text-fg border-border-hover) active:scale-95 focus-visible:outline-accent/70 media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100"
297+ size =" small"
298+ class =" text-fg-muted bg-bg-subtle/80 border-border media-mouse:opacity-0 media-mouse:group-hover:opacity-100 media-mouse:focus-within:opacity-100 active:scale-95 focus-visible:opacity-100 select-none"
310299 :aria-label =" $t('package.create.copy_command')"
300+ :classicon =" createCopied ? 'i-lucide:check' : 'i-lucide:copy'"
311301 @click.stop =" copyCreateCommand"
312- >
313- <span
314- :class =" createCopied ? 'i-lucide:check' : 'i-lucide:copy'"
315- class =" size-4 inline-block"
316- aria-hidden =" true"
317- />
318- </button >
302+ />
319303 </div >
320304 </template >
321305 </div >
0 commit comments