Skip to content

Commit 28413dc

Browse files
committed
replace code icon
1 parent a730933 commit 28413dc

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/components/Package/Compatibility.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getName(engine: string): string {
2323
}
2424
2525
function getIcon(engine: string): string {
26-
return engineIcons[engine] || 'i-carbon:code'
26+
return engineIcons[engine] || 'i-lucide:code'
2727
}
2828
2929
const sortedEngines = computed(() => {

app/components/Package/Playgrounds.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const providerIcons: Record<string, string> = {
1616
'vue-playground': 'i-simple-icons:vuedotjs',
1717
'nuxt-new': 'i-simple-icons:nuxtdotjs',
1818
'vite-new': 'i-simple-icons:vite',
19-
'jsfiddle': 'i-carbon:code',
19+
'jsfiddle': 'i-lucide:code',
2020
}
2121
2222
// Map provider id to color class

app/components/Package/SkillsModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function getWarningTooltip(skill: SkillListItem): string | undefined {
234234
class="inline-flex items-center gap-1 text-xs text-fg-subtle hover:text-fg transition-colors"
235235
@click.stop
236236
>
237-
<span class="i-carbon:code size-3" />{{ $t('package.skills.view_source') }}
237+
<span class="i-lucide:code size-3" />{{ $t('package.skills.view_source') }}
238238
</NuxtLink>
239239
</div>
240240
</div>

app/pages/package-code/[[org]]/[packageName]/v/[version]/[...filePath].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ const markdownViewModes = [
261261
{
262262
key: 'code',
263263
label: $t('code.markdown_view_mode.code'),
264-
icon: 'i-carbon:code',
264+
icon: 'i-lucide:code',
265265
},
266266
] as const
267267

app/pages/package/[[org]]/[name].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ const PROVIDER_ICONS: Record<string, string> = {
410410
const repoProviderIcon = computed(() => {
411411
const provider = repoRef.value?.provider
412412
if (!provider) return 'i-carbon:logo-github'
413-
return PROVIDER_ICONS[provider] ?? 'i-carbon:code'
413+
return PROVIDER_ICONS[provider] ?? 'i-lucide:code'
414414
})
415415
416416
const homepageUrl = computed(() => {
@@ -769,7 +769,7 @@ const showSkeleton = shallowRef(false)
769769
variant="button-secondary"
770770
:to="codeLink"
771771
aria-keyshortcuts="."
772-
classicon="i-carbon:code"
772+
classicon="i-lucide:code"
773773
>
774774
{{ $t('package.links.code') }}
775775
</LinkBase>

0 commit comments

Comments
 (0)