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
ed82f9ff
Unverified
Commit
ed82f9ff
authored
Dec 09, 2022
by
pp-hh-ii-ll
Committed by
GitHub
Dec 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: color updates (#5617)
Fixed colors for cards and text
parent
dd5a22ce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
9 deletions
+18
-9
index.tsx
src/components/Button/index.tsx
+1
-1
Card.tsx
src/pages/About/Card.tsx
+5
-2
Step.tsx
src/pages/About/Step.tsx
+1
-0
Title.ts
src/pages/About/Title.ts
+2
-2
index.tsx
src/pages/Landing/index.tsx
+9
-4
No files found.
src/components/Button/index.tsx
View file @
ed82f9ff
...
@@ -151,7 +151,7 @@ export const ButtonSecondary = styled(BaseButton)`
...
@@ -151,7 +151,7 @@ export const ButtonSecondary = styled(BaseButton)`
`
`
export const ButtonOutlined = styled(BaseButton)`
export const ButtonOutlined = styled(BaseButton)`
border
:
1
px
solid
$
{({
theme
})
=>
theme
.
deprecated_bg2
};
border
:
1
px
solid
$
{({
theme
})
=>
theme
.
backgroundOutline
};
background
-
color
:
transparent
;
background
-
color
:
transparent
;
color
:
$
{({
theme
})
=>
theme
.
deprecated_text1
};
color
:
$
{({
theme
})
=>
theme
.
deprecated_text1
};
&
:
focus
{
&
:
focus
{
...
...
src/pages/About/Card.tsx
View file @
ed82f9ff
...
@@ -14,11 +14,14 @@ const StyledCard = styled.div<{ isDarkMode: boolean }>`
...
@@ -14,11 +14,14 @@ const StyledCard = styled.div<{ isDarkMode: boolean }>`
padding: 40px;
padding: 40px;
height: 200px;
height: 200px;
border-radius: 24px;
border-radius: 24px;
transition:
${({
theme
})
=>
`
${
theme
.
transition
.
duration
.
medium
}
${
theme
.
transition
.
timing
.
ease
}
background
-color
`
}
;
transition:
${({
theme
})
=>
`
${
theme
.
transition
.
duration
.
medium
}
${
theme
.
transition
.
timing
.
ease
}
background`
}
;
border: 1px solid
${({
theme
,
isDarkMode
})
=>
(
isDarkMode
?
'
transparent
'
:
theme
.
backgroundOutline
)}
;
border: 1px solid
${({
theme
,
isDarkMode
})
=>
(
isDarkMode
?
'
transparent
'
:
theme
.
backgroundOutline
)}
;
&:hover {
&:hover {
background-color:
${({
theme
})
=>
theme
.
backgroundModule
}
;
background:
${({
theme
,
isDarkMode
})
=>
isDarkMode
?
theme
.
backgroundModule
:
'
linear-gradient(180deg,rgba(93, 103, 133, 0.08) 0%, rgba(0, 0, 0, 0) 100%)
'
}
;
}
}
`
`
...
...
src/pages/About/Step.tsx
View file @
ed82f9ff
...
@@ -8,6 +8,7 @@ const StyledStep = styled.div<{ selected: boolean }>`
...
@@ -8,6 +8,7 @@ const StyledStep = styled.div<{ selected: boolean }>`
font-size: 28px;
font-size: 28px;
font-weight: 500;
font-weight: 500;
line-height: 36px;
line-height: 36px;
transition:
${({
theme
})
=>
`
${
theme
.
transition
.
duration
.
medium
}
${
theme
.
transition
.
timing
.
ease
}
color`
}
;
&:not(:last-of-type) {
&:not(:last-of-type) {
border-bottom:
${({
theme
})
=>
`1px solid
${
theme
.
backgroundOutline
}
`
}
;
border-bottom:
${({
theme
})
=>
`1px solid
${
theme
.
backgroundOutline
}
`
}
;
...
...
src/pages/About/Title.ts
View file @
ed82f9ff
...
@@ -9,7 +9,7 @@ export const Title = styled.h1<{ isDarkMode: boolean }>`
...
@@ -9,7 +9,7 @@ export const Title = styled.h1<{ isDarkMode: boolean }>`
background:
${({
isDarkMode
})
=>
background:
${({
isDarkMode
})
=>
isDarkMode
isDarkMode
?
'
conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);
'
?
'
conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);
'
:
'
linear-gradient(
10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100
%)
'
}
;
:
'
linear-gradient(
230.12deg, #8A80FF 37.26%, #FF7DE2 52.98%, #FF3998 68.06
%)
'
}
;
background-clip: text;
background-clip: text;
-webkit-background-clip: text;
-webkit-background-clip: text;
...
@@ -31,7 +31,7 @@ export const SubTitle = styled.h2<{ isDarkMode?: boolean }>`
...
@@ -31,7 +31,7 @@ export const SubTitle = styled.h2<{ isDarkMode?: boolean }>`
background:
${({
isDarkMode
})
=>
background:
${({
isDarkMode
})
=>
isDarkMode
isDarkMode
?
'
conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);
'
?
'
conic-gradient(from 180deg at 50% 50%, #FFF4CF 0deg, #EBFFBF 95.62deg, #E3CDFF 175.81deg, #FFCDF4 269.07deg, #FFFBEF 360deg);
'
:
'
linear-gradient(
10deg, rgb(255,79,184) 0%, rgb(255,159,251) 100
%)
'
}
;
:
'
linear-gradient(
230.12deg, #8A80FF 37.26%, #FF7DE2 52.98%, #FF3998 68.06
%)
'
}
;
background-clip: text;
background-clip: text;
-webkit-background-clip: text;
-webkit-background-clip: text;
...
...
src/pages/Landing/index.tsx
View file @
ed82f9ff
...
@@ -87,22 +87,27 @@ const SubTextContainer = styled.div`
...
@@ -87,22 +87,27 @@ const SubTextContainer = styled.div`
const
CTAButton
=
styled
(
BaseButton
)
`
const
CTAButton
=
styled
(
BaseButton
)
`
padding: 16px;
padding: 16px;
border-radius: 24px;
border-radius: 24px;
&:hover {
opacity: 50%;
}
`
`
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
}
;
color:
${({
theme
})
=>
theme
.
white
}
;
transition:
${({
theme
})
=>
`all
${
theme
.
transition
.
duration
.
medium
}
${
theme
.
transition
.
timing
.
ease
}
`
}
;
&:hover {
box-shadow: 0px 0px 16px 0px #ff00c7;
}
`
`
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
}
;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
&:hover {
border: 1px solid rgba(255, 0, 199, 1);
}
`
`
const
ButtonCTAText
=
styled
.
p
`
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