diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -14,10 +14,7 @@ | |||
14 | </head> | 14 | </head> |
15 | 15 | ||
16 | <body> | 16 | <body> |
17 | <div id="app" v-if="config" :class="{ | 17 | <div id="app" v-if="config" :class="[isDark ? 'is-dark' : 'is-light']"> |
18 | 'is-dark': overrideDark === true, | ||
19 | 'is-light': overrideDark === false | ||
20 | }"> | ||
21 | <div id="bighead"> | 18 | <div id="bighead"> |
22 | <section class="first-line"> | 19 | <section class="first-line"> |
23 | <div v-cloak class="container"> | 20 | <div v-cloak class="container"> |
@@ -47,7 +44,7 @@ | |||
47 | aria-label="Toggle dark mode" | 44 | aria-label="Toggle dark mode" |
48 | ><i class="fas fa-adjust"></i> | 45 | ><i class="fas fa-adjust"></i> |
49 | </a> | 46 | </a> |
50 | <a v-on:click="vlayout = !vlayout" class="icon-button navbar-item"><i | 47 | <a v-on:click="toggleLayout()" class="icon-button navbar-item"><i |
51 | :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a> | 48 | :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a> |
52 | <div class="search-bar"> | 49 | <div class="search-bar"> |
53 | <label for="search" class="search-label"></label> | 50 | <label for="search" class="search-label"></label> |