mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-18 21:16:31 +00:00
f91b33db38
* change all icons to use iconify * fix minor UI elements * fix layout of table
28 lines
567 B
Vue
28 lines
567 B
Vue
<template>
|
|
<div class="pb-3">
|
|
<h3
|
|
class="text-3xl font-bold tracking-tight flex items-center"
|
|
:class="{
|
|
'text-neutral-content': dark,
|
|
'text-content': !dark,
|
|
}"
|
|
>
|
|
<slot />
|
|
</h3>
|
|
<p v-if="$slots.description" class="mt-2 max-w-4xl text-sm text-base-content">
|
|
<slot name="description" />
|
|
</p>
|
|
<div v-if="$slots.after">
|
|
<slot name="after" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
defineProps({
|
|
dark: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
});
|
|
</script>
|