Editor: add support color scheme
This commit is contained in:
parent
daf7893632
commit
cc7dd8c743
@ -128,7 +128,10 @@ const AppWrapper = inject(({ auth }) => {
|
||||
|
||||
const ThemeProviderWrapper = inject(({ auth }) => {
|
||||
const { settingsStore } = auth;
|
||||
return { theme: settingsStore.theme };
|
||||
let currentColorScheme = false;
|
||||
currentColorScheme = settingsStore.currentColorScheme || false;
|
||||
|
||||
return { theme: settingsStore.theme, currentColorScheme };
|
||||
})(observer(ThemeProvider));
|
||||
|
||||
export default (props) => (
|
||||
|
Loading…
Reference in New Issue
Block a user