27 lines
715 B
Vue
Executable File
27 lines
715 B
Vue
Executable File
<script setup>
|
|
import { computed } from 'vue';
|
|
import { useCustomizerStore } from '~/stores/customizer';
|
|
|
|
const customizer = useCustomizerStore();
|
|
|
|
//const dark = ref(false);
|
|
const dark = computed(() => {
|
|
if (
|
|
customizer.actTheme === 'DARK_BLUE_THEME' ||
|
|
customizer.actTheme === 'DARK_AQUA_THEME' ||
|
|
customizer.actTheme === 'DARK_ORANGE_THEME' ||
|
|
customizer.actTheme === 'DARK_PURPLE_THEME' ||
|
|
customizer.actTheme === 'DARK_GREEN_THEME' ||
|
|
customizer.actTheme === 'DARK_CYAN_THEME'
|
|
) {
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
});
|
|
</script>
|
|
<template>
|
|
<LayoutFullLogoLight v-if="dark" />
|
|
<LayoutFullLogoDark v-else />
|
|
</template>
|