weex-nuke
Version:
基于 Rax 、Weex 的高性能组件体系 ~~
20 lines (18 loc) • 465 B
JavaScript
import VariableMix from './variable';
function styleProvider(theme = {}) {
const Variables = VariableMix(theme);
const core = theme.Core;
return {
Progress: {
'progress-wrap': {
height: Variables['progress-height'],
backgroundColor: Variables['progress-bg'],
flexDirection: 'row',
},
'progress-inner': {
backgroundColor: Variables['progress-color'],
}
},
};
}
module.exports = styleProvider;