fix: add ButtonLink component

Add ButtonLink component to fix occasions where the BaseButton needs to be styled in a link color.
This commit is contained in:
Dominik Pschenitschni 2022-06-22 21:37:23 +02:00 committed by Gitea
parent 02f985d8a3
commit 12544c52ca
4 changed files with 25 additions and 6 deletions

View file

@ -0,0 +1,17 @@
<template>
<BaseButton class="button-link"><slot/></BaseButton>
</template>
<script setup lang="ts">
import BaseButton from '@/components/base/BaseButton.vue'
</script>
<style lang="scss">
.button-link {
color: var(--link);
&:hover {
color: var(--link-hover);
}
}
</style>