refactor: remove of light mode from admin dashboard + added README, .env.example (#33)

This commit is contained in:
Joel Jacob Stephen
2023-03-13 18:57:29 +05:30
committed by GitHub
parent 65719b560b
commit 753db25e4c
17 changed files with 157 additions and 313 deletions

View File

@@ -5,7 +5,6 @@
</template>
<script setup lang="ts">
import { useDark, useToggle } from '@vueuse/core';
import { computed } from 'vue';
import { useRouter } from 'vue-router';
import { HOPP_MODULES } from './modules';
@@ -18,15 +17,6 @@ const layout = computed(
() => `${currentRoute.value.meta.layout || defaultLayout}-layout`
);
const isDark = useDark();
useToggle(isDark);
// Run module root component setup code
HOPP_MODULES.forEach((mod) => mod.onRootSetup?.());
</script>
<style lang="scss">
html.dark {
color-scheme: dark;
}
</style>