Skip to content

Commit 086146c

Browse files
committed
replace scale icon
1 parent 1cba4f8 commit 086146c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/LicenseDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const hasAnyValidLicense = computed(() => tokens.value.some(t => t.type === 'lic
2828
</template>
2929
<span
3030
v-if="hasAnyValidLicense"
31-
class="i-carbon:scales w-3.5 h-3.5 text-fg-subtle flex-shrink-0 self-center"
31+
class="i-lucide:scale w-3.5 h-3.5 text-fg-subtle flex-shrink-0 self-center"
3232
aria-hidden="true"
3333
/>
3434
</span>

test/nuxt/components/LicenseDisplay.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ describe('LicenseDisplay', () => {
2727
const component = await mountSuspended(LicenseDisplay, {
2828
props: { license: 'MIT' },
2929
})
30-
const icon = component.find('.i-carbon:scales')
30+
const icon = component.find('.i-lucide:scale')
3131
expect(icon.exists()).toBe(true)
3232
})
3333

3434
it('does not show scales icon for invalid license', async () => {
3535
const component = await mountSuspended(LicenseDisplay, {
3636
props: { license: 'CustomLicense' },
3737
})
38-
const icon = component.find('.i-carbon:scales')
38+
const icon = component.find('.i-lucide:scale')
3939
expect(icon.exists()).toBe(false)
4040
})
4141
})
@@ -105,7 +105,7 @@ describe('LicenseDisplay', () => {
105105
const component = await mountSuspended(LicenseDisplay, {
106106
props: { license: 'CustomLicense OR MIT' },
107107
})
108-
const icon = component.find('.i-carbon:scales')
108+
const icon = component.find('.i-lucide:scale')
109109
expect(icon.exists()).toBe(true)
110110
})
111111
})

0 commit comments

Comments
 (0)