Skip to content

Commit 80aea09

Browse files
committed
replace caret icon
1 parent f4795d7 commit 80aea09

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

app/components/Package/Table.vue

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,15 @@ function getColumnLabel(id: ColumnId): string {
139139
<template v-if="isSortable('name')">
140140
<span
141141
v-if="isColumnSorted('name')"
142-
class="i-carbon:caret-down w-3 h-3"
142+
class="i-lucide:chevron-down w-3 h-3"
143143
:class="getSortDirection('name') === 'asc' ? 'rotate-180' : ''"
144144
aria-hidden="true"
145145
/>
146-
<span v-else class="i-carbon:caret-sort w-3 h-3 opacity-30" aria-hidden="true" />
146+
<span
147+
v-else
148+
class="i-lucide:chevrons-up-down w-3 h-3 opacity-30"
149+
aria-hidden="true"
150+
/>
147151
</template>
148152
</span>
149153
</th>
@@ -189,11 +193,15 @@ function getColumnLabel(id: ColumnId): string {
189193
<template v-if="isSortable('downloads')">
190194
<span
191195
v-if="isColumnSorted('downloads')"
192-
class="i-carbon:caret-down w-3 h-3"
196+
class="i-lucide:caret-down w-3 h-3"
193197
:class="getSortDirection('downloads') === 'asc' ? 'rotate-180' : ''"
194198
aria-hidden="true"
195199
/>
196-
<span v-else class="i-carbon:caret-sort w-3 h-3 opacity-30" aria-hidden="true" />
200+
<span
201+
v-else
202+
class="i-lucide:chevrons-up-down w-3 h-3 opacity-30"
203+
aria-hidden="true"
204+
/>
197205
</template>
198206
</span>
199207
</th>
@@ -223,11 +231,15 @@ function getColumnLabel(id: ColumnId): string {
223231
<template v-if="isSortable('updated')">
224232
<span
225233
v-if="isColumnSorted('updated')"
226-
class="i-carbon:caret-down w-3 h-3"
234+
class="i-lucide:caret-down w-3 h-3"
227235
:class="getSortDirection('updated') === 'asc' ? 'rotate-180' : ''"
228236
aria-hidden="true"
229237
/>
230-
<span v-else class="i-carbon:caret-sort w-3 h-3 opacity-30" aria-hidden="true" />
238+
<span
239+
v-else
240+
class="i-lucide:chevrons-up-down w-3 h-3 opacity-30"
241+
aria-hidden="true"
242+
/>
231243
</template>
232244
</span>
233245
</th>

0 commit comments

Comments
 (0)