tethys.backend/resources/js/Layouts/LayoutGuest.vue
Arno Kaimbacher 296c8fd46e
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s
- added own provider for drive methods
- renamed middleware Role and Can to role_middleware and can_middleware
- added some typing for inertia vue3 components
- npm updates
2024-04-23 19:36:45 +02:00

14 lines
362 B
Vue

<script setup>
import { StyleService } from '@/Stores/style.service';
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>