separator and styling items

This commit is contained in:
Julien Calixte
2023-07-30 00:07:38 +02:00
parent 9f842c3b6e
commit 77d47843f8
6 changed files with 62 additions and 52 deletions

View File

@@ -0,0 +1,22 @@
<script setup lang="ts">
import BaseIcon from './BaseIcon.vue'
withDefaults(defineProps<{ color: string }>(), {
color: 'var(--primary-color)'
})
</script>
<template>
<BaseIcon :color="color" class="separator">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 12l0 .01" />
<path d="M7 12l10 0" />
<path d="M21 12l0 .01" />
</BaseIcon>
</template>
<style scoped>
.separator {
margin: 1rem 0;
}
</style>