aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UIStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-07 23:53:32 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-07 23:53:32 +0100
commit8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf (patch)
tree899a872633f8c87a7ebb067b40b1ff1369851527 /src/stores/UIStore.js
parentMerge (diff)
downloadferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.gz
ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.zst
ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.zip
wip
Diffstat (limited to 'src/stores/UIStore.js')
-rw-r--r--src/stores/UIStore.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stores/UIStore.js b/src/stores/UIStore.js
index 188c2fc44..e3c5103da 100644
--- a/src/stores/UIStore.js
+++ b/src/stores/UIStore.js
@@ -1,5 +1,5 @@
1import { action, observable, computed } from 'mobx'; 1import { action, observable, computed } from 'mobx';
2import theme from '@meetfranz/theme'; 2import * as theme from '@meetfranz/theme';
3 3
4import Store from './lib/Store'; 4import Store from './lib/Store';
5 5
@@ -23,10 +23,10 @@ export default class UIStore extends Store {
23 23
24 @computed get theme() { 24 @computed get theme() {
25 if (this.stores.settings.all.app.darkMode) { 25 if (this.stores.settings.all.app.darkMode) {
26 return theme('dark'); 26 return theme.default('dark');
27 } 27 }
28 28
29 return theme('default'); 29 return theme.default('default');
30 } 30 }
31 31
32 // Actions 32 // Actions