forked from geolba/tethys.backend
14 lines
327 B
Vue
14 lines
327 B
Vue
<script setup>
|
|
import { StyleService } from '@/Stores/style.js';
|
|
const styleService = StyleService();
|
|
</script>
|
|
|
|
<template>
|
|
<!-- 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>
|
|
</template>
|