weex-nuke
Version:
基于 Rax 、Weex 的高性能组件体系 ~~
33 lines (32 loc) • 750 B
JavaScript
function VariableMix(theme) {
var core = theme.Core;
var ComponentCustomStyle = theme.Progress;
/**
* 进度条
* @namespace component
* @property module progress
* @property tag Progress
* @property category component
*/
var progressVariables = {
/**
* background
* @property namespace statement
*/
'progress-bg': core['color-fill1-3'],
/**
* height
* @property namespace size/bounding
*/
'progress-height': core['s-3'],
/**
* color
* @property namespace statement
*/
'progress-color': core['color-brand1-6']
};
var variables = Object.assign(progressVariables, ComponentCustomStyle);
return variables;
}
module.exports = VariableMix;
;