Commit 6a833fc7 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: CTAButton should use white text always (#5589)

different colors
parent 80ed8eb6
...@@ -76,7 +76,6 @@ const SubText = styled.h3` ...@@ -76,7 +76,6 @@ const SubText = styled.h3`
const CTAButton = styled(BaseButton)` const CTAButton = styled(BaseButton)`
padding: 16px; padding: 16px;
border-radius: 24px; border-radius: 24px;
color: ${({ theme }) => theme.textPrimary};
&:hover { &:hover {
opacity: 50%; opacity: 50%;
...@@ -86,11 +85,13 @@ const CTAButton = styled(BaseButton)` ...@@ -86,11 +85,13 @@ const CTAButton = styled(BaseButton)`
const ButtonCTA = styled(CTAButton)` const ButtonCTA = styled(CTAButton)`
background: linear-gradient(10deg, rgba(255, 0, 199, 1) 0%, rgba(255, 159, 251, 1) 100%); background: linear-gradient(10deg, rgba(255, 0, 199, 1) 0%, rgba(255, 159, 251, 1) 100%);
border: none; border: none;
color: ${({ theme }) => theme.white};
` `
const ButtonCTASecondary = styled(CTAButton)` const ButtonCTASecondary = styled(CTAButton)`
background: none; background: none;
border: ${({ theme }) => `1px solid ${theme.textPrimary}`}; border: ${({ theme }) => `1px solid ${theme.textPrimary}`};
color: ${({ theme }) => theme.textPrimary};
` `
const ButtonCTAText = styled.p` const ButtonCTAText = styled.p`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment