add seperate modules for dark and light theme
This commit is contained in:
10
src/GlobalInfos.js
Normal file
10
src/GlobalInfos.js
Normal file
@@ -0,0 +1,10 @@
|
||||
class GlobalInfos {
|
||||
isDarkTheme() {
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
const StaticInfos = new GlobalInfos();
|
||||
Object.freeze(StaticInfos);
|
||||
|
||||
export default StaticInfos;
|
||||
Reference in New Issue
Block a user