From 795438989b456b60990dc307112b23b324806b80 Mon Sep 17 00:00:00 2001 From: Kristam Moffett Date: Fri, 13 Jan 2023 16:40:58 +0000 Subject: [PATCH] Fix: all mono icons now accept fill with currentColor --- .changeset/loud-parrots-provide.md | 5 ++ packages/icons/src/lib/icons/Airdrop.tsx | 24 +++++--- packages/icons/src/lib/icons/AlertCircle.tsx | 26 +++----- .../icons/src/lib/icons/AlertTriangle.tsx | 4 +- packages/icons/src/lib/icons/Archive.tsx | 7 +-- packages/icons/src/lib/icons/ArrowDown.tsx | 3 +- .../icons/src/lib/icons/ArrowDownLeft.tsx | 3 +- .../icons/src/lib/icons/ArrowDownRight.tsx | 3 +- packages/icons/src/lib/icons/ArrowLeft.tsx | 3 +- packages/icons/src/lib/icons/ArrowUp.tsx | 3 +- packages/icons/src/lib/icons/ArrowUpLeft.tsx | 3 +- packages/icons/src/lib/icons/ArrowUpRight.tsx | 3 +- packages/icons/src/lib/icons/Cat.tsx | 57 ++++++------------ packages/icons/src/lib/icons/Cloud.tsx | 14 ++--- packages/icons/src/lib/icons/Compass.tsx | 22 +++---- packages/icons/src/lib/icons/Exchange.tsx | 37 +++++------- packages/icons/src/lib/icons/Gift.tsx | 7 +-- packages/icons/src/lib/icons/Key.tsx | 18 +++--- packages/icons/src/lib/icons/Layout.tsx | 5 +- packages/icons/src/lib/icons/Learn.tsx | 44 ++++++++++++++ packages/icons/src/lib/icons/LogIn.tsx | 28 ++++----- packages/icons/src/lib/icons/NftCat.tsx | 60 +++++-------------- packages/icons/src/lib/icons/Phone.tsx | 18 +++--- .../icons/src/lib/icons/TwitterOutline.tsx | 18 +----- packages/icons/src/lib/icons/Wallet.tsx | 35 ++++------- packages/icons/src/lib/icons/Whale.tsx | 7 +-- packages/icons/src/lib/icons/Withdraw.tsx | 3 +- packages/icons/src/lib/icons/index.ts | 2 +- packages/icons/src/lib/svgs/NFTCat.svg | 27 ++------- packages/icons/src/lib/svgs/airdrop.svg | 15 +++-- packages/icons/src/lib/svgs/alert-circle.svg | 15 ++--- .../icons/src/lib/svgs/alert-triangle.svg | 8 +-- packages/icons/src/lib/svgs/archive.svg | 4 +- .../icons/src/lib/svgs/arrow-down-left.svg | 4 +- .../icons/src/lib/svgs/arrow-down-right.svg | 4 +- packages/icons/src/lib/svgs/arrow-down.svg | 4 +- packages/icons/src/lib/svgs/arrow-left.svg | 4 +- packages/icons/src/lib/svgs/arrow-up-left.svg | 4 +- .../icons/src/lib/svgs/arrow-up-right.svg | 4 +- packages/icons/src/lib/svgs/arrow-up.svg | 4 +- packages/icons/src/lib/svgs/atomicApi.svg | 2 +- packages/icons/src/lib/svgs/cat.svg | 23 ++----- packages/icons/src/lib/svgs/cloud.svg | 4 +- packages/icons/src/lib/svgs/compass.svg | 13 +--- packages/icons/src/lib/svgs/exchange.svg | 22 ++----- packages/icons/src/lib/svgs/gift.svg | 12 ++-- packages/icons/src/lib/svgs/key.svg | 4 +- packages/icons/src/lib/svgs/layout.svg | 8 +-- packages/icons/src/lib/svgs/learn.svg | 13 ++++ packages/icons/src/lib/svgs/lightbulb.svg | 5 -- packages/icons/src/lib/svgs/log-in.svg | 15 ++--- packages/icons/src/lib/svgs/phone.svg | 4 +- .../icons/src/lib/svgs/twitter-outline.svg | 11 +--- packages/icons/src/lib/svgs/wallet.svg | 15 ++--- packages/icons/src/lib/svgs/whale.svg | 4 +- packages/icons/src/lib/svgs/withdraw.svg | 4 +- 56 files changed, 292 insertions(+), 426 deletions(-) create mode 100644 .changeset/loud-parrots-provide.md create mode 100644 packages/icons/src/lib/icons/Learn.tsx create mode 100644 packages/icons/src/lib/svgs/learn.svg delete mode 100644 packages/icons/src/lib/svgs/lightbulb.svg diff --git a/.changeset/loud-parrots-provide.md b/.changeset/loud-parrots-provide.md new file mode 100644 index 000000000..8d8a6bf84 --- /dev/null +++ b/.changeset/loud-parrots-provide.md @@ -0,0 +1,5 @@ +--- +'@web3uikit/icons': patch +--- + +Fix: all icons now accept currentColor fill diff --git a/packages/icons/src/lib/icons/Airdrop.tsx b/packages/icons/src/lib/icons/Airdrop.tsx index 94b9e8f16..aa6aed3bb 100644 --- a/packages/icons/src/lib/icons/Airdrop.tsx +++ b/packages/icons/src/lib/icons/Airdrop.tsx @@ -13,7 +13,7 @@ const SvgAirdrop = ({ {title} : null} - - - + + + diff --git a/packages/icons/src/lib/icons/AlertCircle.tsx b/packages/icons/src/lib/icons/AlertCircle.tsx index f2adb715c..8c2d6de26 100644 --- a/packages/icons/src/lib/icons/AlertCircle.tsx +++ b/packages/icons/src/lib/icons/AlertCircle.tsx @@ -14,7 +14,7 @@ const SvgAlertCircle = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,24 +31,16 @@ const SvgAlertCircle = ({ {...props} > {title ? {title} : null} - - - - - - - - - + d="M12 5.25a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z" + /> + ); diff --git a/packages/icons/src/lib/icons/AlertTriangle.tsx b/packages/icons/src/lib/icons/AlertTriangle.tsx index b0cefeb1c..915b05abe 100644 --- a/packages/icons/src/lib/icons/AlertTriangle.tsx +++ b/packages/icons/src/lib/icons/AlertTriangle.tsx @@ -14,7 +14,7 @@ const SvgAlertTriangle = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,13 +35,11 @@ const SvgAlertTriangle = ({ fillRule="evenodd" clipRule="evenodd" d="M10.896 4.712a2.25 2.25 0 0 1 3.028.794l.002.004 6.353 10.605.006.01A2.251 2.251 0 0 1 18.36 19.5H5.639a2.25 2.25 0 0 1-1.923-3.375l.006-.01L10.074 5.51l.644.385-.642-.389c.2-.33.483-.604.82-.794Zm.464 1.57L5.012 16.88A.75.75 0 0 0 5.652 18h12.696a.75.75 0 0 0 .64-1.12L12.641 6.283v-.002a.75.75 0 0 0-1.281 0Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/Archive.tsx b/packages/icons/src/lib/icons/Archive.tsx index 2c0e048db..d84a4c6fd 100644 --- a/packages/icons/src/lib/icons/Archive.tsx +++ b/packages/icons/src/lib/icons/Archive.tsx @@ -14,7 +14,7 @@ const SvgArchive = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,10 +31,7 @@ const SvgArchive = ({ {...props} > {title ? {title} : null} - + ); diff --git a/packages/icons/src/lib/icons/ArrowDown.tsx b/packages/icons/src/lib/icons/ArrowDown.tsx index 3d4b1485b..a23db2d8d 100644 --- a/packages/icons/src/lib/icons/ArrowDown.tsx +++ b/packages/icons/src/lib/icons/ArrowDown.tsx @@ -14,7 +14,7 @@ const SvgArrowDown = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowDown = ({ fillRule="evenodd" clipRule="evenodd" d="M12 4a1 1 0 0 1 1 1v11.586l5.293-5.293a1 1 0 0 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 0 1 1-1Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowDownLeft.tsx b/packages/icons/src/lib/icons/ArrowDownLeft.tsx index d3991c8a1..4218e80d9 100644 --- a/packages/icons/src/lib/icons/ArrowDownLeft.tsx +++ b/packages/icons/src/lib/icons/ArrowDownLeft.tsx @@ -14,7 +14,7 @@ const SvgArrowDownLeft = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowDownLeft = ({ fillRule="evenodd" clipRule="evenodd" d="M7 6a1 1 0 0 1 1 1v7.586l8.293-8.293a1 1 0 1 1 1.414 1.414L9.414 16H17a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowDownRight.tsx b/packages/icons/src/lib/icons/ArrowDownRight.tsx index 5ff59b819..cd0a4fd11 100644 --- a/packages/icons/src/lib/icons/ArrowDownRight.tsx +++ b/packages/icons/src/lib/icons/ArrowDownRight.tsx @@ -14,7 +14,7 @@ const SvgArrowDownRight = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowDownRight = ({ fillRule="evenodd" clipRule="evenodd" d="M6.293 6.293a1 1 0 0 1 1.414 0L16 14.586V7a1 1 0 1 1 2 0v10a1 1 0 0 1-1 1H7a1 1 0 1 1 0-2h7.586L6.293 7.707a1 1 0 0 1 0-1.414Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowLeft.tsx b/packages/icons/src/lib/icons/ArrowLeft.tsx index 31cb722fc..efe8cefca 100644 --- a/packages/icons/src/lib/icons/ArrowLeft.tsx +++ b/packages/icons/src/lib/icons/ArrowLeft.tsx @@ -14,7 +14,7 @@ const SvgArrowLeft = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowLeft = ({ fillRule="evenodd" clipRule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowUp.tsx b/packages/icons/src/lib/icons/ArrowUp.tsx index d2896eddf..37cf5e20c 100644 --- a/packages/icons/src/lib/icons/ArrowUp.tsx +++ b/packages/icons/src/lib/icons/ArrowUp.tsx @@ -14,7 +14,7 @@ const SvgArrowUp = ({ width="1em" height="1em" viewBox="0 0 24 25" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowUp = ({ fillRule="evenodd" clipRule="evenodd" d="M11.293 4.793a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1-1.414 1.414L13 7.914V19.5a1 1 0 1 1-2 0V7.914l-5.293 5.293a1 1 0 0 1-1.414-1.414l7-7Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowUpLeft.tsx b/packages/icons/src/lib/icons/ArrowUpLeft.tsx index c64247503..c4edc2301 100644 --- a/packages/icons/src/lib/icons/ArrowUpLeft.tsx +++ b/packages/icons/src/lib/icons/ArrowUpLeft.tsx @@ -14,7 +14,7 @@ const SvgArrowUpLeft = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowUpLeft = ({ fillRule="evenodd" clipRule="evenodd" d="M6 7a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H9.414l8.293 8.293a1 1 0 0 1-1.414 1.414L8 9.414V17a1 1 0 1 1-2 0V7Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/ArrowUpRight.tsx b/packages/icons/src/lib/icons/ArrowUpRight.tsx index 766c30857..2a371e261 100644 --- a/packages/icons/src/lib/icons/ArrowUpRight.tsx +++ b/packages/icons/src/lib/icons/ArrowUpRight.tsx @@ -14,7 +14,7 @@ const SvgArrowUpRight = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgArrowUpRight = ({ fillRule="evenodd" clipRule="evenodd" d="M7 8a1 1 0 0 1 0-2h10a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V9.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L14.586 8H7Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/Cat.tsx b/packages/icons/src/lib/icons/Cat.tsx index 93ca28a00..f154a4380 100644 --- a/packages/icons/src/lib/icons/Cat.tsx +++ b/packages/icons/src/lib/icons/Cat.tsx @@ -31,46 +31,23 @@ const SvgCat = ({ {...props} > {title ? {title} : null} - - - - - - - - - - - - - - - - - - + + + + ); diff --git a/packages/icons/src/lib/icons/Cloud.tsx b/packages/icons/src/lib/icons/Cloud.tsx index 95c85c499..c3379b4b7 100644 --- a/packages/icons/src/lib/icons/Cloud.tsx +++ b/packages/icons/src/lib/icons/Cloud.tsx @@ -11,13 +11,11 @@ const SvgCloud = ({ ...props }: SVGProps & SVGRProps) => ( ); diff --git a/packages/icons/src/lib/icons/Compass.tsx b/packages/icons/src/lib/icons/Compass.tsx index d66143439..ddfca6888 100644 --- a/packages/icons/src/lib/icons/Compass.tsx +++ b/packages/icons/src/lib/icons/Compass.tsx @@ -14,7 +14,7 @@ const SvgCompass = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,20 +31,16 @@ const SvgCompass = ({ {...props} > {title ? {title} : null} - - - - - - - - - + d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" + /> + ); diff --git a/packages/icons/src/lib/icons/Exchange.tsx b/packages/icons/src/lib/icons/Exchange.tsx index dce05f90c..48115bba9 100644 --- a/packages/icons/src/lib/icons/Exchange.tsx +++ b/packages/icons/src/lib/icons/Exchange.tsx @@ -14,7 +14,7 @@ const SvgExchange = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,26 +31,21 @@ const SvgExchange = ({ {...props} > {title ? {title} : null} - - - - - - - - - - - - - - - + + + ); diff --git a/packages/icons/src/lib/icons/Gift.tsx b/packages/icons/src/lib/icons/Gift.tsx index efc0ebd14..0e6457a72 100644 --- a/packages/icons/src/lib/icons/Gift.tsx +++ b/packages/icons/src/lib/icons/Gift.tsx @@ -14,7 +14,7 @@ const SvgGift = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,31 +35,26 @@ const SvgGift = ({ fillRule="evenodd" clipRule="evenodd" d="M4.818 11.394c.52 0 .94.42.94.94v8.454h13.151v-8.455a.94.94 0 1 1 1.879 0v9.394a.94.94 0 0 1-.94.94H4.819a.94.94 0 0 1-.94-.94v-9.394c0-.519.421-.94.94-.94Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/Key.tsx b/packages/icons/src/lib/icons/Key.tsx index 463f01984..0daa6f936 100644 --- a/packages/icons/src/lib/icons/Key.tsx +++ b/packages/icons/src/lib/icons/Key.tsx @@ -11,13 +11,14 @@ const SvgKey = ({ ...props }: SVGProps & SVGRProps) => ( ); diff --git a/packages/icons/src/lib/icons/Layout.tsx b/packages/icons/src/lib/icons/Layout.tsx index ddaa36d6b..5c410fe2a 100644 --- a/packages/icons/src/lib/icons/Layout.tsx +++ b/packages/icons/src/lib/icons/Layout.tsx @@ -14,7 +14,7 @@ const SvgLayout = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,19 +35,16 @@ const SvgLayout = ({ fillRule="evenodd" clipRule="evenodd" d="M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5ZM2 5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/Learn.tsx b/packages/icons/src/lib/icons/Learn.tsx new file mode 100644 index 000000000..4aa7d0764 --- /dev/null +++ b/packages/icons/src/lib/icons/Learn.tsx @@ -0,0 +1,44 @@ +// Auto-generated file created by svgr-cli source svg-template.js +// Run pnpm icons:create to update +// Do not edit +import { SVGProps } from 'react'; +import { SVGRProps } from '../type'; +const SvgLearn = ({ + title, + titleId, + isResponsive = false, + style, + ...props +}: SVGProps & SVGRProps) => ( + +); + +export default SvgLearn; diff --git a/packages/icons/src/lib/icons/LogIn.tsx b/packages/icons/src/lib/icons/LogIn.tsx index a2ee05c46..6e193b60f 100644 --- a/packages/icons/src/lib/icons/LogIn.tsx +++ b/packages/icons/src/lib/icons/LogIn.tsx @@ -14,7 +14,7 @@ const SvgLogIn = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,21 +31,21 @@ const SvgLogIn = ({ {...props} > {title ? {title} : null} - - - - - - - - - - + d="M14 3a1 1 0 0 1 1-1h4a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-4a1 1 0 1 1 0-2h4a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-4a1 1 0 0 1-1-1Z" + /> + + ); diff --git a/packages/icons/src/lib/icons/NftCat.tsx b/packages/icons/src/lib/icons/NftCat.tsx index 7515ef278..a4a39509c 100644 --- a/packages/icons/src/lib/icons/NftCat.tsx +++ b/packages/icons/src/lib/icons/NftCat.tsx @@ -13,8 +13,8 @@ const SvgNftCat = ({ {title ? {title} : null} - - - - - - - - - - - - - - - - - - + + + + ); diff --git a/packages/icons/src/lib/icons/Phone.tsx b/packages/icons/src/lib/icons/Phone.tsx index 6c15b54d2..a00c5eebd 100644 --- a/packages/icons/src/lib/icons/Phone.tsx +++ b/packages/icons/src/lib/icons/Phone.tsx @@ -11,13 +11,14 @@ const SvgPhone = ({ ...props }: SVGProps & SVGRProps) => ( ); diff --git a/packages/icons/src/lib/icons/TwitterOutline.tsx b/packages/icons/src/lib/icons/TwitterOutline.tsx index 6ba08ace4..dd93abeb5 100644 --- a/packages/icons/src/lib/icons/TwitterOutline.tsx +++ b/packages/icons/src/lib/icons/TwitterOutline.tsx @@ -14,7 +14,7 @@ const SvgTwitterOutline = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,21 +31,7 @@ const SvgTwitterOutline = ({ {...props} > {title ? {title} : null} - - - - - - - - + ); diff --git a/packages/icons/src/lib/icons/Wallet.tsx b/packages/icons/src/lib/icons/Wallet.tsx index 00e75cae9..db82cce0b 100644 --- a/packages/icons/src/lib/icons/Wallet.tsx +++ b/packages/icons/src/lib/icons/Wallet.tsx @@ -14,7 +14,7 @@ const SvgWallet = ({ width="1em" height="1em" viewBox="0 0 25 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,28 +31,17 @@ const SvgWallet = ({ {...props} > {title ? {title} : null} - - - - - - - - - - + + + ); diff --git a/packages/icons/src/lib/icons/Whale.tsx b/packages/icons/src/lib/icons/Whale.tsx index cccced2bc..2ec00184f 100644 --- a/packages/icons/src/lib/icons/Whale.tsx +++ b/packages/icons/src/lib/icons/Whale.tsx @@ -14,7 +14,7 @@ const SvgWhale = ({ width="1em" height="1em" viewBox="0 0 24 19" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -31,10 +31,7 @@ const SvgWhale = ({ {...props} > {title ? {title} : null} - + ); diff --git a/packages/icons/src/lib/icons/Withdraw.tsx b/packages/icons/src/lib/icons/Withdraw.tsx index 48b222d91..4680b7e2d 100644 --- a/packages/icons/src/lib/icons/Withdraw.tsx +++ b/packages/icons/src/lib/icons/Withdraw.tsx @@ -14,7 +14,7 @@ const SvgWithdraw = ({ width="1em" height="1em" viewBox="0 0 24 24" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" role="img" data-testid="test-icon" @@ -35,7 +35,6 @@ const SvgWithdraw = ({ fillRule="evenodd" clipRule="evenodd" d="M5 4a1 1 0 0 0-1 1v4a1 1 0 0 1-2 0V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v4a1 1 0 1 1-2 0V5a1 1 0 0 0-1-1H5Zm7 4a1 1 0 0 1 1 1v9.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L11 18.586V9a1 1 0 0 1 1-1Z" - fill="#000" /> ); diff --git a/packages/icons/src/lib/icons/index.ts b/packages/icons/src/lib/icons/index.ts index 7cee231fb..ccf0cddf7 100644 --- a/packages/icons/src/lib/icons/index.ts +++ b/packages/icons/src/lib/icons/index.ts @@ -88,8 +88,8 @@ export { default as Image } from './Image'; export { default as Info } from './Info'; export { default as Key } from './Key'; export { default as Layout } from './Layout'; +export { default as Learn } from './Learn'; export { default as LifeRing } from './LifeRing'; -export { default as Lightbulb } from './Lightbulb'; export { default as Link } from './Link'; export { default as Linux } from './Linux'; export { default as List } from './List'; diff --git a/packages/icons/src/lib/svgs/NFTCat.svg b/packages/icons/src/lib/svgs/NFTCat.svg index 6380baa7a..b5bf1e25d 100644 --- a/packages/icons/src/lib/svgs/NFTCat.svg +++ b/packages/icons/src/lib/svgs/NFTCat.svg @@ -1,22 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + diff --git a/packages/icons/src/lib/svgs/airdrop.svg b/packages/icons/src/lib/svgs/airdrop.svg index f19b5adcc..0e85d31d2 100644 --- a/packages/icons/src/lib/svgs/airdrop.svg +++ b/packages/icons/src/lib/svgs/airdrop.svg @@ -1,13 +1,12 @@ - - - - - - + + + + + - - + + diff --git a/packages/icons/src/lib/svgs/alert-circle.svg b/packages/icons/src/lib/svgs/alert-circle.svg index f56dbff32..70da6172b 100644 --- a/packages/icons/src/lib/svgs/alert-circle.svg +++ b/packages/icons/src/lib/svgs/alert-circle.svg @@ -1,12 +1,5 @@ - - - - - - - - - - - + + + + diff --git a/packages/icons/src/lib/svgs/alert-triangle.svg b/packages/icons/src/lib/svgs/alert-triangle.svg index 9542ff42e..3c37c5bd8 100644 --- a/packages/icons/src/lib/svgs/alert-triangle.svg +++ b/packages/icons/src/lib/svgs/alert-triangle.svg @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/packages/icons/src/lib/svgs/archive.svg b/packages/icons/src/lib/svgs/archive.svg index c1c718260..4918a1404 100644 --- a/packages/icons/src/lib/svgs/archive.svg +++ b/packages/icons/src/lib/svgs/archive.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-down-left.svg b/packages/icons/src/lib/svgs/arrow-down-left.svg index a69c5f8d0..f4f4435e1 100644 --- a/packages/icons/src/lib/svgs/arrow-down-left.svg +++ b/packages/icons/src/lib/svgs/arrow-down-left.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-down-right.svg b/packages/icons/src/lib/svgs/arrow-down-right.svg index ae28253ab..7ea4791f3 100644 --- a/packages/icons/src/lib/svgs/arrow-down-right.svg +++ b/packages/icons/src/lib/svgs/arrow-down-right.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-down.svg b/packages/icons/src/lib/svgs/arrow-down.svg index e3f569223..e37f17baa 100644 --- a/packages/icons/src/lib/svgs/arrow-down.svg +++ b/packages/icons/src/lib/svgs/arrow-down.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-left.svg b/packages/icons/src/lib/svgs/arrow-left.svg index 3237bc988..57b740bfa 100644 --- a/packages/icons/src/lib/svgs/arrow-left.svg +++ b/packages/icons/src/lib/svgs/arrow-left.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-up-left.svg b/packages/icons/src/lib/svgs/arrow-up-left.svg index 5105801d1..a1417cadd 100644 --- a/packages/icons/src/lib/svgs/arrow-up-left.svg +++ b/packages/icons/src/lib/svgs/arrow-up-left.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-up-right.svg b/packages/icons/src/lib/svgs/arrow-up-right.svg index e59ebc854..937c1e0d9 100644 --- a/packages/icons/src/lib/svgs/arrow-up-right.svg +++ b/packages/icons/src/lib/svgs/arrow-up-right.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/arrow-up.svg b/packages/icons/src/lib/svgs/arrow-up.svg index 99915b98f..f4bf0a826 100644 --- a/packages/icons/src/lib/svgs/arrow-up.svg +++ b/packages/icons/src/lib/svgs/arrow-up.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/atomicApi.svg b/packages/icons/src/lib/svgs/atomicApi.svg index 7bbc6ebd3..0b74f0ed4 100644 --- a/packages/icons/src/lib/svgs/atomicApi.svg +++ b/packages/icons/src/lib/svgs/atomicApi.svg @@ -1 +1 @@ - + diff --git a/packages/icons/src/lib/svgs/cat.svg b/packages/icons/src/lib/svgs/cat.svg index 3ef5b7886..9f0c841fa 100644 --- a/packages/icons/src/lib/svgs/cat.svg +++ b/packages/icons/src/lib/svgs/cat.svg @@ -1,22 +1,7 @@ - - - - - + - - - - - - - - - - - - - - + + + diff --git a/packages/icons/src/lib/svgs/cloud.svg b/packages/icons/src/lib/svgs/cloud.svg index 195d751e7..eb549b296 100644 --- a/packages/icons/src/lib/svgs/cloud.svg +++ b/packages/icons/src/lib/svgs/cloud.svg @@ -1 +1,3 @@ - + + + diff --git a/packages/icons/src/lib/svgs/compass.svg b/packages/icons/src/lib/svgs/compass.svg index e2c279b11..3f4bdb0eb 100644 --- a/packages/icons/src/lib/svgs/compass.svg +++ b/packages/icons/src/lib/svgs/compass.svg @@ -1,11 +1,4 @@ - - - - - - - - - - + + + diff --git a/packages/icons/src/lib/svgs/exchange.svg b/packages/icons/src/lib/svgs/exchange.svg index 2d4e7fbdb..4d953358c 100644 --- a/packages/icons/src/lib/svgs/exchange.svg +++ b/packages/icons/src/lib/svgs/exchange.svg @@ -1,18 +1,6 @@ - - - - - - - - - - - - - - - - - + + + + + diff --git a/packages/icons/src/lib/svgs/gift.svg b/packages/icons/src/lib/svgs/gift.svg index 7b69518de..4c684d43d 100644 --- a/packages/icons/src/lib/svgs/gift.svg +++ b/packages/icons/src/lib/svgs/gift.svg @@ -1,7 +1,7 @@ - - - - - - + + + + + + diff --git a/packages/icons/src/lib/svgs/key.svg b/packages/icons/src/lib/svgs/key.svg index fbeb6e9f7..4318970a0 100644 --- a/packages/icons/src/lib/svgs/key.svg +++ b/packages/icons/src/lib/svgs/key.svg @@ -1 +1,3 @@ - + + + diff --git a/packages/icons/src/lib/svgs/layout.svg b/packages/icons/src/lib/svgs/layout.svg index 4efb91e87..62e2a2880 100644 --- a/packages/icons/src/lib/svgs/layout.svg +++ b/packages/icons/src/lib/svgs/layout.svg @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/packages/icons/src/lib/svgs/learn.svg b/packages/icons/src/lib/svgs/learn.svg new file mode 100644 index 000000000..fbe515d12 --- /dev/null +++ b/packages/icons/src/lib/svgs/learn.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/packages/icons/src/lib/svgs/lightbulb.svg b/packages/icons/src/lib/svgs/lightbulb.svg deleted file mode 100644 index bd38a3648..000000000 --- a/packages/icons/src/lib/svgs/lightbulb.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/icons/src/lib/svgs/log-in.svg b/packages/icons/src/lib/svgs/log-in.svg index dadb2e67d..7a92c1524 100644 --- a/packages/icons/src/lib/svgs/log-in.svg +++ b/packages/icons/src/lib/svgs/log-in.svg @@ -1,12 +1,5 @@ - - - - - - - - - - - + + + + diff --git a/packages/icons/src/lib/svgs/phone.svg b/packages/icons/src/lib/svgs/phone.svg index 30a471281..cfba9c52a 100644 --- a/packages/icons/src/lib/svgs/phone.svg +++ b/packages/icons/src/lib/svgs/phone.svg @@ -1 +1,3 @@ - + + + diff --git a/packages/icons/src/lib/svgs/twitter-outline.svg b/packages/icons/src/lib/svgs/twitter-outline.svg index 19ba65cf8..a1e9b4c53 100644 --- a/packages/icons/src/lib/svgs/twitter-outline.svg +++ b/packages/icons/src/lib/svgs/twitter-outline.svg @@ -1,10 +1,3 @@ - - - - - - - - - + + diff --git a/packages/icons/src/lib/svgs/wallet.svg b/packages/icons/src/lib/svgs/wallet.svg index 694feba08..ab4e1e4e1 100644 --- a/packages/icons/src/lib/svgs/wallet.svg +++ b/packages/icons/src/lib/svgs/wallet.svg @@ -1,12 +1,5 @@ - - - - - - - - - - - + + + + diff --git a/packages/icons/src/lib/svgs/whale.svg b/packages/icons/src/lib/svgs/whale.svg index 25cf9243d..8b1449760 100644 --- a/packages/icons/src/lib/svgs/whale.svg +++ b/packages/icons/src/lib/svgs/whale.svg @@ -1,3 +1,3 @@ - - + + diff --git a/packages/icons/src/lib/svgs/withdraw.svg b/packages/icons/src/lib/svgs/withdraw.svg index bd084d50a..a09161d29 100644 --- a/packages/icons/src/lib/svgs/withdraw.svg +++ b/packages/icons/src/lib/svgs/withdraw.svg @@ -1,3 +1,3 @@ - - + +