Skip to content

Commit 9fbdb32

Browse files
authored
fix(ui): fix missing icons (#1484)
1 parent 7fe73b0 commit 9fbdb32

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

app/components/Org/OperationsQueue.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ function getStatusIcon(status: string): string {
164164
case 'running':
165165
return 'i-svg-spinners:ring-resize'
166166
case 'completed':
167-
return 'i-lucide:check-filled'
167+
return 'i-lucide:check'
168168
case 'failed':
169-
return 'i-lucide:x-filled'
169+
return 'i-lucide:x'
170170
default:
171171
return 'i-lucide:circle-question-mark'
172172
}
@@ -410,8 +410,8 @@ watch(isExecuting, executing => {
410410
<span
411411
:class="
412412
op.status === 'completed'
413-
? 'i-lucide:check-filled text-green-500'
414-
: 'i-lucide:x-filled text-red-500'
413+
? 'i-lucide:check text-green-500'
414+
: 'i-lucide:x text-red-500'
415415
"
416416
class="w-3.5 h-3.5 shrink-0 mt-0.5"
417417
aria-hidden="true"

app/components/Package/ClaimPackageModal.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ const previewPackageJson = computed(() => {
158158
<div
159159
class="flex items-center gap-3 p-4 bg-green-500/10 border border-green-500/20 rounded-lg"
160160
>
161-
<span class="i-lucide:check-filled text-green-500 w-6 h-6" aria-hidden="true" />
161+
<span class="i-lucide:check text-green-500 w-6 h-6" aria-hidden="true" />
162162
<div>
163163
<p class="font-mono text-sm text-fg">{{ $t('claim.modal.success') }}</p>
164164
<p class="text-xs text-fg-muted">
@@ -226,15 +226,15 @@ const previewPackageJson = computed(() => {
226226
v-if="checkResult.available"
227227
class="flex items-center gap-3 p-4 bg-green-500/10 border border-green-500/20 rounded-lg"
228228
>
229-
<span class="i-lucide:check-filled text-green-500 w-5 h-5" aria-hidden="true" />
229+
<span class="i-lucide:check text-green-500 w-5 h-5" aria-hidden="true" />
230230
<p class="font-mono text-sm text-fg">{{ $t('claim.modal.available') }}</p>
231231
</div>
232232

233233
<div
234234
v-else
235235
class="flex items-center gap-3 p-4 bg-red-500/10 border border-red-500/20 rounded-lg"
236236
>
237-
<span class="i-lucide:x-filled text-red-500 w-5 h-5" aria-hidden="true" />
237+
<span class="i-lucide:x text-red-500 w-5 h-5" aria-hidden="true" />
238238
<p class="font-mono text-sm text-fg">{{ $t('claim.modal.taken') }}</p>
239239
</div>
240240
</div>

app/components/Package/TrendsChart.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,20 +1114,20 @@ function drawEstimationLine(svg: Record<string, any>) {
11141114
11151115
lines.push(`
11161116
<line
1117-
x1="${previousPoint.x}"
1118-
y1="${previousPoint.y}"
1119-
x2="${lastPoint.x}"
1120-
y2="${lastPoint.y}"
1121-
stroke="${colors.value.bg}"
1117+
x1="${previousPoint.x}"
1118+
y1="${previousPoint.y}"
1119+
x2="${lastPoint.x}"
1120+
y2="${lastPoint.y}"
1121+
stroke="${colors.value.bg}"
11221122
stroke-width="3"
11231123
opacity="1"
11241124
/>
1125-
<line
1126-
x1="${previousPoint.x}"
1127-
y1="${previousPoint.y}"
1128-
x2="${lastPoint.x}"
1129-
y2="${lastPoint.y}"
1130-
stroke="${stroke}"
1125+
<line
1126+
x1="${previousPoint.x}"
1127+
y1="${previousPoint.y}"
1128+
x2="${lastPoint.x}"
1129+
y2="${lastPoint.y}"
1130+
stroke="${stroke}"
11311131
stroke-width="3"
11321132
stroke-dasharray="4 8"
11331133
stroke-linecap="round"
@@ -1240,7 +1240,7 @@ function drawSvgPrintLegend(svg: Record<string, any>) {
12401240
!isZoomed.value
12411241
) {
12421242
seriesNames.push(`
1243-
<line
1243+
<line
12441244
x1="${svg.drawingArea.left + 12}"
12451245
y1="${svg.drawingArea.top + 24 * data.length}"
12461246
x2="${svg.drawingArea.left + 24}"
@@ -1721,7 +1721,7 @@ watch(selectedMetric, value => {
17211721
</template>
17221722
<template #optionAltCopy>
17231723
<span
1724-
class="i-carbon:accessibility-alt w-6 h-6 text-fg-subtle"
1724+
class="i-lucide:person-standing w-6 h-6 text-fg-subtle"
17251725
style="pointer-events: none"
17261726
aria-hidden="true"
17271727
/>

app/components/Package/Versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
502502
<TooltipApp interactive position="top">
503503
<span
504504
tabindex="0"
505-
class="i-carbon:information w-3.5 h-3.5 text-fg-subtle cursor-help shrink-0 rounded-sm"
505+
class="i-lucide:info w-3.5 h-3.5 text-fg-subtle cursor-help shrink-0 rounded-sm"
506506
role="img"
507507
:aria-label="$t('package.versions.filter_help')"
508508
/>

app/components/Readme.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function handleClick(event: MouseEvent) {
153153
.readme :deep(a[href^='#']::after) {
154154
/* I don't know what kind of sorcery this is, but it ensures this icon can't wrap to a new line on its own. */
155155
content: '__';
156-
@apply inline i-carbon:link rtl-flip ms-1 opacity-0;
156+
@apply inline i-lucide:link rtl-flip ms-1 opacity-0;
157157
}
158158
159159
.readme :deep(a[href^='#']:hover::after) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ const showSkeleton = shallowRef(false)
762762
:aria-label="copiedVersion ? $t('common.copied') : $t('package.copy_version')"
763763
>
764764
<span
765-
:class="copiedVersion ? 'i-carbon:checkmark' : 'i-carbon:copy'"
765+
:class="copiedVersion ? 'i-lucide:check' : 'i-lucide:copy'"
766766
class="w-3.5 h-3.5"
767767
aria-hidden="true"
768768
/>

0 commit comments

Comments
 (0)