mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-24 12:05:16 +00:00
40 lines
898 B
Vue
40 lines
898 B
Vue
<template>
|
|
<div id="app" class="d-flex flex-column dvh-100" :style="colorStore.cssVars">
|
|
<NavBar />
|
|
<BaseAlert></BaseAlert>
|
|
<BodyLayout class="flex-fill overflow-auto" />
|
|
<NavFooter />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useSettingsStore } from './stores/settings';
|
|
import { useColorStore } from './stores/colors';
|
|
const settingsStore = useSettingsStore();
|
|
const colorStore = useColorStore();
|
|
onMounted(() => {
|
|
setTimezone(settingsStore.timezone);
|
|
colorStore.updateProfitLossColor();
|
|
});
|
|
watch(
|
|
() => settingsStore.timezone,
|
|
(tz) => {
|
|
console.log('timezone changed', tz);
|
|
setTimezone(tz);
|
|
},
|
|
);
|
|
</script>
|
|
|
|
<style scoped>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
}
|
|
|
|
/* * {
|
|
outline: 1px solid #f00 !important;
|
|
} */
|
|
</style>
|