fix: style variable typo

This commit is contained in:
07akioni 2020-12-10 16:38:19 +08:00
parent cc0fbca1d5
commit 8e605abfac
7 changed files with 15 additions and 15 deletions

View File

@ -155,7 +155,7 @@ export default create({
// close
closeColorHover: neutral(base.alphaClose * 1.25),
colorColorHoverOverlay: overlay(base.alphaClose * 1.25),
closeColorHoverOverlay: overlay(base.alphaClose * 1.25),
closeColor: neutral(base.alphaClose),
closeColorOverlay: overlay(base.alphaClose),
closeColorPressed: neutral(base.alphaClose * 0.8),

View File

@ -156,7 +156,7 @@ export default create({
// close
closeColorHover: neutral(base.alphaClose * 0.8),
colorColorHoverOverlay: overlay(base.alphaClose * 0.8),
closeColorHoverOverlay: overlay(base.alphaClose * 0.8),
closeColor: neutral(base.alphaClose),
closeColorOverlay: overlay(base.alphaClose),
closeColorPressed: neutral(base.alphaClose * 1.25),

View File

@ -13,7 +13,7 @@ export default create({
textColor1Overlay,
textColor2Overlay,
closeColorOverlay,
colorColorHoverOverlay,
closeColorHoverOverlay,
closeColorPressedOverlay,
infoColorSuppl,
successColorSuppl,
@ -29,7 +29,7 @@ export default create({
iconColor: textColor2Overlay,
contentTextColor: textColor2Overlay,
closeColor: closeColorOverlay,
closeColorHover: colorColorHoverOverlay,
closeColorHover: closeColorHoverOverlay,
closeColorPressed: closeColorPressedOverlay,
borderInfo: `1px solid ${changeColor(infoColorSuppl, { alpha: 0.35 })}`,
colorInfo: changeColor(infoColorSuppl, { alpha: 0.25 }),
@ -37,7 +37,7 @@ export default create({
iconColorInfo: infoColorSuppl,
contentTextColorInfo: textColor2Overlay,
closeColorInfo: closeColorOverlay,
closeColorHoverInfo: colorColorHoverOverlay,
closeColorHoverInfo: closeColorHoverOverlay,
closeColorPressedInfo: closeColorPressedOverlay,
borderSuccess: `1px solid ${changeColor(successColorSuppl, { alpha: 0.35 })}`,
colorSuccess: changeColor(successColorSuppl, { alpha: 0.25 }),
@ -45,7 +45,7 @@ export default create({
iconColorSuccess: successColorSuppl,
contentTextColorSuccess: textColor2Overlay,
closeColorSuccess: closeColorOverlay,
closeColorHoverSuccess: colorColorHoverOverlay,
closeColorHoverSuccess: closeColorHoverOverlay,
closeColorPressedSuccess: closeColorPressedOverlay,
borderWarning: `1px solid ${changeColor(warningColorSuppl, { alpha: 0.35 })}`,
colorWarning: changeColor(warningColorSuppl, { alpha: 0.25 }),
@ -53,7 +53,7 @@ export default create({
iconColorWarning: warningColorSuppl,
contentTextColorWarning: textColor2Overlay,
closeColorWarning: closeColorOverlay,
closeColorHoverWarning: colorColorHoverOverlay,
closeColorHoverWarning: closeColorHoverOverlay,
closeColorPressedWarning: closeColorPressedOverlay,
borderError: `1px solid ${changeColor(errorColorSuppl, { alpha: 0.35 })}`,
colorError: changeColor(errorColorSuppl, { alpha: 0.25 }),
@ -61,7 +61,7 @@ export default create({
iconColorError: errorColorSuppl,
contentTextColorError: textColor2Overlay,
closeColorError: closeColorOverlay,
closeColorHoverError: colorColorHoverOverlay,
closeColorHoverError: closeColorHoverOverlay,
closeColorPressedError: closeColorPressedOverlay
}
}

View File

@ -17,7 +17,7 @@ export default create({
actionColor: vars.actionColorOverlay,
titleFontWeight: vars.fontWeightStrong,
closeColor: vars.closeColorOverlay,
closeColorHover: vars.colorColorHoverOverlay,
closeColorHover: vars.closeColorHoverOverlay,
closeColorPressed: vars.closeColorPressedOverlay,
borderRadius
}

View File

@ -16,7 +16,7 @@ export default create({
errorColor,
popoverColor,
closeColorOverlay,
colorColorHoverOverlay,
closeColorHoverOverlay,
textColor1Overlay,
textColor3Overlay,
borderRadius,
@ -32,7 +32,7 @@ export default create({
color: popoverColor,
textColor: textColor2Overlay,
closeColor: closeColorOverlay,
closeColorHover: colorColorHoverOverlay,
closeColorHover: closeColorHoverOverlay,
closeColorPressed: closeColorOverlay,
headerTextColor: textColor1Overlay,
contentTextColor: textColor2Overlay,

View File

@ -25,7 +25,7 @@ export default create({
borderColorOverlay,
opacityDisabled,
closeColorOverlay,
colorColorHoverOverlay,
closeColorHoverOverlay,
closeColorPressedOverlay,
borderRadiusSmall: borderRadius
} = vars
@ -49,7 +49,7 @@ export default create({
textColor: textColor2Overlay,
color: 'transparent',
closeColor: closeColorOverlay,
closeColorHover: colorColorHoverOverlay,
closeColorHover: closeColorHoverOverlay,
closeColorPressed: closeColorPressedOverlay,
borderColorPrimary: changeColor(primaryColor, { alpha: 0.3 }),
textColorPrimary: primaryColor,

View File

@ -26,7 +26,7 @@ export default create({
opacityDisabled,
tagColor,
closeColorOverlay,
colorColorHoverOverlay,
closeColorHoverOverlay,
closeColorPressedOverlay,
borderRadiusSmall: borderRadius
} = vars
@ -50,7 +50,7 @@ export default create({
textColor: textColor2Overlay,
color: tagColor,
closeColor: closeColorOverlay,
closeColorHover: colorColorHoverOverlay,
closeColorHover: closeColorHoverOverlay,
closeColorPressed: closeColorPressedOverlay,
borderColorPrimary: changeColor(primaryColor, { alpha: 0.3 }),
textColorPrimary: primaryColor,