UNPKG

weex-nuke

Version:

基于 Rax 、Weex 的高性能组件体系 ~~

34 lines (32 loc) 759 B
'use strict'; function VariableMix(theme) { const core = theme.Core; const ComponentCustomStyle = theme.Progress; /** * 进度条 * @namespace component * @property module progress * @property tag Progress * @property category component */ const 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'] }; const variables = Object.assign(progressVariables, ComponentCustomStyle); return variables; } module.exports = VariableMix;