feat: replace nuxt icons with unocss icons
This commit is contained in:
@@ -72,7 +72,7 @@ const deleteModel = async () => {
|
||||
<div v-if="showEdit" class="flex items-center gap-2">
|
||||
<button @click="deleteModel"
|
||||
class="rounded h-5 w-5 flex items-center justify-center opacity-0 group-hover:opacity-100 hover:bg-red-500/30 text-red-500 trannsition-all duration-200 ease-[cubic-bezier(0.5,_1,_0.89,_1)]">
|
||||
<Icon name="mynaui:trash" class="text-3.5" />
|
||||
<span class="i-mynaui-trash text-3.5"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,15 +104,15 @@ const deleteModel = async () => {
|
||||
<div class="flex items-center gap-0.5">
|
||||
<div v-if="hasInputModality('image')"
|
||||
class="w-4.5 h-4.5 bg-emerald/10 rounded flex items-center justify-center">
|
||||
<Icon name="mynaui:image" class="text-2.5 text-emerald" title="Vision" />
|
||||
<span class="i-mynaui-image text-2.5 text-emerald" title="Vision"></span>
|
||||
</div>
|
||||
<div v-if="hasCapability('reasoning')"
|
||||
class="w-4.5 h-4.5 bg-[color-mix(in_srgb,_transparent_90%,_var(--reasoning-accent)_10%)] rounded flex items-center justify-center">
|
||||
<Icon name="mynaui:atom" class="text-2.5 text-[var(--reasoning-accent)]" title="Reasoning" />
|
||||
<span class="i-mynaui-atom text-2.5 text-[var(--reasoning-accent)]" title="Reasoning"></span>
|
||||
</div>
|
||||
<div v-if="hasCapability('tools')"
|
||||
class="w-4.5 h-4.5 bg-emerald/10 rounded flex items-center justify-center">
|
||||
<Icon name="mynaui:tool" class="text-2.5 text-sky" title="Tools" />
|
||||
<span class="i-mynaui-tool text-2.5 text-sky" title="Tools"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user