This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/components/misc/colorBubble.vue

24 lines
349 B
Vue
Raw Normal View History

<template>
<span
:style="{backgroundColor: color }"
class="color-bubble"
2024-02-07 11:18:19 +00:00
/>
</template>
<script lang="ts" setup>
2022-10-17 11:14:07 +00:00
import type { DataType } from 'csstype'
2022-09-15 12:32:29 +00:00
defineProps< {
2022-10-17 11:14:07 +00:00
color: DataType.Color,
2022-09-15 12:32:29 +00:00
}>()
</script>
<style scoped>
.color-bubble {
display: inline-block;
border-radius: 100%;
height: 10px;
width: 10px;
flex-shrink: 0;
}
</style>