refactor(message, upload): cssr var names

This commit is contained in:
07akioni 2020-11-13 13:34:19 +08:00
parent f08b5b9229
commit 41bde60f7d
6 changed files with 14 additions and 14 deletions

View File

@ -30,8 +30,8 @@ export default c([
closeColorHover,
closeColorActive,
closeColorLoading,
closeColorLoadingHover,
closeColorLoadingActive
closeColorHoverLoading,
closeColorActiveLoading
} = props.$local
const {
cubicBezierEaseInOut
@ -128,14 +128,14 @@ export default c([
}, [
c('&:hover', {
raw: `
fill: ${closeColorLoadingHover};
stroke: ${closeColorLoadingHover};
fill: ${closeColorHoverLoading};
stroke: ${closeColorHoverLoading};
`
}),
c('&:active', {
raw: `
fill: ${closeColorLoadingActive};
stroke: ${closeColorLoadingActive};
fill: ${closeColorActiveLoading};
stroke: ${closeColorActiveLoading};
`
})
])

View File

@ -42,8 +42,8 @@ export default create({
closeColorHover: 'rgba(255, 255, 255, .6)',
closeColorActive: 'rgba(255, 255, 255, .4)',
closeColorLoading: 'rgba(255, 255, 255, .5)',
closeColorLoadingHover: 'rgba(255, 255, 255, .6)',
closeColorLoadingActive: 'rgba(255, 255, 255, .4)'
closeColorHoverLoading: 'rgba(255, 255, 255, .6)',
closeColorActiveLoading: 'rgba(255, 255, 255, .4)'
}
}
})

View File

@ -44,8 +44,8 @@ export default create({
closeColorHover: 'rgba(255, 255, 255, .6)',
closeColorActive: 'rgba(255, 255, 255, .4)',
closeColorLoading: closeColor,
closeColorLoadingHover: closeColorHover,
closeColorLoadingActive: closeColor
closeColorHoverLoading: closeColorHover,
closeColorActiveLoading: closeColor
}
}
})

View File

@ -12,7 +12,7 @@ export default c([
draggerColor,
draggerBorderColorHover,
itemColorHover,
itemColorErrorHover,
itemColorHoverError,
itemTextColorError,
itemTextColorSuccess,
itemTextColor,
@ -108,7 +108,7 @@ export default c([
cM('error-status', [
c('&:hover', {
raw: `
background-color: ${itemColorErrorHover};
background-color: ${itemColorHoverError};
`
}),
cB('upload-file-info', [

View File

@ -22,7 +22,7 @@ export default create({
draggerBorderColor: borderColor,
draggerBorderColorHover: primaryColor,
itemColorHover: hoverColorOverlay,
itemColorErrorHover: changeColor(errorColor, {
itemColorHoverError: changeColor(errorColor, {
alpha: 0.09
}),
itemTextColor: textColor2,

View File

@ -22,7 +22,7 @@ export default create({
draggerBorderColor: borderColor,
draggerBorderColorHover: primaryColor,
itemColorHover: hoverColorOverlay,
itemColorErrorHover: changeColor(errorColor, {
itemColorHoverError: changeColor(errorColor, {
alpha: 0.06
}),
itemTextColor: textColor2,