feat: image variants per image

This commit is contained in:
fsylvain committed 2026-10-08 19:57:51 +02:00
1 parent f567866161
commit 951fef18ba
92 files changed
+8695 -413

No files matched your search

+5 -1
View File
@@ -3,7 +3,7 @@ import { computed } from 'vue'
const props = withDefaults(
defineProps<{
kind: 'unused' | 'duplicate' | 'used' | 'online' | 'draft'
kind: 'unused' | 'duplicate' | 'used' | 'online' | 'draft' | 'variants'
label: string
size?: 'sm' | 'md'
}>(),
@@ -21,6 +21,10 @@ const badges = {
icon: 'i-lucide-copy',
class: 'border border-(--rc-info-soft) bg-(--rc-info-soft) text-info',
},
variants: {
icon: 'i-lucide-layers',
class: 'border border-(--rc-info-soft) bg-(--rc-info-soft) text-info',
},
used: { icon: undefined, class: OUTLINE },
online: {
icon: 'i-lucide-globe',