Skip to content

Commit 1cb6e6a

Browse files
cbachmeieranasyusefvmJesse-Sawazzmp
authored
chore: merge in latest changes from main (#4108)
* refactor: remove hideRouteDiagram prop (#3763) * fix: Revert "refactor: remove coinbase wallet resetState" (#4081) Revert "refactor: remove coinbase wallet resetState (#4024)" This reverts commit e36722c. * feat: add support for Celo (#3915) * feat: Support for Celo * fix: wrong condition * combine celo and alfajores lists * use celo erc20 representation * fix: refactor infura.ts to networks.ts & add celo to rpc urls * feature: add celo contract addresses fix: remove celo from supported gas estimate chains until feature is available * refactor: useUSDCPrice to useStablecoinPrice fix: add celo to supported gas estimate chains * fix: use unique factory address for getting pool address * fix: darkmode background graident * fix: removing a comment left behind * fix: remove bad import * fix: remove dead link until the Celo is live on info.uniswap.org * fix: add asset to common bases & minor refactoring * fix: celo info links point to root info.uniswap.org * fix: change celo token bridge to portal * fix: update redux-multicall to latest version * refactor: for code readability * fix: celo banner colors & remove unused alternative logo * fix: change celo token list to hosted version * fix: update celo banner colors * fix: move celo to the bottom of the network selector list * fix: dedup dependencies @uniswap/router-sdk @uniswap/v3-sdk * fix: refactoring + move Celo above L2s * fix: update celo contract addresses * fix: update celo subgraph * fix: update v3-sdk and smart-order-router versions * fix: move Celo to the bottom of the network selector list * fix: downgrade smart-order-router and add casting fix * fix: downgrade smart-order-router and add casting fix * fix: resolve Pool dependency * fix: bridge chain id types * fix: explorer link test * fix: use quoter v2 ABI in useClientSideV3Trade fro Celo * fix: update connection "infura_rpc" to networks * fix: revert yarn.lock and force install * fix: dedup router and v3 sdk * refactor: mv quoter v2 to client side v3 trade * build: dedup lockfile * feature: add portal ether to common bases * fix: add comment for chains that use QuoterV2 * fix: use token as native asset * fix: supply correct factory address to getPoolAddress call & refactor nativeOnChain method * feature: adjust celo tokens presetned * fix: update celo explorer to celoscan * fix: celo token casting * fix: celo celo explorer it * fix: celo chain info should be consistent with block explorer used. Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> * fix: revert "fix button jump on currency panel" (#4083) fix padding * fix: unsupported chain displays message instead of crash (#4054) * made initial changes for pools page displaying w/ unsupported chains * condensed styling * added chain validation to CTACards and wrote tests for both CTAcards and Pools page * linted changes * switched from snapshot to text matching tests * switched test to use check for text instead of testid * fix: add crossplatform `prei18n-extract` script (#3728) * fix: 🐛 add crossplatform `prei18n-extract` script * fix: 🚨 add newline * Revert "fix: 🐛 add crossplatform `prei18n-extract` script" This reverts commit 201bd23. * build: 📦 add `shx` as dev dep, use it in `prei18n:extract` script * fix: 🐛 use platform-specific commands for prei18n-extract * chore(i18n): new Crowdin translations (#4084) chore(i18n): synchronize translations from crowdin [skip ci] Co-authored-by: Crowdin Bot <support+bot@crowdin.com> * feat: implement trace framework for analytics (#4060) * init commit * add amplitude ts sdk to package.json * add more comments and documentation * respond to vm comments * respond to cmcewen comments * fix: remove unused constants * init commit * adapt to web * add optional event properties to trace * correct telemetry to analytics * change telemetry to analytics in doc * fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement * respond to zzmp comments * fixes * eliminate unnecessary state * respond to part of zzmp comments * respond to zzmp comments round 2 * fixes * respond to zzmp comments * refactor: wallet specific Option components (#4065) * refactor: wallet specific Option components * fix * fix * fix coinbase wallet logic * injected logic * remove wallet.ts * install metamask * move all into InjectedOption * fix mobile metamask * wip * more mocking * more test fixes * refactor * more special casing * isMetaMask * simplify components * fix imports * fix coinbase wallet * test fix * fix connectors changing * Revert "fix connectors changing" This reverts commit 2acfe64. * more to typescript logic instead of jsx * chore(i18n): new Crowdin translations (#4090) * build: upgrade @typescript-eslint (#4095) build: update @typescript-eslint * build: update caniuse-lite (#4093) * test: enforce deps deduplication (#4097) * build: use fewer babel versions * build: dedup * test: test deps dedups * fix: test.yml * fix: typo * test: failing * fix: dedup * fix: dedup * test: comment dedup tests * chore: whitespace * feat: implement token selector events (#4067) * init commit * add amplitude ts sdk to package.json * add more comments and documentation * respond to vm comments * respond to cmcewen comments * fix: remove unused constants * init commit * adapt to web * add optional event properties to trace * correct telemetry to analytics * change telemetry to analytics in doc * fix: respond to cmcewen comments + initialize analytics in app.tsx + add missing return statement * init commit * respond to zzmp comments * add token selected event * fixes * eliminate unnecessary state * respond to part of zzmp comments * respond to zzmp comments round 2 * fixes * respond to zzmp comments * add imported token event and other fixes * also log onKeyPress for suggested tokens * respond to cmcewen comments * chore: updates web3-react, adds key for changing connector order (#4085) * fix connectors changing * update package * add connection name * rename file * de-dupe * cb wallet fix * fix * yarn change * log the key * re-order connections * memoize the key * some updates * rm console * prevent memory leak Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> * feat: implement-page-viewed-event-for-all-main-pages-of-app (#4089) * init commit: initial constants for pages, implement vote page viewed * implement swap * implement pool * remove charts * simplify shouldLogImpression * chore: upgrade to react 18 (#3992) * chore: upgrade to react 18 * fix: update tests * fix: fix lint issues and remove unnecessary react hooks testing library * fix: add types for stricter typescript checks * fix: fix additional typescript check issues * fix: revert to prev commmit * rebase * rebase * fix: fix lint issues and remove unnecessary react hooks testing library * fix: add types for stricter typescript checks * fix: fix additional typescript check issues * rebase * fix: rebase * fix * eslint fix * fix: package.json changes * fix: package.json changes * fix yarn lock * fix version package.json * fix: downgrade react-router-dom to original * fix: undo modification of .github/workflows/release.yaml * fix: revert cypress testing version update * rebase * rebase * fix: fix lint issues and remove unnecessary react hooks testing library * fix: add types for stricter typescript checks * fix: fix additional typescript check issues * rebase * chore: upgrade to react 18 * fix: update tests * fix: fix lint issues and remove unnecessary react hooks testing library * fix: add types for stricter typescript checks * fix: fix additional typescript check issues * fix * eslint fix * fix: package.json changes * fix: package.json changes * fix yarn lock * fix version package.json * fix: downgrade react-router-dom to original * fix: undo modification of .github/workflows/release.yaml * fix: revert cypress testing version update * fix * fix: error boundary change * yarn.lock change * fix: cypress tests finally passing due to zzmp redux multicall fix HOORAY * undo service worker changes * build: dedup lockfile * yarn.lock + lint * update snapshot tests * checkpoint * yarn.lock * fix: fix type errors during build * fixes * fix yarn.lock * dedup yarn * fix: import react components explicitly instead of all of react * dedup * yarn.lock * yarn.lock * dedup * yarn * dedup * dedupe use-sync-external-store * fix build issues * dedup use-sync-external-store Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> * chore(web3-react): fix connectEagerly for MetaMask mobile (#4101) * chore(web3-react): fix connectEagerly for MetaMask mobile * fix * build: pause deploy (#4102) * fix: update styled-components in package.json to latest to remove react invalid hook call warnings (#4103) * fix warning vig found by updating styled-components * revert unnecessary yarn.lock changes * reduce unnecessary changes * dedup * manual fix and dedup of yarn.lock * manually dedup @emotion/is-prop-valid * update snapshot tests * build: upgrade prettier to v2.7.1 (#4109) * style: prettier based on v2.2 * 2.7.1 instead? * npx * ^ * add celo chain text colors Co-authored-by: Anas Yousef <anas.y0807@gmail.com> Co-authored-by: Vignesh Mohankumar <vignesh@vigneshmohankumar.com> Co-authored-by: Jesse <31524583+Jesse-Sawa@users.noreply.github.com> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Kaylee George <62825936+kayleegeorge@users.noreply.github.com> Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com> Co-authored-by: Bruno Crosier <bruno.crosier@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
1 parent ddc2816 commit 1cb6e6a

File tree

136 files changed

+8330
-5921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+8330
-5921
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ version: 2
22
updates:
33
- package-ecosystem: npm
44
# Files stored in repository root
5-
directory: "/"
5+
directory: '/'
66
schedule:
7-
interval: "daily"
7+
interval: 'daily'
88
allow:
9-
- dependency-name: "@uniswap/token-lists"
10-
- dependency-name: "@uniswap/default-token-list"
9+
- dependency-name: '@uniswap/token-lists'
10+
- dependency-name: '@uniswap/default-token-list'

.github/workflows/crowdin-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
create_pull_request: true
2929
pull_request_title: 'chore(i18n): new Crowdin translations'
3030
localization_branch_name: l10n_crowdin
31-
commit_message: "chore(i18n): synchronize translations from crowdin [skip ci]"
31+
commit_message: 'chore(i18n): synchronize translations from crowdin [skip ci]'
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Release
22
on:
3-
schedule:
4-
- cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday
3+
# Auto-deploy is disabled while react 18 upgrade is tested further.
4+
# schedule:
5+
# - cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday
56
# manual trigger
67
workflow_dispatch:
78

@@ -70,7 +71,7 @@ jobs:
7071
uses: uniswap/convert-cidv0-cidv1@v1.0.0
7172
with:
7273
cidv0: ${{ steps.pinata.outputs.hash }}
73-
74+
7475
- uses: actions/cache@v3
7576
id: cypress-cache
7677
with:

.github/workflows/test.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ jobs:
1818
- uses: ./.github/actions/setup
1919
- run: yarn lint
2020

21+
deps-tests:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: ./.github/actions/setup
26+
# Test that deps satisfy both "fewer" and "highest" strategies. This is to ensure we are
27+
# up-to-date ("highest") while avoiding increasing package size ("fewer").
28+
# These are readonly (--list) and explicitly exclude packages which only satisfy one strategy.
29+
- run: npx yarn-deduplicate --strategy=fewer --list --fail --exclude commander safe-buffer
30+
- run: npx yarn-deduplicate --strategy=highest --list --fail --exclude commander safe-buffer
31+
2132
unit-tests:
2233
runs-on: ubuntu-latest
2334
steps:
@@ -47,7 +58,7 @@ jobs:
4758
key: ${{ runner.os }}-cypress-${{ hashFiles('node_modules/cypress') }}
4859
- if: steps.cypress-cache.outputs.cache-hit != 'true'
4960
run: yarn cypress install
50-
61+
5162
cypress-test-matrix:
5263
needs: cypress-build
5364
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ The Uniswap Interface supports swapping, adding liquidity, removing liquidity an
4848
## Accessing Uniswap V1
4949

5050
The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways
51-
linked from the [v1.0.0 release](https://github.com/Uniswap/uniswap-interface/releases/tag/v1.0.0).
51+
linked from the [v1.0.0 release](https://github.com/Uniswap/uniswap-interface/releases/tag/v1.0.0).

cypress/e2e/swap.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
describe('Swap', () => {
1+
describe.skip('Swap', () => {
22
beforeEach(() => {
33
cy.visit('/swap').get('#swap-currency-input .token-amount-input')
44
})

package.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 \"./node_modules/@uniswap/**/artifacts/contracts/**/*[!dbg].json\"",
1010
"contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3",
1111
"graphql:generate": "graphql-codegen --config codegen.yml",
12-
"prei18n:extract": "touch src/locales/en-US.po",
12+
"prei18n:extract": "node prei18n-extract.js",
1313
"i18n:extract": "lingui extract --locale en-US",
1414
"i18n:compile": "yarn i18n:extract && lingui compile",
1515
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile",
@@ -61,9 +61,8 @@
6161
"@graphql-codegen/typescript-operations": "^1.18.2",
6262
"@graphql-codegen/typescript-rtk-query": "^1.1.1",
6363
"@lingui/cli": "^3.9.0",
64-
"@testing-library/jest-dom": "^5.14.1",
65-
"@testing-library/react": "^12.0.0",
66-
"@testing-library/react-hooks": "^7.0.2",
64+
"@testing-library/jest-dom": "^5.16.4",
65+
"@testing-library/react": "^13.1",
6766
"@typechain/ethers-v5": "^7.0.0",
6867
"@types/array.prototype.flat": "^1.2.1",
6968
"@types/array.prototype.flatmap": "^1.2.2",
@@ -76,19 +75,19 @@
7675
"@types/multicodec": "^1.0.0",
7776
"@types/node": "^13.13.5",
7877
"@types/qs": "^6.9.2",
79-
"@types/react": "^17.0.2",
80-
"@types/react-dom": "^17.0.1",
81-
"@types/react-redux": "^7.1.16",
82-
"@types/react-router-dom": "^5.0.0",
78+
"@types/react": "^18.0.15",
79+
"@types/react-dom": "^18.0.6",
80+
"@types/react-redux": "^7.1.24",
81+
"@types/react-router-dom": "^5.3.3",
8382
"@types/react-virtualized-auto-sizer": "^1.0.0",
8483
"@types/react-window": "^1.8.2",
8584
"@types/rebass": "^4.0.7",
86-
"@types/styled-components": "^5.1.0",
85+
"@types/styled-components": "^5.1.25",
8786
"@types/testing-library__cypress": "^5.0.5",
8887
"@types/ua-parser-js": "^0.7.35",
8988
"@types/wcag-contrast": "^3.0.0",
90-
"@typescript-eslint/eslint-plugin": "^4.1.0",
91-
"@typescript-eslint/parser": "^4.1.0",
89+
"@typescript-eslint/eslint-plugin": "^4",
90+
"@typescript-eslint/parser": "^4",
9291
"cypress": "^10.1.0",
9392
"env-cmd": "^10.1.0",
9493
"eslint": "^7.11.0",
@@ -110,9 +109,9 @@
110109
"@coinbase/wallet-sdk": "^3.3.0",
111110
"@fontsource/ibm-plex-mono": "^4.5.1",
112111
"@fontsource/inter": "^4.5.1",
113-
"@lingui/core": "^3.9.0",
114-
"@lingui/macro": "^3.9.0",
115-
"@lingui/react": "^3.9.0",
112+
"@lingui/core": "^3.14.0",
113+
"@lingui/macro": "^3.14.0",
114+
"@lingui/react": "^3.14.0",
116115
"@metamask/jazzicon": "^2.0.0",
117116
"@popperjs/core": "^2.4.4",
118117
"@reach/dialog": "^0.10.3",
@@ -123,7 +122,7 @@
123122
"@uniswap/liquidity-staker": "^1.0.2",
124123
"@uniswap/merkle-distributor": "1.0.1",
125124
"@uniswap/redux-multicall": "^1.1.5",
126-
"@uniswap/router-sdk": "^1.0.3",
125+
"@uniswap/router-sdk": "^1.0.6",
127126
"@uniswap/sdk-core": "^3.0.1",
128127
"@uniswap/smart-order-router": "^2.5.26",
129128
"@uniswap/token-lists": "^1.0.0-beta.30",
@@ -132,14 +131,14 @@
132131
"@uniswap/v2-sdk": "^3.0.1",
133132
"@uniswap/v3-core": "1.0.0",
134133
"@uniswap/v3-periphery": "^1.1.1",
135-
"@uniswap/v3-sdk": "^3.8.2",
134+
"@uniswap/v3-sdk": "^3.9.0",
136135
"@walletconnect/ethereum-provider": "1.7.1",
137136
"@web3-react/coinbase-wallet": "^8.0.34-beta.0",
138-
"@web3-react/core": "^8.0.34-beta.0",
137+
"@web3-react/core": "^8.0.35-beta.0",
139138
"@web3-react/eip1193": "^8.0.26-beta.0",
140139
"@web3-react/empty": "^8.0.20-beta.0",
141140
"@web3-react/gnosis-safe": "^8.0.6-beta.0",
142-
"@web3-react/metamask": "^8.0.27-beta.0",
141+
"@web3-react/metamask": "^8.0.28-beta.0",
143142
"@web3-react/network": "^8.0.27-beta.0",
144143
"@web3-react/types": "^8.0.20-beta.0",
145144
"@web3-react/url": "^8.0.25-beta.0",
@@ -168,17 +167,17 @@
168167
"polished": "^3.3.2",
169168
"polyfill-object.fromentries": "^1.0.1",
170169
"popper-max-size-modifier": "^0.2.0",
171-
"prettier": "^2.2.1",
170+
"prettier": "^2.7.1",
172171
"qs": "^6.9.4",
173-
"react": "^17.0.1",
172+
"react": "^18.2.0",
174173
"react-confetti": "^6.0.0",
175-
"react-dom": "^17.0.1",
174+
"react-dom": "^18.2.0",
176175
"react-feather": "^2.0.8",
177176
"react-ga4": "^1.4.1",
178177
"react-is": "^17.0.2",
179178
"react-markdown": "^4.3.1",
180179
"react-popper": "^2.2.3",
181-
"react-redux": "^7.2.2",
180+
"react-redux": "^8.0.2",
182181
"react-router-dom": "^5.0.0",
183182
"react-spring": "^8.0.27",
184183
"react-use-gesture": "^6.0.14",
@@ -188,7 +187,7 @@
188187
"redux": "^4.1.2",
189188
"redux-localstorage-simple": "^2.3.1",
190189
"setimmediate": "^1.0.5",
191-
"styled-components": "^5.3.0",
190+
"styled-components": "^5.3.5",
192191
"tiny-invariant": "^1.2.0",
193192
"ua-parser-js": "^0.7.28",
194193
"use-count-up": "^2.2.5",

prei18n-extract.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// eslint-disable-next-line @typescript-eslint/no-var-requires
2+
const exec = require('child_process').exec
3+
const isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
4+
5+
if (isWindows) {
6+
exec(`type nul > src/locales/en-US.po`)
7+
} else {
8+
exec(`touch src/locales/en-US.po`)
9+
}

public/index.html

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -24,83 +24,83 @@
2424
-->
2525
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
2626

27-
<link rel="preconnect" href="https://www.google-analytics.com/">
27+
<link rel="preconnect" href="https://www.google-analytics.com/" />
2828

29-
<link rel="preload" href="%PUBLIC_URL%/fonts/Inter-roman.var.woff2" as="font" type="font/woff2" crossorigin>
29+
<link rel="preload" href="%PUBLIC_URL%/fonts/Inter-roman.var.woff2" as="font" type="font/woff2" crossorigin />
3030

3131
<style>
32-
* {
33-
font-family: 'Inter', sans-serif;
34-
box-sizing: border-box;
35-
}
32+
* {
33+
font-family: 'Inter', sans-serif;
34+
box-sizing: border-box;
35+
}
3636

37-
/**
37+
/**
3838
Explicitly load Inter var from public/ so it does not block LCP's critical path.
3939
*/
40-
@font-face {
41-
font-family: 'Inter custom';
42-
font-weight: 100 900;
43-
font-style: normal;
44-
font-display: block;
45-
font-named-instance: 'Regular';
46-
src: url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format("woff2 supports variations(gvar)"),
47-
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format("woff2-variations"),
48-
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format("woff2");
49-
}
50-
51-
@supports (font-variation-settings: normal) {
52-
* {
53-
font-family: 'Inter custom', sans-serif;
54-
}
55-
}
56-
57-
html,
58-
body {
59-
margin: 0;
60-
padding: 0;
61-
}
62-
63-
button {
64-
user-select: none;
40+
@font-face {
41+
font-family: 'Inter custom';
42+
font-weight: 100 900;
43+
font-style: normal;
44+
font-display: block;
45+
font-named-instance: 'Regular';
46+
src: url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format('woff2 supports variations(gvar)'),
47+
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format('woff2-variations'),
48+
url(%PUBLIC_URL%/fonts/Inter-roman.var.woff2) format('woff2');
49+
}
50+
51+
@supports (font-variation-settings: normal) {
52+
* {
53+
font-family: 'Inter custom', sans-serif;
6554
}
66-
55+
}
56+
57+
html,
58+
body {
59+
margin: 0;
60+
padding: 0;
61+
}
62+
63+
button {
64+
user-select: none;
65+
}
66+
67+
html {
68+
font-size: 16px;
69+
font-variant: none;
70+
font-smooth: always;
71+
-webkit-font-smoothing: antialiased;
72+
-moz-osx-font-smoothing: grayscale;
73+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
74+
font-feature-settings: 'ss01' on, 'ss02' on, 'cv01' on, 'cv03' on;
75+
}
76+
77+
#background-radial-gradient {
78+
position: fixed;
79+
top: 0;
80+
left: 0;
81+
right: 0;
82+
pointer-events: none;
83+
width: 200vw;
84+
height: 200vh;
85+
background: radial-gradient(50% 50% at 50% 50%, #fc077d10 0%, rgba(255, 255, 255, 0) 100%);
86+
transform: translate(-50vw, -100vh);
87+
z-index: -1;
88+
}
89+
90+
html {
91+
min-height: 100%;
92+
}
93+
94+
@media (prefers-color-scheme: dark) {
6795
html {
68-
font-size: 16px;
69-
font-variant: none;
70-
font-smooth: always;
71-
-webkit-font-smoothing: antialiased;
72-
-moz-osx-font-smoothing: grayscale;
73-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
74-
font-feature-settings: 'ss01' on, 'ss02' on, 'cv01' on, 'cv03' on;
75-
}
76-
77-
#background-radial-gradient {
78-
position: fixed;
79-
top: 0;
80-
left: 0;
81-
right: 0;
82-
pointer-events: none;
83-
width: 200vw;
84-
height: 200vh;
85-
background: radial-gradient(50% 50% at 50% 50%, #fc077d10 0%, rgba(255, 255, 255, 0) 100%);
86-
transform: translate(-50vw, -100vh);
87-
z-index: -1;
96+
background-color: #212429;
8897
}
89-
98+
}
99+
@media (prefers-color-scheme: light) {
90100
html {
91-
min-height: 100%;
92-
}
93-
94-
@media (prefers-color-scheme: dark) {
95-
html {
96-
background-color: #212429;
97-
}
98-
}
99-
@media (prefers-color-scheme: light) {
100-
html {
101-
background-color: #F7F8FA;
102-
}
101+
background-color: #f7f8fa;
103102
}
103+
}
104104
</style>
105105
</head>
106106
<body>

src/assets/svg/celo_logo.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)