2023-03-03 15:54:28 +00:00
|
|
|
<script setup>
|
2024-04-23 17:36:45 +00:00
|
|
|
import { StyleService } from '@/Stores/style.service';
|
2023-03-03 15:54:28 +00:00
|
|
|
const styleService = StyleService();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-10-31 14:38:43 +00:00
|
|
|
<!-- dark; true or false from pinia service -->
|
|
|
|
<div :class="{ dark: styleService.darkMode }">
|
|
|
|
<div class="bg-gray-50 dark:bg-slate-800 dark:text-slate-100">
|
|
|
|
<slot />
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-03 15:54:28 +00:00
|
|
|
</template>
|