diff options
author | Evan Steinkerchner <esteinkerchner@gmail.com> | 2022-03-13 15:00:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 15:00:09 -0400 |
commit | 049610bc9178a57732356801e20488cf669eda5e (patch) | |
tree | 321d3bad29b06777514c1f0ea8f7ae07f32089b6 /src/App.vue | |
parent | f3980069351ec91bea1999e5efff5c343a808706 (diff) | |
parent | 5db2414d052af629e2848f53ce9c2e0e686eefaf (diff) | |
download | homer-049610bc9178a57732356801e20488cf669eda5e.tar.gz homer-049610bc9178a57732356801e20488cf669eda5e.tar.zst homer-049610bc9178a57732356801e20488cf669eda5e.zip |
Merge pull request #311 from Aryess/main
Fix #121 - Change default theme and layout from config
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue index d2cb3ad..fda13c3 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -30,13 +30,17 @@ | |||
30 | :links="config.links" | 30 | :links="config.links" |
31 | @navbar-toggle="showMenu = !showMenu" | 31 | @navbar-toggle="showMenu = !showMenu" |
32 | > | 32 | > |
33 | <DarkMode @updated="isDark = $event" /> | 33 | <DarkMode |
34 | @updated="isDark = $event" | ||
35 | :defaultValue="this.config.defaults.colorTheme" | ||
36 | /> | ||
34 | 37 | ||
35 | <SettingToggle | 38 | <SettingToggle |
36 | @updated="vlayout = $event" | 39 | @updated="vlayout = $event" |
37 | name="vlayout" | 40 | name="vlayout" |
38 | icon="fa-list" | 41 | icon="fa-list" |
39 | iconAlt="fa-columns" | 42 | iconAlt="fa-columns" |
43 | :defaultValue="this.config.defaults.layout == 'columns'" | ||
40 | /> | 44 | /> |
41 | 45 | ||
42 | <SearchInput | 46 | <SearchInput |