Add dark mode support (#16)
This commit is contained in:
1 parent
ddef4cec2a
commit
b8970e1373
46 files changed
+247
-166
No files matched your search
@@ -8,6 +8,10 @@ export const user = (state: IRootState): any => {
|
||||
return state.user;
|
||||
};
|
||||
|
||||
export const dark = (state: IRootState): boolean => {
|
||||
return state.dark;
|
||||
};
|
||||
|
||||
export const locale = (state: IRootState): string => {
|
||||
return state.locale;
|
||||
};
|
||||
@@ -25,5 +29,6 @@ export default {
|
||||
authenticated,
|
||||
user,
|
||||
token,
|
||||
dark,
|
||||
setting
|
||||
};
|
||||
Reference in new issue
Block a user