1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/packages/app-mobile/utils/createRootStyle.ts

12 lines
224 B
TypeScript
Raw Normal View History

const { themeStyle } = require('../components/global-style');
export default (themeId: number) => {
const theme = themeStyle(themeId);
return {
root: {
flex: 1,
backgroundColor: theme.backgroundColor,
},
};
};