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:
parent
02f985d8a3
commit
12544c52ca
4 changed files with 25 additions and 6 deletions
17
src/components/misc/ButtonLink.vue
Normal file
17
src/components/misc/ButtonLink.vue
Normal 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>
|
||||
Reference in a new issue