refs #6383 darkMode
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-01-09 08:36:50 +01:00
parent 94e4bb383a
commit a59a86dfd6
1 changed files with 10 additions and 1 deletions

View File

@ -1,8 +1,17 @@
<script setup> <script setup>
import { useQuasar } from 'quasar'; import { onMounted, computed } from 'vue';
import { Dark, Quasar, useQuasar } from 'quasar';
import Navbar from 'src/components/NavBar.vue'; import Navbar from 'src/components/NavBar.vue';
const quasar = useQuasar(); const quasar = useQuasar();
const darkMode = computed({
get() {
return Dark.isActive;
},
set(value) {
Dark.set(value);
},
});
</script> </script>
<template> <template>