11<template >
2- <v-app >
2+ <v-app :style = " {background: $vuetify.theme.themes[theme].background} " >
33 <div v-if =" isBusy" class =" loading-line" ></div >
44 <v-main >
55 <router-view ></router-view >
2121 <!-- show login when not authenticated -->
2222
2323 <!-- show logout when authenticated -->
24- <v-bottom-navigation app fixed grow color =" primary " >
25- <v-btn v-if =" !$auth.isAuthenticated" height =" 100%" @click =" login" >
24+ <v-bottom-navigation app fixed background- color =" secondary " >
25+ <v-btn v-if =" !$auth.isAuthenticated" height =" 100%" @click =" login" color = " secondary " >
2626 <span >login</span >
2727 <v-icon >mdi-login-variant</v-icon >
2828 </v-btn >
29- <v-btn v-if =" $auth.isAuthenticated" to =" /prepare" height =" 100%" >
29+ <v-btn v-if =" $auth.isAuthenticated" to =" /prepare" height =" 100%" color = " secondary " >
3030 <span >Prepare</span >
3131 <v-icon >mdi-clipboard-list-outline</v-icon >
3232 </v-btn >
33- <v-btn v-if =" $auth.isAuthenticated" to =" /recent" height =" 100%" >
33+ <v-btn v-if =" $auth.isAuthenticated" to =" /recent" height =" 100%" color = " secondary " >
3434 <span >Recent Events</span >
3535 <v-icon >mdi-calendar-star</v-icon >
3636 </v-btn >
37- <v-btn v-if =" $auth.isAuthenticated" to =" /settings" height =" 100%" >
37+ <v-btn v-if =" $auth.isAuthenticated" to =" /settings" height =" 100%" color = " secondary " >
3838 <span >Settings</span >
3939 <v-icon >mdi-cog</v-icon >
4040 </v-btn >
41- <v-btn v-if =" $auth.isAuthenticated" @click =" logout" height =" 100%" >
41+ <v-btn v-if =" $auth.isAuthenticated" @click =" logout" height =" 100%" color = " secondary " >
4242 <span >Logout</span >
4343 <v-icon >mdi-logout-variant</v-icon >
4444 </v-btn >
@@ -59,6 +59,9 @@ export default {
5959 },
6060 error () {
6161 return this .$store .state .error ;
62+ },
63+ theme (){
64+ return (this .$vuetify .theme .dark ) ? ' dark' : ' light'
6265 }
6366 },
6467 methods: {
0 commit comments