Emoji Legend

This commit is contained in:
taskylizard 2023-11-01 02:10:38 +05:30
parent 7757817636
commit a1ff4fd79f
No known key found for this signature in database
GPG key ID: 5CABA3D642DDC497
9 changed files with 158 additions and 7 deletions

View file

@ -0,0 +1,34 @@
<script setup lang="ts">
defineProps<{
icon: string;
}>();
</script>
<template>
<div class="field-body">
<div class="field-icon" :class="icon" />
<div class="value">
<slot />
</div>
</div>
</template>
<style scoped>
.field-body {
color: var(--vt-c-text-1);
display: block;
}
.value {
color: var(--vp-c-text-2);
}
.field-body {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
gap: 12px;
}
</style>