diff options
author | 2021-09-17 19:10:19 +0200 | |
---|---|---|
committer | 2021-09-17 19:10:19 +0200 | |
commit | efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7 (patch) | |
tree | c623e8b3fba326dcbb57228f1ddbfbf55eeec494 /language-web/src/main/js/RootStore.tsx | |
parent | Add ESLint config (diff) | |
download | refinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.tar.gz refinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.tar.zst refinery-efdb6c6620e9ea7f5861efbef7d3462bf3c7bcd7.zip |
Frontend color theme
Diffstat (limited to 'language-web/src/main/js/RootStore.tsx')
-rw-r--r-- | language-web/src/main/js/RootStore.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/language-web/src/main/js/RootStore.tsx b/language-web/src/main/js/RootStore.tsx index 1c3aab2b..88b8a445 100644 --- a/language-web/src/main/js/RootStore.tsx +++ b/language-web/src/main/js/RootStore.tsx | |||
@@ -1,12 +1,16 @@ | |||
1 | import React, { createContext, useContext } from 'react'; | 1 | import React, { createContext, useContext } from 'react'; |
2 | 2 | ||
3 | import { EditorStore } from './editor/EditorStore'; | 3 | import { EditorStore } from './editor/EditorStore'; |
4 | import { ThemeStore } from './theme/ThemeStore'; | ||
4 | 5 | ||
5 | export class RootStore { | 6 | export class RootStore { |
6 | editorStore; | 7 | editorStore; |
7 | 8 | ||
9 | themeStore; | ||
10 | |||
8 | constructor() { | 11 | constructor() { |
9 | this.editorStore = new EditorStore(); | 12 | this.themeStore = new ThemeStore(); |
13 | this.editorStore = new EditorStore(this.themeStore); | ||
10 | } | 14 | } |
11 | } | 15 | } |
12 | 16 | ||