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
d951172a
Unverified
Commit
d951172a
authored
Nov 08, 2022
by
vignesh mohankumar
Committed by
GitHub
Nov 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update nft grays (#5124)
* chore: update nft grays * forgot to change some out * prettier * add 700
parent
eb35d3a2
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
159 additions
and
149 deletions
+159
-149
index.html
public/index.html
+94
-93
manifest.json
public/manifest.json
+1
-1
index.tsx
src/components/Card/index.tsx
+3
-3
SearchBarDropdown.tsx
src/components/NavBar/SearchBarDropdown.tsx
+1
-1
index.tsx
src/components/PositionCard/index.tsx
+3
-3
index.tsx
src/components/PrivacyPolicy/index.tsx
+3
-3
BagRow.tsx
src/nft/components/bag/BagRow.tsx
+1
-1
ActivityCells.tsx
src/nft/components/collection/ActivityCells.tsx
+1
-1
Card.tsx
src/nft/components/collection/Card.tsx
+2
-2
ActivityFeed.tsx
src/nft/components/explore/ActivityFeed.tsx
+1
-1
Explore.css.ts
src/nft/components/explore/Explore.css.ts
+3
-3
icons.tsx
src/nft/components/icons.tsx
+2
-2
Checkbox.tsx
src/nft/components/layout/Checkbox.tsx
+1
-1
Radio.css.ts
src/nft/components/layout/Radio.css.ts
+2
-2
Radio.tsx
src/nft/components/layout/Radio.tsx
+1
-1
ListPage.tsx
src/nft/components/profile/list/ListPage.tsx
+1
-1
sprinkles.css.ts
src/nft/css/sprinkles.css.ts
+18
-9
darkTheme.ts
src/nft/themes/darkTheme.ts
+5
-5
lightTheme.ts
src/nft/themes/lightTheme.ts
+5
-5
MigrateV2Pair.tsx
src/pages/MigrateV2/MigrateV2Pair.tsx
+3
-3
index.tsx
src/pages/Swap/index.tsx
+3
-3
VotePage.tsx
src/pages/Vote/VotePage.tsx
+3
-3
index.tsx
src/theme/index.tsx
+1
-1
styled.d.ts
src/theme/styled.d.ts
+1
-1
No files found.
public/index.html
View file @
d951172a
<!DOCTYPE html>
<!DOCTYPE html>
<html
translate=
"no"
>
<html
translate=
"no"
>
<head>
<meta
charset=
"utf-8"
/>
<head
>
<title>
Uniswap Interface
</title
>
<meta
charset=
"utf-8
"
/>
<meta
name=
"description"
content=
"Swap or provide liquidity on the Uniswap Protocol
"
/>
<title>
Uniswap Interface
</title>
<!--
<meta
name=
"description"
content=
"Swap or provide liquidity on the Uniswap Protocol"
/>
<!--
%PUBLIC_URL% will be replaced with the URL of the `public` folder during build.
%PUBLIC_URL% will be replaced with the URL of the `public` folder during build.
Only files inside the `public` folder can be referenced from the HTML.
Only files inside the `public` folder can be referenced from the HTML.
-->
-->
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"%PUBLIC_URL%/favicon.png"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"%PUBLIC_URL%/favicon.png"
/>
<link
rel=
"apple-touch-icon"
sizes=
"192x192"
href=
"%PUBLIC_URL%/images/192x192_App_Icon.png"
/>
<link
rel=
"apple-touch-icon"
sizes=
"192x192"
href=
"%PUBLIC_URL%/images/192x192_App_Icon.png"
/>
<link
rel=
"apple-touch-icon"
sizes=
"512x512"
href=
"%PUBLIC_URL%/images/512x512_App_Icon.png"
/>
<link
rel=
"apple-touch-icon"
sizes=
"512x512"
href=
"%PUBLIC_URL%/images/512x512_App_Icon.png"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta
name=
"theme-color"
content=
"#FC72FF"
/>
<meta
name=
"theme-color"
content=
"#FC72FF"
/>
<meta
http-equiv=
"Content-Security-Policy"
content=
"script-src 'self' https://www.google-analytics.com https://www.googletagmanager.com 'unsafe-inline'"
/>
<meta
http-equiv=
"Content-Security-Policy"
<!--
content=
"script-src 'self' https://www.google-analytics.com https://www.googletagmanager.com 'unsafe-inline'"
/>
<!--
manifest.json provides metadata used when the app is installed as a PWA.
manifest.json provides metadata used when the app is installed as a PWA.
See https://developers.google.com/web/fundamentals/web-app-manifest/
See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
-->
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"preconnect"
href=
"https://www.google-analytics.com/"
/>
<link
rel=
"preconnect"
href=
"https://www.google-analytics.com/"
/>
<link
rel=
"preload"
href=
"%PUBLIC_URL%/fonts/Inter-roman.var.woff2"
as=
"font"
type=
"font/woff2"
crossorigin
/>
<link
rel=
"preload"
href=
"%PUBLIC_URL%/fonts/Inter-roman.var.woff2"
as=
"font"
type=
"font/woff2"
crossorigin
/>
<style>
<style>
*
{
*
{
font-family
:
'Inter'
,
sans-serif
;
font-family
:
'Inter'
,
sans-serif
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
/**
/**
Explicitly load Inter var from public/ so it does not block LCP's critical path.
Explicitly load Inter var from public/ so it does not block LCP's critical path.
*/
*/
@font-face
{
@font-face
{
font-family
:
'Inter custom'
;
font-family
:
'Inter custom'
;
font-weight
:
100
900
;
font-weight
:
100
900
;
font-style
:
normal
;
font-style
:
normal
;
font-display
:
block
;
font-display
:
block
;
font-named-instance
:
'Regular'
;
font-named-instance
:
'Regular'
;
src
:
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2 supports variations(gvar)'
),
src
:
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2 supports variations(gvar)'
),
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2-variations'
),
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2-variations'
),
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2'
);
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2)
format
(
'woff2'
);
}
}
@supports
(
font-variation-settings
:
normal
)
{
@supports
(
font-variation-settings
:
normal
)
{
*
{
*
{
font-family
:
'Inter custom'
,
sans-serif
;
font-family
:
'Inter custom'
,
sans-serif
;
}
}
html
,
body
{
margin
:
0
;
padding
:
0
;
}
button
{
user-select
:
none
;
}
}
}
html
,
body
{
margin
:
0
;
padding
:
0
;
}
button
{
user-select
:
none
;
}
html
{
font-size
:
16px
;
font-variant
:
none
;
font-smooth
:
always
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
#background-radial-gradient
{
background
:
linear-gradient
(
180deg
,
#202738
0%
,
#070816
100%
);
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
pointer-events
:
none
;
width
:
200vw
;
height
:
200vh
;
transform
:
translate
(
-50vw
,
-100vh
);
z-index
:
-1
;
}
html
{
min-height
:
100%
;
}
@media
(
prefers-color-scheme
:
dark
)
{
html
{
html
{
background-color
:
#212429
;
font-size
:
16px
;
font-variant
:
none
;
font-smooth
:
always
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
#background-radial-gradient
{
background
:
linear-gradient
(
180deg
,
#202738
0%
,
#070816
100%
);
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
pointer-events
:
none
;
width
:
200vw
;
height
:
200vh
;
transform
:
translate
(
-50vw
,
-100vh
);
z-index
:
-1
;
}
}
}
@media
(
prefers-color-scheme
:
light
)
{
html
{
html
{
background-color
:
#f7f8fa
;
min-height
:
100%
;
}
@media
(
prefers-color-scheme
:
dark
)
{
html
{
background-color
:
#212429
;
}
}
}
}
</style>
</head>
<body>
@media
(
prefers-color-scheme
:
light
)
{
<noscript>
You need to enable JavaScript to run this app.
</noscript>
html
{
background-color
:
#f7f8fa
;
}
}
</style>
</head>
<div
id=
"root"
>
<body>
<!-- Triggers the font to load immediately and then is replaced by the app -->
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div>
 
</div>
</div>
<div
id=
"background-radial-gradient"
></div>
<div
id=
"root"
>
</body>
<!-- Triggers the font to load immediately and then is replaced by the app -->
<div>
 
</div>
</div>
</html>
<div
id=
"background-radial-gradient"
></div>
\ No newline at end of file
</body>
</html>
public/manifest.json
View file @
d951172a
...
@@ -27,4 +27,4 @@
...
@@ -27,4 +27,4 @@
"short_name"
:
"Uniswap"
,
"short_name"
:
"Uniswap"
,
"start_url"
:
"."
,
"start_url"
:
"."
,
"theme_color"
:
"#FC72FFs"
"theme_color"
:
"#FC72FFs"
}
}
\ No newline at end of file
src/components/Card/index.tsx
View file @
d951172a
...
@@ -14,15 +14,15 @@ export const LightCard = styled(Card)`
...
@@ -14,15 +14,15 @@ export const LightCard = styled(Card)`
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg1
};
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg1
};
`
`
export const LightGr
e
yCard = styled(Card)`
export const LightGr
a
yCard = styled(Card)`
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg2
};
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg2
};
`
`
export const Gr
e
yCard = styled(Card)`
export const Gr
a
yCard = styled(Card)`
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg3
};
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg3
};
`
`
export const DarkGr
e
yCard = styled(Card)`
export const DarkGr
a
yCard = styled(Card)`
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg2
}
;
background
-
color
:
$
{({
theme
})
=>
theme
.
deprecated_bg2
}
;
`
`
...
...
src/components/NavBar/SearchBarDropdown.tsx
View file @
d951172a
...
@@ -47,7 +47,7 @@ export const SearchBarDropdownSection = ({
...
@@ -47,7 +47,7 @@ export const SearchBarDropdownSection = ({
}:
SearchBarDropdownSectionProps
)
=>
{
}:
SearchBarDropdownSectionProps
)
=>
{
return
(
return
(
<
Column
gap=
"12"
>
<
Column
gap=
"12"
>
<
Row
paddingX=
"16"
paddingY=
"4"
gap=
"8"
color=
"gr
e
y300"
className=
{
subheadSmall
}
style=
{
{
lineHeight
:
'
20px
'
}
}
>
<
Row
paddingX=
"16"
paddingY=
"4"
gap=
"8"
color=
"gr
a
y300"
className=
{
subheadSmall
}
style=
{
{
lineHeight
:
'
20px
'
}
}
>
{
headerIcon
?
headerIcon
:
null
}
{
headerIcon
?
headerIcon
:
null
}
<
Box
>
{
header
}
</
Box
>
<
Box
>
{
header
}
</
Box
>
</
Row
>
</
Row
>
...
...
src/components/PositionCard/index.tsx
View file @
d951172a
...
@@ -18,7 +18,7 @@ import { ExternalLink, ThemedText } from '../../theme'
...
@@ -18,7 +18,7 @@ import { ExternalLink, ThemedText } from '../../theme'
import
{
currencyId
}
from
'
../../utils/currencyId
'
import
{
currencyId
}
from
'
../../utils/currencyId
'
import
{
unwrappedToken
}
from
'
../../utils/unwrappedToken
'
import
{
unwrappedToken
}
from
'
../../utils/unwrappedToken
'
import
{
ButtonEmpty
,
ButtonPrimary
,
ButtonSecondary
}
from
'
../Button
'
import
{
ButtonEmpty
,
ButtonPrimary
,
ButtonSecondary
}
from
'
../Button
'
import
{
Gr
e
yCard
,
LightCard
}
from
'
../Card
'
import
{
Gr
a
yCard
,
LightCard
}
from
'
../Card
'
import
{
AutoColumn
}
from
'
../Column
'
import
{
AutoColumn
}
from
'
../Column
'
import
CurrencyLogo
from
'
../CurrencyLogo
'
import
CurrencyLogo
from
'
../CurrencyLogo
'
import
DoubleCurrencyLogo
from
'
../DoubleLogo
'
import
DoubleCurrencyLogo
from
'
../DoubleLogo
'
...
@@ -78,7 +78,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
...
@@ -78,7 +78,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
return
(
return
(
<>
<>
{
userPoolBalance
&&
JSBI
.
greaterThan
(
userPoolBalance
.
quotient
,
JSBI
.
BigInt
(
0
))
?
(
{
userPoolBalance
&&
JSBI
.
greaterThan
(
userPoolBalance
.
quotient
,
JSBI
.
BigInt
(
0
))
?
(
<
Gr
e
yCard
border=
{
border
}
>
<
Gr
a
yCard
border=
{
border
}
>
<
AutoColumn
gap=
"12px"
>
<
AutoColumn
gap=
"12px"
>
<
FixedHeightRow
>
<
FixedHeightRow
>
<
RowFixed
>
<
RowFixed
>
...
@@ -139,7 +139,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
...
@@ -139,7 +139,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
</
FixedHeightRow
>
</
FixedHeightRow
>
</
AutoColumn
>
</
AutoColumn
>
</
AutoColumn
>
</
AutoColumn
>
</
Gr
e
yCard
>
</
Gr
a
yCard
>
)
:
(
)
:
(
<
LightCard
>
<
LightCard
>
<
ThemedText
.
DeprecatedSubHeader
style=
{
{
textAlign
:
'
center
'
}
}
>
<
ThemedText
.
DeprecatedSubHeader
style=
{
{
textAlign
:
'
center
'
}
}
>
...
...
src/components/PrivacyPolicy/index.tsx
View file @
d951172a
import
{
Trans
}
from
'
@lingui/macro
'
import
{
Trans
}
from
'
@lingui/macro
'
import
{
sendEvent
}
from
'
components/analytics
'
import
{
sendEvent
}
from
'
components/analytics
'
import
Card
,
{
DarkGr
e
yCard
}
from
'
components/Card
'
import
Card
,
{
DarkGr
a
yCard
}
from
'
components/Card
'
import
Row
,
{
AutoRow
,
RowBetween
}
from
'
components/Row
'
import
Row
,
{
AutoRow
,
RowBetween
}
from
'
components/Row
'
import
{
useEffect
,
useRef
}
from
'
react
'
import
{
useEffect
,
useRef
}
from
'
react
'
import
{
ArrowDown
,
Info
,
X
}
from
'
react-feather
'
import
{
ArrowDown
,
Info
,
X
}
from
'
react-feather
'
...
@@ -155,7 +155,7 @@ export function PrivacyPolicy() {
...
@@ -155,7 +155,7 @@ export function PrivacyPolicy() {
</
ThemedText
.
DeprecatedMain
>
</
ThemedText
.
DeprecatedMain
>
<
AutoColumn
gap=
"12px"
>
<
AutoColumn
gap=
"12px"
>
{
EXTERNAL_APIS
.
map
(({
name
,
description
},
i
)
=>
(
{
EXTERNAL_APIS
.
map
(({
name
,
description
},
i
)
=>
(
<
DarkGr
e
yCard
key=
{
i
}
>
<
DarkGr
a
yCard
key=
{
i
}
>
<
AutoColumn
gap=
"8px"
>
<
AutoColumn
gap=
"8px"
>
<
AutoRow
gap=
"4px"
>
<
AutoRow
gap=
"4px"
>
<
Info
size=
{
18
}
/>
<
Info
size=
{
18
}
/>
...
@@ -165,7 +165,7 @@ export function PrivacyPolicy() {
...
@@ -165,7 +165,7 @@ export function PrivacyPolicy() {
</
AutoRow
>
</
AutoRow
>
<
ThemedText
.
DeprecatedMain
fontSize=
{
14
}
>
{
description
}
</
ThemedText
.
DeprecatedMain
>
<
ThemedText
.
DeprecatedMain
fontSize=
{
14
}
>
{
description
}
</
ThemedText
.
DeprecatedMain
>
</
AutoColumn
>
</
AutoColumn
>
</
DarkGr
e
yCard
>
</
DarkGr
a
yCard
>
))
}
))
}
<
ThemedText
.
DeprecatedBody
fontSize=
{
12
}
>
<
ThemedText
.
DeprecatedBody
fontSize=
{
12
}
>
<
Row
justify=
"center"
marginBottom=
"1rem"
>
<
Row
justify=
"center"
marginBottom=
"1rem"
>
...
...
src/nft/components/bag/BagRow.tsx
View file @
d951172a
...
@@ -40,7 +40,7 @@ const NoContentContainer = () => (
...
@@ -40,7 +40,7 @@ const NoContentContainer = () => (
left=
"1/2"
left=
"1/2"
top=
"1/2"
top=
"1/2"
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
color=
"gr
e
y500"
color=
"gr
a
y500"
fontSize=
"12"
fontSize=
"12"
fontWeight=
"normal"
fontWeight=
"normal"
>
>
...
...
src/nft/components/collection/ActivityCells.tsx
View file @
d951172a
...
@@ -295,7 +295,7 @@ const NoContentContainer = () => (
...
@@ -295,7 +295,7 @@ const NoContentContainer = () => (
left=
"1/2"
left=
"1/2"
top=
"1/2"
top=
"1/2"
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
color=
"gr
e
y500"
color=
"gr
a
y500"
fontSize=
"12"
fontSize=
"12"
fontWeight=
"normal"
fontWeight=
"normal"
>
>
...
...
src/nft/components/collection/Card.tsx
View file @
d951172a
...
@@ -664,7 +664,7 @@ const NoContentContainer = ({ uniformHeight }: NoContentContainerProps) => (
...
@@ -664,7 +664,7 @@ const NoContentContainer = ({ uniformHeight }: NoContentContainerProps) => (
background
:
`linear-gradient(270deg, ${themeVars.colors.backgroundOutline} 0%, ${themeVars.colors.backgroundSurface} 100%)`
,
background
:
`linear-gradient(270deg, ${themeVars.colors.backgroundOutline} 0%, ${themeVars.colors.backgroundSurface} 100%)`
,
}
}
}
}
fontWeight=
"normal"
fontWeight=
"normal"
color=
"gr
e
y500"
color=
"gr
a
y500"
className=
{
body
}
className=
{
body
}
justifyContent=
"center"
justifyContent=
"center"
alignItems=
"center"
alignItems=
"center"
...
@@ -690,7 +690,7 @@ const NoContentContainer = ({ uniformHeight }: NoContentContainerProps) => (
...
@@ -690,7 +690,7 @@ const NoContentContainer = ({ uniformHeight }: NoContentContainerProps) => (
top=
"1/2"
top=
"1/2"
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
style=
{
{
transform
:
'
translate3d(-50%, -50%, 0)
'
}
}
fontWeight=
"normal"
fontWeight=
"normal"
color=
"gr
e
y500"
color=
"gr
a
y500"
className=
{
body
}
className=
{
body
}
>
>
Content not
Content not
...
...
src/nft/components/explore/ActivityFeed.tsx
View file @
d951172a
...
@@ -98,7 +98,7 @@ const ActivityRow = ({ event, index, current }: { event: ActivityEvent; index: n
...
@@ -98,7 +98,7 @@ const ActivityRow = ({ event, index, current }: { event: ActivityEvent; index: n
<
Box
as=
"img"
src=
{
event
.
tokenMetadata
?.
imageUrl
}
borderRadius=
"12"
marginRight=
"8"
width=
"40"
height=
"40"
/>
<
Box
as=
"img"
src=
{
event
.
tokenMetadata
?.
imageUrl
}
borderRadius=
"12"
marginRight=
"8"
width=
"40"
height=
"40"
/>
<
Box
as=
"span"
color=
"explicitWhite"
>
<
Box
as=
"span"
color=
"explicitWhite"
>
<
Box
as=
"span"
>
{
ActivityEventTypeDisplay
[
event
.
eventType
]
}
</
Box
>
<
Box
as=
"span"
>
{
ActivityEventTypeDisplay
[
event
.
eventType
]
}
</
Box
>
<
Box
as=
"span"
color=
"gr
e
y300"
paddingLeft=
"4"
paddingRight=
"4"
>
<
Box
as=
"span"
color=
"gr
a
y300"
paddingLeft=
"4"
paddingRight=
"4"
>
for
for
</
Box
>
</
Box
>
{
formattedPrice
}
ETH
{
formattedPrice
}
ETH
...
...
src/nft/components/explore/Explore.css.ts
View file @
d951172a
...
@@ -37,7 +37,7 @@ export const bannerOverlay = style([
...
@@ -37,7 +37,7 @@ export const bannerOverlay = style([
position
:
'
absolute
'
,
position
:
'
absolute
'
,
opacity
:
'
0.7
'
,
opacity
:
'
0.7
'
,
width
:
'
full
'
,
width
:
'
full
'
,
backgroundColor
:
'
gr
e
y900
'
,
backgroundColor
:
'
gr
a
y900
'
,
left
:
'
0
'
,
left
:
'
0
'
,
top
:
'
0
'
,
top
:
'
0
'
,
}),
}),
...
@@ -68,14 +68,14 @@ export const activityRow = style([
...
@@ -68,14 +68,14 @@ export const activityRow = style([
])
])
export
const
activeRow
=
sprinkles
({
export
const
activeRow
=
sprinkles
({
backgroundColor
:
'
gr
e
y800
'
,
backgroundColor
:
'
gr
a
y800
'
,
})
})
export
const
timestamp
=
style
([
export
const
timestamp
=
style
([
sprinkles
({
sprinkles
({
position
:
'
absolute
'
,
position
:
'
absolute
'
,
fontSize
:
'
12
'
,
fontSize
:
'
12
'
,
color
:
'
gr
e
y300
'
,
color
:
'
gr
a
y300
'
,
right
:
{
sm
:
'
unset
'
,
lg
:
'
12
'
},
right
:
{
sm
:
'
unset
'
,
lg
:
'
12
'
},
left
:
{
sm
:
'
64
'
,
lg
:
'
unset
'
},
left
:
{
sm
:
'
64
'
,
lg
:
'
unset
'
},
top
:
{
sm
:
'
28
'
,
lg
:
'
unset
'
},
top
:
{
sm
:
'
28
'
,
lg
:
'
unset
'
},
...
...
src/nft/components/icons.tsx
View file @
d951172a
...
@@ -780,7 +780,7 @@ export const ClockIcon = () => (
...
@@ -780,7 +780,7 @@ export const ClockIcon = () => (
<
svg
width=
"20"
height=
"20"
viewBox=
"0 0 20 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<
svg
width=
"20"
height=
"20"
viewBox=
"0 0 20 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<
path
<
path
d=
"M10.7474 4.99984C10.7474 4.58562 10.4116 4.24984 9.9974 4.24984C9.58318 4.24984 9.2474 4.58562 9.2474 4.99984H10.7474ZM9.9974 9.99984H9.2474C9.2474 10.2839 9.4079 10.5436 9.66199 10.6707L9.9974 9.99984ZM12.9953 12.3373C13.3658 12.5226 13.8163 12.3724 14.0015 12.0019C14.1868 11.6314 14.0366 11.1809 13.6661 10.9957L12.9953 12.3373ZM17.5807 9.99984C17.5807 14.188 14.1856 17.5832 9.9974 17.5832V19.0832C15.014 19.0832 19.0807 15.0164 19.0807 9.99984H17.5807ZM9.9974 17.5832C5.80924 17.5832 2.41406 14.188 2.41406 9.99984H0.914062C0.914062 15.0164 4.98081 19.0832 9.9974 19.0832V17.5832ZM2.41406 9.99984C2.41406 5.81168 5.80924 2.4165 9.9974 2.4165V0.916504C4.98081 0.916504 0.914062 4.98325 0.914062 9.99984H2.41406ZM9.9974 2.4165C14.1856 2.4165 17.5807 5.81168 17.5807 9.99984H19.0807C19.0807 4.98325 15.014 0.916504 9.9974 0.916504V2.4165ZM9.2474 4.99984V9.99984H10.7474V4.99984H9.2474ZM9.66199 10.6707L12.9953 12.3373L13.6661 10.9957L10.3328 9.32902L9.66199 10.6707Z"
d=
"M10.7474 4.99984C10.7474 4.58562 10.4116 4.24984 9.9974 4.24984C9.58318 4.24984 9.2474 4.58562 9.2474 4.99984H10.7474ZM9.9974 9.99984H9.2474C9.2474 10.2839 9.4079 10.5436 9.66199 10.6707L9.9974 9.99984ZM12.9953 12.3373C13.3658 12.5226 13.8163 12.3724 14.0015 12.0019C14.1868 11.6314 14.0366 11.1809 13.6661 10.9957L12.9953 12.3373ZM17.5807 9.99984C17.5807 14.188 14.1856 17.5832 9.9974 17.5832V19.0832C15.014 19.0832 19.0807 15.0164 19.0807 9.99984H17.5807ZM9.9974 17.5832C5.80924 17.5832 2.41406 14.188 2.41406 9.99984H0.914062C0.914062 15.0164 4.98081 19.0832 9.9974 19.0832V17.5832ZM2.41406 9.99984C2.41406 5.81168 5.80924 2.4165 9.9974 2.4165V0.916504C4.98081 0.916504 0.914062 4.98325 0.914062 9.99984H2.41406ZM9.9974 2.4165C14.1856 2.4165 17.5807 5.81168 17.5807 9.99984H19.0807C19.0807 4.98325 15.014 0.916504 9.9974 0.916504V2.4165ZM9.2474 4.99984V9.99984H10.7474V4.99984H9.2474ZM9.66199 10.6707L12.9953 12.3373L13.6661 10.9957L10.3328 9.32902L9.66199 10.6707Z"
fill=
{
vars
.
color
.
gr
e
y300
}
fill=
{
vars
.
color
.
gr
a
y300
}
/>
/>
</
svg
>
</
svg
>
)
)
...
@@ -1261,7 +1261,7 @@ export const TrendingArrow = (props: SVGProps) => (
...
@@ -1261,7 +1261,7 @@ export const TrendingArrow = (props: SVGProps) => (
<
svg
width=
"20"
height=
"20"
viewBox=
"0 0 20 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
{
...
props
}
>
<
svg
width=
"20"
height=
"20"
viewBox=
"0 0 20 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
{
...
props
}
>
<
path
<
path
d=
"M17.5 5.8335H18.25C18.25 5.41928 17.9142 5.0835 17.5 5.0835V5.8335ZM11.0227 12.4307L10.4876 12.9562C10.6286 13.0998 10.8214 13.1807 11.0227 13.1807C11.224 13.1807 11.4169 13.0998 11.5579 12.9562L11.0227 12.4307ZM7.61364 8.9585L8.14881 8.43305C8.00778 8.28941 7.81493 8.2085 7.61364 8.2085C7.41234 8.2085 7.21949 8.28941 7.07846 8.43305L7.61364 8.9585ZM1.96483 13.6414C1.67463 13.937 1.67899 14.4118 1.97456 14.702C2.27013 14.9922 2.74498 14.9878 3.03517 14.6923L1.96483 13.6414ZM13.4091 5.0835C12.9949 5.0835 12.6591 5.41928 12.6591 5.8335C12.6591 6.24771 12.9949 6.5835 13.4091 6.5835V5.0835ZM16.75 10.0002C16.75 10.4144 17.0858 10.7502 17.5 10.7502C17.9142 10.7502 18.25 10.4144 18.25 10.0002H16.75ZM16.9648 5.30805L10.4876 11.9053L11.5579 12.9562L18.0352 6.35894L16.9648 5.30805ZM11.5579 11.9053L8.14881 8.43305L7.07846 9.48394L10.4876 12.9562L11.5579 11.9053ZM7.07846 8.43305L1.96483 13.6414L3.03517 14.6923L8.14881 9.48394L7.07846 8.43305ZM13.4091 6.5835H17.5V5.0835H13.4091V6.5835ZM16.75 5.8335V10.0002H18.25V5.8335H16.75Z"
d=
"M17.5 5.8335H18.25C18.25 5.41928 17.9142 5.0835 17.5 5.0835V5.8335ZM11.0227 12.4307L10.4876 12.9562C10.6286 13.0998 10.8214 13.1807 11.0227 13.1807C11.224 13.1807 11.4169 13.0998 11.5579 12.9562L11.0227 12.4307ZM7.61364 8.9585L8.14881 8.43305C8.00778 8.28941 7.81493 8.2085 7.61364 8.2085C7.41234 8.2085 7.21949 8.28941 7.07846 8.43305L7.61364 8.9585ZM1.96483 13.6414C1.67463 13.937 1.67899 14.4118 1.97456 14.702C2.27013 14.9922 2.74498 14.9878 3.03517 14.6923L1.96483 13.6414ZM13.4091 5.0835C12.9949 5.0835 12.6591 5.41928 12.6591 5.8335C12.6591 6.24771 12.9949 6.5835 13.4091 6.5835V5.0835ZM16.75 10.0002C16.75 10.4144 17.0858 10.7502 17.5 10.7502C17.9142 10.7502 18.25 10.4144 18.25 10.0002H16.75ZM16.9648 5.30805L10.4876 11.9053L11.5579 12.9562L18.0352 6.35894L16.9648 5.30805ZM11.5579 11.9053L8.14881 8.43305L7.07846 9.48394L10.4876 12.9562L11.5579 11.9053ZM7.07846 8.43305L1.96483 13.6414L3.03517 14.6923L8.14881 9.48394L7.07846 8.43305ZM13.4091 6.5835H17.5V5.0835H13.4091V6.5835ZM16.75 5.8335V10.0002H18.25V5.8335H16.75Z"
fill=
{
vars
.
color
.
gr
e
y300
}
fill=
{
vars
.
color
.
gr
a
y300
}
/>
/>
</
svg
>
</
svg
>
)
)
...
...
src/nft/components/layout/Checkbox.tsx
View file @
d951172a
...
@@ -24,7 +24,7 @@ export const Checkbox: React.FC<CheckboxProps> = ({ hovered, children, ...props
...
@@ -24,7 +24,7 @@ export const Checkbox: React.FC<CheckboxProps> = ({ hovered, children, ...props
{
children
}
{
children
}
<
Box
<
Box
as=
"span"
as=
"span"
borderColor=
{
props
.
checked
||
hovered
?
'
accentAction
'
:
'
gr
e
y400
'
}
borderColor=
{
props
.
checked
||
hovered
?
'
accentAction
'
:
'
gr
a
y400
'
}
className=
{
styles
.
checkbox
}
className=
{
styles
.
checkbox
}
background=
{
props
.
checked
?
'
accentAction
'
:
undefined
}
background=
{
props
.
checked
?
'
accentAction
'
:
undefined
}
// This element is purely decorative so
// This element is purely decorative so
...
...
src/nft/components/layout/Radio.css.ts
View file @
d951172a
...
@@ -23,10 +23,10 @@ export const radio = style([
...
@@ -23,10 +23,10 @@ export const radio = style([
}),
}),
])
])
export
const
gr
e
yBorderRadio
=
style
([
export
const
gr
a
yBorderRadio
=
style
([
radio
,
radio
,
sprinkles
({
sprinkles
({
borderColor
:
'
gr
e
y400
'
,
borderColor
:
'
gr
a
y400
'
,
}),
}),
])
])
...
...
src/nft/components/layout/Radio.tsx
View file @
d951172a
...
@@ -12,7 +12,7 @@ export const Radio = ({ hovered, checked, onClick }: RadioProps) => {
...
@@ -12,7 +12,7 @@ export const Radio = ({ hovered, checked, onClick }: RadioProps) => {
return
(
return
(
<
Box
<
Box
as=
"label"
as=
"label"
className=
{
checked
?
styles
.
selectedRadio
:
hovered
?
styles
.
blueBorderRadio
:
styles
.
gr
e
yBorderRadio
}
className=
{
checked
?
styles
.
selectedRadio
:
hovered
?
styles
.
blueBorderRadio
:
styles
.
gr
a
yBorderRadio
}
onClick=
{
onClick
}
onClick=
{
onClick
}
/>
/>
)
)
...
...
src/nft/components/profile/list/ListPage.tsx
View file @
d951172a
...
@@ -454,7 +454,7 @@ const PriceTextInput = ({
...
@@ -454,7 +454,7 @@ const PriceTextInput = ({
?
'
genieBlue
'
?
'
genieBlue
'
:
listPrice
!=
null
:
listPrice
!=
null
?
'
textSecondary
'
?
'
textSecondary
'
:
'
gr
e
y700
'
:
'
gr
a
y700
'
}
}
>
>
<
NumericInput
<
NumericInput
...
...
src/nft/css/sprinkles.css.ts
View file @
d951172a
...
@@ -178,15 +178,24 @@ export const vars = createGlobalTheme(':root', {
...
@@ -178,15 +178,24 @@ export const vars = createGlobalTheme(':root', {
green400
:
'
#1A9550
'
,
green400
:
'
#1A9550
'
,
violet200
:
'
#BDB8FA
'
,
violet200
:
'
#BDB8FA
'
,
violet400
:
'
#7A7BEB
'
,
violet400
:
'
#7A7BEB
'
,
grey900
:
'
#0E111A
'
,
gray50
:
'
#F5F6FC
'
,
grey800
:
'
#141B2B
'
,
gray100
:
'
#E8ECFB
'
,
grey700
:
'
#293249
'
,
gray150
:
'
#D2D9EE
'
,
grey500
:
'
#5E6887
'
,
gray200
:
'
#B8C0DC
'
,
grey400
:
'
#7C85A2
'
,
gray250
:
'
#A6AFCA
'
,
grey300
:
'
#99A1BD
'
,
gray300
:
'
#98A1C0
'
,
grey200
:
'
#B7BED4
'
,
gray350
:
'
#888FAB
'
,
grey100
:
'
#DDE3F7
'
,
gray400
:
'
#7780A0
'
,
grey50
:
'
#F5F6FC
'
,
gray450
:
'
#6B7594
'
,
gray500
:
'
#5D6785
'
,
gray550
:
'
#505A78
'
,
gray600
:
'
#404A67
'
,
gray650
:
'
#333D59
'
,
gray700
:
'
#293249
'
,
gray750
:
'
#1B2236
'
,
gray800
:
'
#131A2A
'
,
gray850
:
'
#0E1524
'
,
gray900
:
'
#0D111C
'
,
accentTextLightTertiary
:
'
rgba(255, 255, 255, 0.12)
'
,
accentTextLightTertiary
:
'
rgba(255, 255, 255, 0.12)
'
,
outline
:
'
rgba(153, 161, 189, 0.24)
'
,
outline
:
'
rgba(153, 161, 189, 0.24)
'
,
lightGrayOverlay
:
'
#99A1BD14
'
,
lightGrayOverlay
:
'
#99A1BD14
'
,
...
...
src/nft/themes/darkTheme.ts
View file @
d951172a
...
@@ -13,10 +13,10 @@ export const darkTheme: Theme = {
...
@@ -13,10 +13,10 @@ export const darkTheme: Theme = {
violet
:
vars
.
color
.
violet200
,
violet
:
vars
.
color
.
violet200
,
backgroundFloating
:
'
0000000C
'
,
backgroundFloating
:
'
0000000C
'
,
backgroundInteractive
:
vars
.
color
.
gr
e
y700
,
backgroundInteractive
:
vars
.
color
.
gr
a
y700
,
backgroundModule
:
vars
.
color
.
gr
e
y800
,
backgroundModule
:
vars
.
color
.
gr
a
y800
,
backgroundOutline
:
`rgba(153,161,189,0.24)`
,
backgroundOutline
:
`rgba(153,161,189,0.24)`
,
backgroundSurface
:
vars
.
color
.
gr
e
y900
,
backgroundSurface
:
vars
.
color
.
gr
a
y900
,
backgroundBackdrop
:
'
#000
'
,
backgroundBackdrop
:
'
#000
'
,
modalBackdrop
:
'
linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))
'
,
modalBackdrop
:
'
linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))
'
,
...
@@ -24,8 +24,8 @@ export const darkTheme: Theme = {
...
@@ -24,8 +24,8 @@ export const darkTheme: Theme = {
stateOverlayHover
:
`rgba(153,161,189,0.08)`
,
stateOverlayHover
:
`rgba(153,161,189,0.08)`
,
textPrimary
:
'
#FFFFFF
'
,
textPrimary
:
'
#FFFFFF
'
,
textSecondary
:
vars
.
color
.
gr
e
y300
,
textSecondary
:
vars
.
color
.
gr
a
y300
,
textTertiary
:
vars
.
color
.
gr
e
y500
,
textTertiary
:
vars
.
color
.
gr
a
y500
,
},
},
shadows
:
{
shadows
:
{
menu
:
'
0px 10px 30px rgba(0, 0, 0, 0.1)
'
,
menu
:
'
0px 10px 30px rgba(0, 0, 0, 0.1)
'
,
...
...
src/nft/themes/lightTheme.ts
View file @
d951172a
...
@@ -10,8 +10,8 @@ export const lightTheme: Theme = {
...
@@ -10,8 +10,8 @@ export const lightTheme: Theme = {
explicitWhite
:
'
#FFFFFF
'
,
explicitWhite
:
'
#FFFFFF
'
,
backgroundFloating
:
'
#00000000
'
,
backgroundFloating
:
'
#00000000
'
,
backgroundInteractive
:
vars
.
color
.
gr
e
y100
,
backgroundInteractive
:
vars
.
color
.
gr
a
y100
,
backgroundModule
:
vars
.
color
.
gr
e
y50
,
backgroundModule
:
vars
.
color
.
gr
a
y50
,
backgroundOutline
:
`rgba(94,104,135,0.24)`
,
backgroundOutline
:
`rgba(94,104,135,0.24)`
,
backgroundSurface
:
'
#FFFFFF
'
,
backgroundSurface
:
'
#FFFFFF
'
,
backgroundBackdrop
:
'
#FFF
'
,
backgroundBackdrop
:
'
#FFF
'
,
...
@@ -23,9 +23,9 @@ export const lightTheme: Theme = {
...
@@ -23,9 +23,9 @@ export const lightTheme: Theme = {
gold
:
vars
.
color
.
gold400
,
gold
:
vars
.
color
.
gold400
,
violet
:
vars
.
color
.
violet400
,
violet
:
vars
.
color
.
violet400
,
textPrimary
:
vars
.
color
.
gr
e
y900
,
textPrimary
:
vars
.
color
.
gr
a
y900
,
textSecondary
:
vars
.
color
.
gr
e
y500
,
textSecondary
:
vars
.
color
.
gr
a
y500
,
textTertiary
:
vars
.
color
.
gr
e
y300
,
textTertiary
:
vars
.
color
.
gr
a
y300
,
},
},
shadows
:
{
shadows
:
{
menu
:
'
0px 10px 30px rgba(0, 0, 0, 0.1)
'
,
menu
:
'
0px 10px 30px rgba(0, 0, 0, 0.1)
'
,
...
...
src/pages/MigrateV2/MigrateV2Pair.tsx
View file @
d951172a
...
@@ -7,7 +7,7 @@ import { useWeb3React } from '@web3-react/core'
...
@@ -7,7 +7,7 @@ import { useWeb3React } from '@web3-react/core'
import
{
sendEvent
}
from
'
components/analytics
'
import
{
sendEvent
}
from
'
components/analytics
'
import
Badge
,
{
BadgeVariant
}
from
'
components/Badge
'
import
Badge
,
{
BadgeVariant
}
from
'
components/Badge
'
import
{
ButtonConfirmed
}
from
'
components/Button
'
import
{
ButtonConfirmed
}
from
'
components/Button
'
import
{
BlueCard
,
DarkGr
e
yCard
,
LightCard
,
YellowCard
}
from
'
components/Card
'
import
{
BlueCard
,
DarkGr
a
yCard
,
LightCard
,
YellowCard
}
from
'
components/Card
'
import
DoubleCurrencyLogo
from
'
components/DoubleLogo
'
import
DoubleCurrencyLogo
from
'
components/DoubleLogo
'
import
FeeSelector
from
'
components/FeeSelector
'
import
FeeSelector
from
'
components/FeeSelector
'
import
RangeSelector
from
'
components/RangeSelector
'
import
RangeSelector
from
'
components/RangeSelector
'
...
@@ -585,7 +585,7 @@ function V2PairMigration({
...
@@ -585,7 +585,7 @@ function V2PairMigration({
)
:
null
}
)
:
null
}
{
position
?
(
{
position
?
(
<
DarkGr
e
yCard
>
<
DarkGr
a
yCard
>
<
AutoColumn
gap=
"md"
>
<
AutoColumn
gap=
"md"
>
<
LiquidityInfo
token0Amount=
{
position
.
amount0
}
token1Amount=
{
position
.
amount1
}
/>
<
LiquidityInfo
token0Amount=
{
position
.
amount0
}
token1Amount=
{
position
.
amount1
}
/>
{
chainId
&&
refund0
&&
refund1
?
(
{
chainId
&&
refund0
&&
refund1
?
(
...
@@ -600,7 +600,7 @@ function V2PairMigration({
...
@@ -600,7 +600,7 @@ function V2PairMigration({
</
ThemedText
.
DeprecatedBlack
>
</
ThemedText
.
DeprecatedBlack
>
)
:
null
}
)
:
null
}
</
AutoColumn
>
</
AutoColumn
>
</
DarkGr
e
yCard
>
</
DarkGr
a
yCard
>
)
:
null
}
)
:
null
}
<
AutoColumn
gap=
"12px"
>
<
AutoColumn
gap=
"12px"
>
...
...
src/pages/Swap/index.tsx
View file @
d951172a
...
@@ -31,7 +31,7 @@ import { currencyAmountToPreciseFloat, formatTransactionAmount } from 'utils/for
...
@@ -31,7 +31,7 @@ import { currencyAmountToPreciseFloat, formatTransactionAmount } from 'utils/for
import
AddressInputPanel
from
'
../../components/AddressInputPanel
'
import
AddressInputPanel
from
'
../../components/AddressInputPanel
'
import
{
ButtonConfirmed
,
ButtonError
,
ButtonLight
,
ButtonPrimary
}
from
'
../../components/Button
'
import
{
ButtonConfirmed
,
ButtonError
,
ButtonLight
,
ButtonPrimary
}
from
'
../../components/Button
'
import
{
Gr
e
yCard
}
from
'
../../components/Card
'
import
{
Gr
a
yCard
}
from
'
../../components/Card
'
import
{
AutoColumn
}
from
'
../../components/Column
'
import
{
AutoColumn
}
from
'
../../components/Column
'
import
SwapCurrencyInputPanel
from
'
../../components/CurrencyInputPanel/SwapCurrencyInputPanel
'
import
SwapCurrencyInputPanel
from
'
../../components/CurrencyInputPanel/SwapCurrencyInputPanel
'
import
Loader
from
'
../../components/Loader
'
import
Loader
from
'
../../components/Loader
'
...
@@ -660,11 +660,11 @@ export default function Swap() {
...
@@ -660,11 +660,11 @@ export default function Swap() {
)
:
null
}
)
:
null
}
</
ButtonPrimary
>
</
ButtonPrimary
>
)
:
routeNotFound
&&
userHasSpecifiedInputOutput
&&
!
routeIsLoading
&&
!
routeIsSyncing
?
(
)
:
routeNotFound
&&
userHasSpecifiedInputOutput
&&
!
routeIsLoading
&&
!
routeIsSyncing
?
(
<
Gr
e
yCard
style=
{
{
textAlign
:
'
center
'
}
}
>
<
Gr
a
yCard
style=
{
{
textAlign
:
'
center
'
}
}
>
<
ThemedText
.
DeprecatedMain
mb=
"4px"
>
<
ThemedText
.
DeprecatedMain
mb=
"4px"
>
<
Trans
>
Insufficient liquidity for this trade.
</
Trans
>
<
Trans
>
Insufficient liquidity for this trade.
</
Trans
>
</
ThemedText
.
DeprecatedMain
>
</
ThemedText
.
DeprecatedMain
>
</
Gr
e
yCard
>
</
Gr
a
yCard
>
)
:
showApproveFlow
?
(
)
:
showApproveFlow
?
(
<
AutoRow
style=
{
{
flexWrap
:
'
nowrap
'
,
width
:
'
100%
'
}
}
>
<
AutoRow
style=
{
{
flexWrap
:
'
nowrap
'
,
width
:
'
100%
'
}
}
>
<
AutoColumn
style=
{
{
width
:
'
100%
'
}
}
gap=
"12px"
>
<
AutoColumn
style=
{
{
width
:
'
100%
'
}
}
gap=
"12px"
>
...
...
src/pages/Vote/VotePage.tsx
View file @
d951172a
...
@@ -18,7 +18,7 @@ import { useParams } from 'react-router-dom'
...
@@ -18,7 +18,7 @@ import { useParams } from 'react-router-dom'
import
styled
from
'
styled-components/macro
'
import
styled
from
'
styled-components/macro
'
import
{
ButtonPrimary
}
from
'
../../components/Button
'
import
{
ButtonPrimary
}
from
'
../../components/Button
'
import
{
Gr
e
yCard
}
from
'
../../components/Card
'
import
{
Gr
a
yCard
}
from
'
../../components/Card
'
import
{
AutoColumn
}
from
'
../../components/Column
'
import
{
AutoColumn
}
from
'
../../components/Column
'
import
{
CardSection
,
DataCard
}
from
'
../../components/earn/styled
'
import
{
CardSection
,
DataCard
}
from
'
../../components/earn/styled
'
import
{
RowBetween
,
RowFixed
}
from
'
../../components/Row
'
import
{
RowBetween
,
RowFixed
}
from
'
../../components/Row
'
...
@@ -318,7 +318,7 @@ export default function VotePage() {
...
@@ -318,7 +318,7 @@ export default function VotePage() {
</ThemedText.DeprecatedMain>
</ThemedText.DeprecatedMain>
</RowBetween>
</RowBetween>
{proposalData && proposalData.status === ProposalState.ACTIVE && !showVotingButtons && (
{proposalData && proposalData.status === ProposalState.ACTIVE && !showVotingButtons && (
<Gr
e
yCard>
<Gr
a
yCard>
<ThemedText.DeprecatedBlack>
<ThemedText.DeprecatedBlack>
<Trans>
<Trans>
Only UNI votes that were self delegated or delegated to another address before block{' '}
Only UNI votes that were self delegated or delegated to another address before block{' '}
...
@@ -333,7 +333,7 @@ export default function VotePage() {
...
@@ -333,7 +333,7 @@ export default function VotePage() {
</span>
</span>
)}
)}
</ThemedText.DeprecatedBlack>
</ThemedText.DeprecatedBlack>
</Gr
e
yCard>
</Gr
a
yCard>
)}
)}
</AutoColumn>
</AutoColumn>
{showVotingButtons && (
{showVotingButtons && (
...
...
src/theme/index.tsx
View file @
d951172a
...
@@ -146,7 +146,7 @@ function oldColors(darkMode: boolean): Colors {
...
@@ -146,7 +146,7 @@ function oldColors(darkMode: boolean): Colors {
deprecated_text4
:
darkMode
?
ColorsPalette
.
gray200
:
ColorsPalette
.
gray300
,
deprecated_text4
:
darkMode
?
ColorsPalette
.
gray200
:
ColorsPalette
.
gray300
,
deprecated_text5
:
darkMode
?
ColorsPalette
.
gray500
:
ColorsPalette
.
gray50
,
deprecated_text5
:
darkMode
?
ColorsPalette
.
gray500
:
ColorsPalette
.
gray50
,
// backgrounds / gr
e
ys
// backgrounds / gr
a
ys
deprecated_bg0
:
darkMode
?
ColorsPalette
.
gray900
:
ColorsPalette
.
white
,
deprecated_bg0
:
darkMode
?
ColorsPalette
.
gray900
:
ColorsPalette
.
white
,
deprecated_bg1
:
darkMode
?
ColorsPalette
.
gray800
:
ColorsPalette
.
gray50
,
deprecated_bg1
:
darkMode
?
ColorsPalette
.
gray800
:
ColorsPalette
.
gray50
,
deprecated_bg2
:
darkMode
?
ColorsPalette
.
gray700
:
ColorsPalette
.
gray100
,
deprecated_bg2
:
darkMode
?
ColorsPalette
.
gray700
:
ColorsPalette
.
gray100
,
...
...
src/theme/styled.d.ts
View file @
d951172a
...
@@ -77,7 +77,7 @@ export interface Colors {
...
@@ -77,7 +77,7 @@ export interface Colors {
deprecated_text4
:
Color
deprecated_text4
:
Color
deprecated_text5
:
Color
deprecated_text5
:
Color
// backgrounds / gr
e
ys
// backgrounds / gr
a
ys
deprecated_bg0
:
Color
deprecated_bg0
:
Color
deprecated_bg1
:
Color
deprecated_bg1
:
Color
deprecated_bg2
:
Color
deprecated_bg2
:
Color
...
...
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