mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
Emoji Legend
This commit is contained in:
parent
7757817636
commit
a1ff4fd79f
9 changed files with 158 additions and 7 deletions
34
.vitepress/theme/components/PaneFields.vue
Normal file
34
.vitepress/theme/components/PaneFields.vue
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue