mobilizon.chapril.org-mobil.../js/src/components/Tag.vue

25 lines
390 B
Vue
Raw Normal View History

<template>
<span class="tag">
<span>
<slot />
</span>
</span>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component
export default class Tag extends Vue {}
</script>
<style lang="scss" scoped>
span.tag {
background: $purple-3;
color: $violet-2;
text-transform: uppercase;
&::before {
content: "#";
}
}
</style>