From 8e605abfacc20031897a5f2acc087c8f8659fc5a Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Thu, 10 Dec 2020 16:38:19 +0800 Subject: [PATCH] fix: style variable typo --- src/_styles/base/dark.js | 2 +- src/_styles/base/light.js | 2 +- src/alert/styles/dark.js | 12 ++++++------ src/card/styles/dark.js | 2 +- src/notification/styles/dark.js | 4 ++-- src/tag/styles/dark.js | 4 ++-- src/tag/styles/light.js | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/_styles/base/dark.js b/src/_styles/base/dark.js index b51b0273f..389265c4d 100644 --- a/src/_styles/base/dark.js +++ b/src/_styles/base/dark.js @@ -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), diff --git a/src/_styles/base/light.js b/src/_styles/base/light.js index f55d4e1e3..1091eee15 100644 --- a/src/_styles/base/light.js +++ b/src/_styles/base/light.js @@ -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), diff --git a/src/alert/styles/dark.js b/src/alert/styles/dark.js index dd1420d25..146a4ad78 100644 --- a/src/alert/styles/dark.js +++ b/src/alert/styles/dark.js @@ -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 } } diff --git a/src/card/styles/dark.js b/src/card/styles/dark.js index 866d3e80c..d6eaee407 100644 --- a/src/card/styles/dark.js +++ b/src/card/styles/dark.js @@ -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 } diff --git a/src/notification/styles/dark.js b/src/notification/styles/dark.js index 21a49b717..157583e7c 100644 --- a/src/notification/styles/dark.js +++ b/src/notification/styles/dark.js @@ -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, diff --git a/src/tag/styles/dark.js b/src/tag/styles/dark.js index 231ba65e1..b82933905 100644 --- a/src/tag/styles/dark.js +++ b/src/tag/styles/dark.js @@ -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, diff --git a/src/tag/styles/light.js b/src/tag/styles/light.js index 17be461cf..655a692ce 100644 --- a/src/tag/styles/light.js +++ b/src/tag/styles/light.js @@ -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,