Skip to content

Commit

Permalink
fix: eth icon & dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HzDev3628 committed May 17, 2024
1 parent 2147020 commit 5b7ef94
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 189 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Crypto Icons

![Preview icons](https://maroon-spare-jay-600.mypinata.cloud/ipfs/QmfFq8eRkVqpnQZUFgvC27kKZfZ9we88fbKZ1WtP2j1gbx)
![Preview icons](https://maroon-spare-jay-600.mypinata.cloud/ipfs/QmYY6ZQ9u7xBtUUAghv8BRrjWTJbJmR7kNeu4ZHkqGXYZK)

## How to use ?
### Simple example with TailwindCSS:
Expand Down
88 changes: 3 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "crypto-icons-svg",
"description": "All available crypto icons in the format JSX.Element which weigh little but are very high quality and easy to use.",
"private": false,
"version": "1.4.2",
"version": "1.4.3",
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -41,7 +41,6 @@
"@types/node": "^20.12.12",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^8.57.0",
Expand Down
106 changes: 53 additions & 53 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,59 @@
function App() {
return null
// return (
// <div className={style.container}>
// <icons.OrderlyIcon />
// <icons.HorizenIcon />
// <icons.ArbitrumIcon />
// <icons.ArbitrumNovaIcon />
// <icons.AstarIcon />
// <icons.AuroraIcon />
// <icons.AvalancheIcon />
// <icons.BaseIcon />
// <icons.BeamIcon />
// <icons.BlastIcon />
// <icons.BscIcon />
// <icons.CeloIcon />
// <icons.ConfluxIcon />
// <icons.CoreDaoIcon />
// <icons.EthIcon />
// <icons.FantomIcon />
// <icons.FuseIcon />
// <icons.GnosisIcon />
// <icons.HarmonyIcon />
// <icons.KavaIcon />
// <icons.KlaytnIcon />
// <icons.LineaIcon />
// <icons.MantaIcon />
// <icons.MantleIcon />
// <icons.MeterIcon />
// <icons.MetisIcon />
// <icons.ModeIcon />
// <icons.MoonbeamIcon />
// <icons.MoonriverIcon />
// <icons.OkexIcon />
// <icons.OpBnbIcon />
// <icons.OptimismIcon />
// <icons.PolygonZkIcon />
// <icons.PolygonIcon />
// <icons.RariIcon />
// <icons.ScrollIcon />
// <icons.ShimmerEvmIcon />
// <icons.TelosIcon />
// <icons.TenetIcon />
// <icons.VictionIcon />
// <icons.XplaIcon />
// <icons.ZkIcon />
// <icons.ZoraIcon />
// <icons.AptosIcon />
// <icons.BtcIcon />
// <icons.CoinbaseIcon />
// <icons.DogeCoinIcon />
// <icons.JupiterIcon />
// <icons.SolanaIcon />
// <icons.UsdcIcon />
// <icons.UsdtIcon />
// </div>
// <div className={style.container}>
// <icons.OrderlyIcon />
// <icons.HorizenIcon />
// <icons.ArbitrumIcon />
// <icons.ArbitrumNovaIcon />
// <icons.AstarIcon />
// <icons.AuroraIcon />
// <icons.AvalancheIcon />
// <icons.BaseIcon />
// <icons.BeamIcon />
// <icons.BlastIcon />
// <icons.BscIcon />
// <icons.CeloIcon />
// <icons.ConfluxIcon />
// <icons.CoreDaoIcon />
// <icons.EthIcon />
// <icons.FantomIcon />
// <icons.FuseIcon />
// <icons.GnosisIcon />
// <icons.HarmonyIcon />
// <icons.KavaIcon />
// <icons.KlaytnIcon />
// <icons.LineaIcon />
// <icons.MantaIcon />
// <icons.MantleIcon />
// <icons.MeterIcon />
// <icons.MetisIcon />
// <icons.ModeIcon />
// <icons.MoonbeamIcon />
// <icons.MoonriverIcon />
// <icons.OkexIcon />
// <icons.OpBnbIcon />
// <icons.OptimismIcon />
// <icons.PolygonZkIcon />
// <icons.PolygonIcon />
// <icons.RariIcon />
// <icons.ScrollIcon />
// <icons.ShimmerEvmIcon />
// <icons.TelosIcon />
// <icons.TenetIcon />
// <icons.VictionIcon />
// <icons.XplaIcon />
// <icons.ZkIcon />
// <icons.ZoraIcon />
// <icons.AptosIcon />
// <icons.BtcIcon />
// <icons.CoinbaseIcon />
// <icons.DogecoinIcon />
// <icons.JupiterIcon />
// <icons.SolanaIcon />
// <icons.UsdcIcon />
// <icons.UsdtIcon />
// </div>
// )
}

Expand Down
102 changes: 54 additions & 48 deletions src/icons-tsx/eth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,60 +3,66 @@ import type { SVGProps } from 'react'
export const EthIcon = (props: SVGProps<SVGSVGElement>) => {
return (
<svg
width="132"
height="132"
viewBox="0 0 132 132"
width="133"
height="133"
viewBox="0 0 133 133"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g clip-path="url(#clip0_2019_2777)">
<mask
id="mask0_2019_2777"
maskUnits="userSpaceOnUse"
x="0"
y="0"
width="132"
height="132"
>
<path d="M132 0H0V132H132V0Z" fill="white" />
</mask>
<g mask="url(#mask0_2019_2777)">
<path
d="M65.9312 131.916V98.8393L24.9639 74.9126L65.9312 131.916Z"
fill="#F0CDC2"
/>
<path
d="M66.0684 131.916V98.8393L107.031 74.9126L66.0684 131.916Z"
fill="#C9B3F5"
/>
<path
d="M65.931 90.6229V48.4072L24.499 66.9388L65.931 90.6229Z"
fill="#88AAF1"
/>
<path
d="M66.0684 90.6229V48.4072L107.5 66.9388L66.0684 90.6229Z"
fill="#C9B3F5"
/>
<path
d="M24.499 66.9392L65.931 0.0849609V48.4076L24.499 66.9392Z"
fill="#F0CDC2"
/>
<path
d="M107.5 66.9392L66.0684 0.0849609V48.4076L107.5 66.9392Z"
fill="#B8FAF6"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M66.0699 0.00196013C66.0705 0.00195078 66.0694 0.0019508 66.0699 0.00196013H65.9324C65.9335 0.0019508 65.9319 0.00195078 65.9324 0.00196013H-0.0771484V132.004H132.083V0.00196013H66.0699ZM65.7834 0.167016H0.0881051V131.838H65.7746L24.8969 74.9605C24.8741 74.9292 24.8767 74.8857 24.903 74.8571C24.9292 74.828 24.9721 74.8219 25.0058 74.8412L65.9731 98.7678C65.9841 98.7744 65.9935 98.7832 66.0001 98.7931C66.0072 98.7832 66.016 98.7744 66.027 98.7678L106.989 74.8412C107.023 74.8219 107.066 74.828 107.092 74.8571C107.119 74.8857 107.121 74.9292 107.098 74.9605L66.2261 131.838H131.918V0.167016H66.2173L107.571 66.8953C107.583 66.9146 107.587 66.9377 107.581 66.9591C107.576 66.9806 107.561 66.9993 107.542 67.0103L66.1101 90.6944C66.0842 90.7092 66.0529 90.7092 66.0276 90.6944C66.0166 90.6878 66.0072 90.679 66.0001 90.6691C65.9935 90.679 65.9841 90.6878 65.9731 90.6944C65.9473 90.7092 65.9159 90.7092 65.8906 90.6944L24.4583 67.0103C24.4389 66.9993 24.4248 66.9806 24.4193 66.9591C24.4138 66.9377 24.4174 66.9146 24.4291 66.8953L65.7834 0.167016ZM65.8488 0.374613L24.7113 66.7534L65.8488 48.3537V0.374613ZM65.8488 48.5345L24.6815 66.9476L65.8488 90.4804V48.5345ZM66.1513 0.374613V48.3537L107.289 66.7534L66.1513 0.374613ZM107.319 66.9476L66.1513 48.5345V90.4804L107.319 66.9476ZM66.1513 131.659L106.737 75.18L66.1513 98.8866V131.659ZM65.8488 131.659V98.8866L25.2577 75.18L65.8488 131.659Z"
fill="#1616B4"
/>
</g>
<g clip-path="url(#clip0_201_2)">
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2402 0C79.3927 0 92.2498 3.90016 103.186 11.2073C114.122 18.5144 122.645 28.9003 127.678 41.0516C132.711 53.2028 134.028 66.5738 131.462 79.4735C128.897 92.3732 122.563 104.222 113.263 113.523C103.963 122.823 92.1135 129.156 79.2137 131.722C66.314 134.288 52.9431 132.971 40.7918 127.938C28.6405 122.905 18.2546 114.381 10.9475 103.445C3.64039 92.5096 -0.259766 79.6525 -0.259766 66.5C-0.259766 48.8631 6.74646 31.9486 19.2176 19.4774C31.6888 7.00623 48.6033 0 66.2402 0V0Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2401 14.2793L83.7357 40.4198L101.231 66.5664L66.2401 84.195L31.249 66.4999L48.7446 40.3533L66.2401 14.2793ZM66.2401 91.2379L33.1896 73.6033L66.2401 118.721L99.2906 73.6033L66.2401 91.2379Z"
fill="#343434"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2402 14.2793L83.7358 40.3533L101.231 66.4999L66.2402 53.2906V14.2793Z"
fill="#343434"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2402 91.2381L99.3572 73.6035L66.2402 118.787V91.2381Z"
fill="#313131"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2402 53.291L101.231 66.5003L66.2402 84.1289V53.291Z"
fill="#151515"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2401 14.2793L48.7446 40.3533L31.249 66.4999L66.2401 53.2906V14.2793Z"
fill="#8C8C8C"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.24 91.2381L33.1895 73.6035L66.24 118.787V91.2381Z"
fill="#8A8A8A"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M66.2401 53.291L31.249 66.5003L66.2401 84.1289V53.291Z"
fill="#353535"
/>
</g>
<defs>
<clipPath id="clip0_2019_2777">
<rect width="132" height="132" rx="66" fill="white" />
<clipPath id="clip0_201_2">
<rect width="133" height="133" fill="white" />
</clipPath>
</defs>
</svg>
Expand Down

0 comments on commit 5b7ef94

Please sign in to comment.