Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
6a833fc7
Unverified
Commit
6a833fc7
authored
Dec 08, 2022
by
Vignesh Mohankumar
Committed by
GitHub
Dec 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: CTAButton should use white text always (#5589)
different colors
parent
80ed8eb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.tsx
src/pages/Landing/index.tsx
+2
-1
No files found.
src/pages/Landing/index.tsx
View file @
6a833fc7
...
...
@@ -76,7 +76,6 @@ const SubText = styled.h3`
const
CTAButton
=
styled
(
BaseButton
)
`
padding: 16px;
border-radius: 24px;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
&:hover {
opacity: 50%;
...
...
@@ -86,11 +85,13 @@ const CTAButton = styled(BaseButton)`
const
ButtonCTA
=
styled
(
CTAButton
)
`
background: linear-gradient(10deg, rgba(255, 0, 199, 1) 0%, rgba(255, 159, 251, 1) 100%);
border: none;
color:
${({
theme
})
=>
theme
.
white
}
;
`
const
ButtonCTASecondary
=
styled
(
CTAButton
)
`
background: none;
border:
${({
theme
})
=>
`1px solid
${
theme
.
textPrimary
}
`
}
;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
`
const
ButtonCTAText
=
styled
.
p
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment