add seperate modules for dark and light theme

This commit is contained in:
2020-07-24 22:47:21 +02:00
parent 15ede7821e
commit a3b63618b4
10 changed files with 119 additions and 47 deletions

10
src/GlobalInfos.js Normal file
View File

@@ -0,0 +1,10 @@
class GlobalInfos {
isDarkTheme() {
return true;
};
}
const StaticInfos = new GlobalInfos();
Object.freeze(StaticInfos);
export default StaticInfos;