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
abcf1f5a
Unverified
Commit
abcf1f5a
authored
Jun 01, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: background should show up while loading the js
parent
65e5e9c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
63 deletions
+63
-63
index.html
public/index.html
+61
-0
index.css
src/index.css
+0
-62
index.tsx
src/index.tsx
+2
-1
No files found.
public/index.html
View file @
abcf1f5a
...
@@ -24,6 +24,67 @@
...
@@ -24,6 +24,67 @@
Learn how to configure a non-root public URL by running `npm run build`.
Learn how to configure a non-root public URL by running `npm run build`.
-->
-->
<style>
*
{
font-family
:
'Inter'
,
sans-serif
;
box-sizing
:
border-box
;
}
@supports
(
font-variation-settings
:
normal
)
{
*
{
font-family
:
'Inter var'
,
sans-serif
;
}
}
html
,
body
{
margin
:
0
;
padding
:
0
;
}
button
{
user-select
:
none
;
}
html
{
font-size
:
16px
;
font-variant
:
none
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
font-feature-settings
:
'ss01'
on
,
'ss02'
on
,
'cv01'
on
,
'cv03'
on
;
}
#background-radial-gradient
{
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
pointer-events
:
none
;
width
:
200vw
;
height
:
200vh
;
mix-blend-mode
:
color
;
background
:
radial-gradient
(
50%
50%
at
50%
50%
,
#fc077d10
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
transform
:
translate
(
-50vw
,
-100vh
);
z-index
:
-1
;
}
html
{
min-height
:
100%
;
}
@media
(
prefers-color-scheme
:
dark
)
{
html
{
background-color
:
#212429
;
}
}
@media
(
prefers-color-scheme
:
light
)
{
html
{
background-color
:
#F7F8FA
;
}
}
</style>
<title>
Uniswap Interface
</title>
<title>
Uniswap Interface
</title>
</head>
</head>
<body>
<body>
...
...
src/index.css
deleted
100644 → 0
View file @
65e5e9c9
@import
'~inter-ui'
;
@import
'~@reach/dialog/styles.css'
;
*
{
font-family
:
'Inter'
,
sans-serif
;
box-sizing
:
border-box
;
}
@supports
(
font-variation-settings
:
normal
)
{
*
{
font-family
:
'Inter var'
,
sans-serif
;
}
}
html
,
body
{
margin
:
0
;
padding
:
0
;
}
button
{
user-select
:
none
;
}
html
{
font-size
:
16px
;
font-variant
:
none
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
font-feature-settings
:
'ss01'
on
,
'ss02'
on
,
'cv01'
on
,
'cv03'
on
;
}
#background-radial-gradient
{
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
pointer-events
:
none
;
width
:
200vw
;
height
:
200vh
;
mix-blend-mode
:
color
;
background
:
radial-gradient
(
50%
50%
at
50%
50%
,
#fc077d10
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
transform
:
translate
(
-50vw
,
-100vh
);
z-index
:
-1
;
}
html
{
min-height
:
100%
;
}
@media
(
prefers-color-scheme
:
dark
)
{
html
{
background-color
:
#212429
;
}
}
@media
(
prefers-color-scheme
:
light
)
{
html
{
background-color
:
#F7F8FA
;
}
}
src/index.tsx
View file @
abcf1f5a
import
'
./index.css
'
import
'
inter-ui
'
import
'
@reach/dialog/styles.css
'
import
{
createWeb3ReactRoot
,
Web3ReactProvider
}
from
'
@web3-react/core
'
import
{
createWeb3ReactRoot
,
Web3ReactProvider
}
from
'
@web3-react/core
'
import
React
,
{
StrictMode
}
from
'
react
'
import
React
,
{
StrictMode
}
from
'
react
'
import
{
isMobile
}
from
'
react-device-detect
'
import
{
isMobile
}
from
'
react-device-detect
'
...
...
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