From 0f3ca49e336fb5111aa604b78e69ab934b732a45 Mon Sep 17 00:00:00 2001 From: Ishan Kumar Date: Sun, 20 Aug 2023 10:51:27 +0530 Subject: [PATCH] feat: update color on handbook and adventures-vol Signed-off-by: Ishan Kumar --- src/components/AdventuresVol/adventures-vol.style.js | 2 +- src/components/HandbookCard/HandbookCard.style.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/AdventuresVol/adventures-vol.style.js b/src/components/AdventuresVol/adventures-vol.style.js index 03e7dee49fef..ee4c7b1a2b4d 100644 --- a/src/components/AdventuresVol/adventures-vol.style.js +++ b/src/components/AdventuresVol/adventures-vol.style.js @@ -99,6 +99,6 @@ export const AdventuresVolWrapper = styled.div` } .handbook__card:hover .handbook__card--head { - color: white; + color: ${props => props.theme.white}; } `; diff --git a/src/components/HandbookCard/HandbookCard.style.js b/src/components/HandbookCard/HandbookCard.style.js index 00f99e62315e..b117b954919b 100644 --- a/src/components/HandbookCard/HandbookCard.style.js +++ b/src/components/HandbookCard/HandbookCard.style.js @@ -89,16 +89,12 @@ export const HandbookCardWrapper = styled.div` transform: translateX(0); opacity: 1; } - .handbook__card:hover .handbook__card--head::before { height: 100%; } - .handbook__card:hover { scale: 1.07; } - .handbook__card:hover .handbook__card--head { color: ${props => props.theme.white}; - } -`; + }`;