lots of visual improvements

This commit is contained in:
vabene1111
2024-03-23 21:11:59 +01:00
parent f0d0550251
commit 9d4c26fd29
7 changed files with 43 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
<template>
<template v-if="keywords">
<v-chip color="info" size="x-small" v-for="k in keywords"> {{ k.label }}</v-chip>
</template>
<div v-if="keywords">
<v-chip class="ms-1" :color="color" :size="size" :variant="variant" v-for="k in keywords"> {{ k.label }}</v-chip>
</div>
</template>
@@ -15,8 +15,12 @@ export default {
mixins: [],
props: {
keywords: Array as PropType<Array<Keyword> | Array<KeywordLabel> | undefined>,
size: {type: String, default: 'x-small'},
color: {type: String, default: ''},
variant: {type: String as PropType<NonNullable<"tonal" | "flat" | "text" | "elevated" | "outlined" | "plain"> | undefined>, default: 'tonal'},
},
computed: {
},
computed: {},
methods: {}
}
</script>