diff --git a/public/currencies/1inch.svg b/public/currencies/1inch.svg deleted file mode 100644 index e36edef..0000000 --- a/public/currencies/1inch.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/currencies/aave.svg b/public/currencies/aave.svg deleted file mode 100644 index 2a53a2f..0000000 --- a/public/currencies/aave.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/public/currencies/ada.svg b/public/currencies/ada.svg deleted file mode 100644 index d71c076..0000000 --- a/public/currencies/ada.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/currencies/algo.svg b/public/currencies/algo.svg deleted file mode 100644 index 36af390..0000000 --- a/public/currencies/algo.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/atom.svg b/public/currencies/atom.svg deleted file mode 100644 index 1875c4e..0000000 --- a/public/currencies/atom.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/public/currencies/avax.svg b/public/currencies/avax.svg deleted file mode 100644 index 5881cae..0000000 --- a/public/currencies/avax.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/bch.svg b/public/currencies/bch.svg deleted file mode 100644 index 704fbe2..0000000 --- a/public/currencies/bch.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/btc.svg b/public/currencies/btc.svg deleted file mode 100644 index 2a279b8..0000000 --- a/public/currencies/btc.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/celo.svg b/public/currencies/celo.svg deleted file mode 100644 index 46fdaef..0000000 --- a/public/currencies/celo.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/currencies/comp.svg b/public/currencies/comp.svg deleted file mode 100644 index 396dd3f..0000000 --- a/public/currencies/comp.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/crv.svg b/public/currencies/crv.svg deleted file mode 100644 index a2b652a..0000000 --- a/public/currencies/crv.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/currencies/dai.svg b/public/currencies/dai.svg deleted file mode 100644 index 3eef327..0000000 --- a/public/currencies/dai.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/doge.svg b/public/currencies/doge.svg deleted file mode 100644 index 9b64d2a..0000000 --- a/public/currencies/doge.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/currencies/dot.svg b/public/currencies/dot.svg deleted file mode 100644 index 832e601..0000000 --- a/public/currencies/dot.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/currencies/dydx.svg b/public/currencies/dydx.svg deleted file mode 100644 index 8b76522..0000000 --- a/public/currencies/dydx.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/currencies/enj.svg b/public/currencies/enj.svg deleted file mode 100644 index c20170e..0000000 --- a/public/currencies/enj.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/currencies/eos.svg b/public/currencies/eos.svg deleted file mode 100644 index 5d41cef..0000000 --- a/public/currencies/eos.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/etc.svg b/public/currencies/etc.svg deleted file mode 100644 index 4ab7fdd..0000000 --- a/public/currencies/etc.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/currencies/eth.svg b/public/currencies/eth.svg deleted file mode 100644 index bafa3fb..0000000 --- a/public/currencies/eth.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/public/currencies/fil.svg b/public/currencies/fil.svg deleted file mode 100644 index 4a976fc..0000000 --- a/public/currencies/fil.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/icp.svg b/public/currencies/icp.svg deleted file mode 100644 index f72ae2a..0000000 --- a/public/currencies/icp.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/public/currencies/link.svg b/public/currencies/link.svg deleted file mode 100644 index 791620a..0000000 --- a/public/currencies/link.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/ltc.svg b/public/currencies/ltc.svg deleted file mode 100644 index 72b91b1..0000000 --- a/public/currencies/ltc.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/luna.png b/public/currencies/luna.png deleted file mode 100644 index b1080fc..0000000 Binary files a/public/currencies/luna.png and /dev/null differ diff --git a/public/currencies/luna.svg b/public/currencies/luna.svg deleted file mode 100644 index 8bc974e..0000000 --- a/public/currencies/luna.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/public/currencies/matic.svg b/public/currencies/matic.svg deleted file mode 100644 index 7c57c76..0000000 --- a/public/currencies/matic.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/public/currencies/mkr.svg b/public/currencies/mkr.svg deleted file mode 100644 index ef4ed96..0000000 --- a/public/currencies/mkr.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/currencies/near.svg b/public/currencies/near.svg deleted file mode 100644 index 24924fd..0000000 --- a/public/currencies/near.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/rune.svg b/public/currencies/rune.svg deleted file mode 100644 index d440bcc..0000000 --- a/public/currencies/rune.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/public/currencies/snx.svg b/public/currencies/snx.svg deleted file mode 100644 index cc17b6c..0000000 --- a/public/currencies/snx.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/sol.svg b/public/currencies/sol.svg deleted file mode 100644 index 945180d..0000000 --- a/public/currencies/sol.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/public/currencies/sushi.svg b/public/currencies/sushi.svg deleted file mode 100644 index 0aaf816..0000000 --- a/public/currencies/sushi.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/currencies/trx.svg b/public/currencies/trx.svg deleted file mode 100644 index 5264027..0000000 --- a/public/currencies/trx.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/uma.svg b/public/currencies/uma.svg deleted file mode 100644 index 7018b44..0000000 --- a/public/currencies/uma.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/public/currencies/uni.svg b/public/currencies/uni.svg deleted file mode 100644 index ee75b27..0000000 --- a/public/currencies/uni.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/public/currencies/usdc.svg b/public/currencies/usdc.svg deleted file mode 100644 index f9d1daf..0000000 --- a/public/currencies/usdc.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/usdt.svg b/public/currencies/usdt.svg deleted file mode 100644 index c0fb8ac..0000000 --- a/public/currencies/usdt.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/public/currencies/wbtc.svg b/public/currencies/wbtc.svg deleted file mode 100644 index 851bc71..0000000 --- a/public/currencies/wbtc.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/public/currencies/weth.svg b/public/currencies/weth.svg deleted file mode 100644 index 5e6f777..0000000 --- a/public/currencies/weth.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/public/currencies/xlm.svg b/public/currencies/xlm.svg deleted file mode 100644 index c8199e7..0000000 --- a/public/currencies/xlm.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/currencies/xmr.svg b/public/currencies/xmr.svg deleted file mode 100644 index 094d88e..0000000 --- a/public/currencies/xmr.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/public/currencies/xtz.svg b/public/currencies/xtz.svg deleted file mode 100644 index d1db8cc..0000000 --- a/public/currencies/xtz.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/public/currencies/yfi.svg b/public/currencies/yfi.svg deleted file mode 100644 index 76d50cd..0000000 --- a/public/currencies/yfi.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/public/currencies/zec.svg b/public/currencies/zec.svg deleted file mode 100644 index cd96550..0000000 --- a/public/currencies/zec.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/public/currencies/zrx.svg b/public/currencies/zrx.svg deleted file mode 100644 index ec94152..0000000 --- a/public/currencies/zrx.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/components/AssetIcon.tsx b/src/components/AssetIcon.tsx index d9c1995..f375284 100644 --- a/src/components/AssetIcon.tsx +++ b/src/components/AssetIcon.tsx @@ -5,50 +5,49 @@ import { Nullable } from '@/constants/abacus'; export type AssetSymbol = keyof typeof assetIcons; const assetIcons = { - '1INCH': '/currencies/1inch.svg', - AAVE: '/currencies/aave.svg', - ADA: '/currencies/ada.svg', - ALGO: '/currencies/algo.svg', - ATOM: '/currencies/atom.svg', - AVAX: '/currencies/avax.svg', - BCH: '/currencies/bch.svg', - BTC: '/currencies/btc.svg', - CELO: '/currencies/celo.svg', - COMP: '/currencies/comp.svg', - CRV: '/currencies/crv.svg', - DAI: '/currencies/dai.svg', - DOGE: '/currencies/doge.svg', - DOT: '/currencies/dot.svg', - DYDX: '/currencies/dydx.svg', - ENJ: '/currencies/enj.svg', - EOS: '/currencies/eos.svg', - ETC: '/currencies/etc.svg', - ETH: '/currencies/eth.svg', - FIL: '/currencies/fil.svg', - ICP: '/currencies/icp.svg', - LINK: '/currencies/link.svg', - LTC: '/currencies/ltc.svg', - LUNA: '/currencies/luna.svg', - MATIC: '/currencies/matic.svg', - MKR: '/currencies/mkr.svg', - NEAR: '/currencies/near.svg', - RUNE: '/currencies/rune.svg', - SNX: '/currencies/snx.svg', - SOL: '/currencies/sol.svg', - SUSHI: '/currencies/sushi.svg', - TRX: '/currencies/trx.svg', - UMA: '/currencies/uma.svg', - UNI: '/currencies/uni.svg', - USDC: '/currencies/usdc.svg', - USDT: '/currencies/usdt.svg', - WBTC: '/currencies/wbtc.svg', - WETH: '/currencies/weth.svg', - XLM: '/currencies/xlm.svg', - XMR: '/currencies/xmr.svg', - XTZ: '/currencies/xtz.svg', - YFI: '/currencies/yfi.svg', - ZEC: '/currencies/zec.svg', - ZRX: '/currencies/zrx.svg', + '1INCH': '/currencies/1inch.png', + AAVE: '/currencies/aave.png', + ADA: '/currencies/ada.png', + ALGO: '/currencies/algo.png', + ATOM: '/currencies/atom.png', + AVAX: '/currencies/avax.png', + BCH: '/currencies/bch.png', + BTC: '/currencies/btc.png', + CELO: '/currencies/celo.png', + COMP: '/currencies/comp.png', + CRV: '/currencies/crv.png', + DAI: '/currencies/dai.png', + DOGE: '/currencies/doge.png', + DOT: '/currencies/dot.png', + DYDX: '/currencies/dydx.png', + ENJ: '/currencies/enj.png', + EOS: '/currencies/eos.png', + ETC: '/currencies/etc.png', + ETH: '/currencies/eth.png', + FIL: '/currencies/fil.png', + ICP: '/currencies/icp.png', + LINK: '/currencies/link.png', + LTC: '/currencies/ltc.png', + MATIC: '/currencies/matic.png', + MKR: '/currencies/mkr.png', + NEAR: '/currencies/near.png', + RUNE: '/currencies/rune.png', + SNX: '/currencies/snx.png', + SOL: '/currencies/sol.png', + SUSHI: '/currencies/sushi.png', + TRX: '/currencies/trx.png', + UMA: '/currencies/uma.png', + UNI: '/currencies/uni.png', + USDC: '/currencies/usdc.png', + USDT: '/currencies/usdt.png', + WBTC: '/currencies/wbtc.png', + WETH: '/currencies/weth.png', + XLM: '/currencies/xlm.png', + XMR: '/currencies/xmr.png', + XTZ: '/currencies/xtz.png', + YFI: '/currencies/yfi.png', + ZEC: '/currencies/zec.png', + ZRX: '/currencies/zrx.png', } as const; export const AssetIcon = ({ diff --git a/src/pages/trade/HorizontalPanel.tsx b/src/pages/trade/HorizontalPanel.tsx index 43be48f..76e975f 100644 --- a/src/pages/trade/HorizontalPanel.tsx +++ b/src/pages/trade/HorizontalPanel.tsx @@ -238,7 +238,7 @@ export const HorizontalPanel = ({ isOpen = true, setIsOpen }: ElementProps) => { const Styled: Record = {}; Styled.AssetIcon = styled(AssetIcon)` - height: 1.5em; + font-size: 1.5em; `; Styled.CollapsibleTabs = styled(CollapsibleTabs)`