mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
refactor(message, upload): cssr var names
This commit is contained in:
parent
f08b5b9229
commit
41bde60f7d
@ -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};
|
||||
`
|
||||
})
|
||||
])
|
||||
|
@ -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)'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -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', [
|
||||
|
@ -22,7 +22,7 @@ export default create({
|
||||
draggerBorderColor: borderColor,
|
||||
draggerBorderColorHover: primaryColor,
|
||||
itemColorHover: hoverColorOverlay,
|
||||
itemColorErrorHover: changeColor(errorColor, {
|
||||
itemColorHoverError: changeColor(errorColor, {
|
||||
alpha: 0.09
|
||||
}),
|
||||
itemTextColor: textColor2,
|
||||
|
@ -22,7 +22,7 @@ export default create({
|
||||
draggerBorderColor: borderColor,
|
||||
draggerBorderColorHover: primaryColor,
|
||||
itemColorHover: hoverColorOverlay,
|
||||
itemColorErrorHover: changeColor(errorColor, {
|
||||
itemColorHoverError: changeColor(errorColor, {
|
||||
alpha: 0.06
|
||||
}),
|
||||
itemTextColor: textColor2,
|
||||
|
Loading…
Reference in New Issue
Block a user