This commit is contained in:
Никита Круглицкий
2025-08-15 18:06:53 +06:00
parent f4cf6eb53b
commit 3da49413fd
12 changed files with 15332 additions and 12157 deletions

25
components/ui/badge.vue Normal file
View File

@@ -0,0 +1,25 @@
<template>
<div :class="cn.b()">
<slot />
</div>
</template>
<script lang="ts" setup>
const cn = useClassname('ui-badge')
</script>
<style lang="scss">
.ui-badge {
@include font(15px, 500, 15px);
display: inline-block;
border-radius: 3px;
padding: 4px 8px;
color: $color-gray-700;
background-color: $color-gray-400;
@include mobile {
@include font(10px, 500, 15px);
}
}
</style>