Toggle for manually setting dark or light mode

This commit is contained in:
2019-10-20 23:19:19 +02:00
parent 8e7aa77ee3
commit 49c418c3f1
2 changed files with 57 additions and 1 deletions

View File

@@ -12,6 +12,9 @@
<!-- Movie popup that will show above existing rendered content -->
<movie-popup v-if="moviePopupIsVisible" :id="popupID" :type="popupType"></movie-popup>
<darkmode-toggle />
<!-- Display the component assigned to the given route (default: home) -->
<router-view class="content"></router-view>
@@ -23,13 +26,15 @@ import Vue from 'vue'
import Navigation from '@/components/Navigation.vue'
import MoviePopup from '@/components/MoviePopup.vue'
import SearchInput from '@/components/SearchInput.vue'
import DarkmodeToggle from '@/components/ui/darkmodeToggle.vue'
export default {
name: 'app',
components: {
Navigation,
MoviePopup,
SearchInput
SearchInput,
DarkmodeToggle
},
data() {
return {