Expose dark mode flag to plugin authors
Summary: Should be available now with ``` getFlipperLib().settings().isDarkMode ``` Differential Revision: D46685851 fbshipit-source-id: 0777437b7ca06051cc3fd4dc1b794242f453f2b5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bf2f1283d3
commit
84e481e7e9
@@ -38,5 +38,8 @@ export function initializeFlipperLibImplementation(
|
||||
// TODO: Write to stdout/stderr?
|
||||
throw new Error('Not supported in headless context');
|
||||
},
|
||||
settings() {
|
||||
return {isDarkMode: false};
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user