2024-04-22 09:38:51 +02:00
|
|
|
<template>
|
2024-06-12 05:53:55 +02:00
|
|
|
<ButtonsBase
|
|
|
|
|
class="[--btn-border:theme(colors.zinc.950/90%)] [--btn-bg:theme(colors.zinc.800)] [--btn-hover-overlay:theme(colors.white/5%)] [--btn-icon:theme(colors.zinc.400)] active:[--btn-icon:theme(colors.zinc.300)] hover:[--btn-icon:theme(colors.zinc.300)] after:shadow-[shadow:inset_0_1px_theme(colors.white/15%)] border border-white/5"
|
|
|
|
|
v-bind="$props" :loading="loading">
|
2024-04-22 09:38:51 +02:00
|
|
|
<slot />
|
|
|
|
|
</ButtonsBase>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import type { ButtonHTMLAttributes } from "vue";
|
|
|
|
|
|
|
|
|
|
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
|
|
|
|
|
2024-04-27 06:50:30 +02:00
|
|
|
defineProps<
|
|
|
|
|
Props & {
|
|
|
|
|
loading?: boolean;
|
|
|
|
|
}
|
|
|
|
|
>();
|
2024-04-22 09:38:51 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style></style>
|