weex-nuke
Version:
基于 Rax 、Weex 的高性能组件体系 ~~
21 lines (18 loc) • 398 B
JavaScript
import VariableMix from './variable';
function styleFn(theme = {}) {
const Variables = VariableMix(theme);
return {
Slip: {
mask: {
},
'fullscreen-body': {
flex: 1,
backgroundColor: `rgba(0,0,0,${Variables['mask-opacity']})`,
},
pane: {
backgroundColor: Variables['content-bg-color'],
},
},
};
}
module.exports = styleFn;