refactor(progress): rename theme cssr vars

This commit is contained in:
07akioni 2020-08-02 20:10:12 +08:00
parent ca784e9e5f
commit 0ed733f420
3 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ export default c([
const local = props.$local
const fillColor = local[status].fillColor
const outerIndicatorTextColor = local.outerIndicatorTextColor
const processingLineBackgroundImage = local.processingLineBackgroundImage
const lineBackgroundImageProcessing = local.lineBackgroundImageProcessing
return cTB('progress', [
cM(status, [
cB('progress-text', {
@ -65,7 +65,7 @@ export default c([
cM('processing', [
c('&::after', {
content: '',
backgroundImage: processingLineBackgroundImage,
backgroundImage: lineBackgroundImageProcessing,
animation: `progress-processing-animation 2s ${base.easeInOutCubicBezier} infinite`
})
])

View File

@ -23,7 +23,7 @@ export default create({
},
innerIndicatorTextColor: 'rgb(0, 0, 0)',
outerIndicatorTextColor: 'rgb(0, 0, 0)',
processingLineBackgroundImage: 'linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)'
lineBackgroundImageProcessing: 'linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)'
}
}
})

View File

@ -23,7 +23,7 @@ export default create({
},
innerIndicatorTextColor: 'rgb(255, 255, 255)',
outerIndicatorTextColor: 'rgb(255, 255, 255)',
processingLineBackgroundImage: 'linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)'
lineBackgroundImageProcessing: 'linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)'
}
}
})