Add dark mode support (#16)

This commit is contained in:
AceDataCloud committed 2024-04-04 18:12:31 +00:00
1 parent ddef4cec2a
commit b8970e1373
46 files changed
+247 -166

No files matched your search

+5
View File
@@ -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
};