Skip to content

Commit 112fda0

Browse files
authored
fix(ui): small fix for unitBitcoinIcon (#2519)
1 parent dbdcf66 commit 112fda0

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

src/assets/icons/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ export const backspaceIcon = (color = 'white'): string => `
3030
export const backupIcon = (color = 'white'): string => `
3131
<svg fill="none" viewBox="0 0 32 33"><rect width="32" height="32" y=".5" fill="${color}" fill-opacity=".1" rx="16"/><path fill="${color}" d="M16 22a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11" opacity=".2"/><path fill="${color}" fill-rule="evenodd" d="M16 13a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5" clip-rule="evenodd"/><path fill="${color}" fill-rule="evenodd" d="M15.567 16.25a.5.5 0 0 1 .683-.183l2.598 1.5a.5.5 0 0 1-.5.866l-2.598-1.5a.5.5 0 0 1-.183-.683M9.99 11.732a.5.5 0 0 1 .5.5v2h2a.5.5 0 1 1 0 1h-2.5a.5.5 0 0 1-.5-.5v-2.5a.5.5 0 0 1 .5-.5" clip-rule="evenodd"/><path fill="${color}" fill-rule="evenodd" d="M14.83 10.615a6 6 0 1 1-3.072 10.128.5.5 0 0 1 .707-.707 5 5 0 1 0 0-7.072l-2.122 2.122a.5.5 0 1 1-.707-.707l2.122-2.122a6 6 0 0 1 3.072-1.642" clip-rule="evenodd"/></svg>`;
3232

33-
export const bitcoinIcon = (color = 'white'): string => `
34-
<svg viewBox="0 0 8 14"><path fill="${color}" d="M.338 12.009h1.545v1.282h.828v-1.282h1.055v1.282h.82v-1.297c1.94-.124 3.076-1.164 3.076-2.834v-.015c0-1.318-.9-2.27-2.3-2.424v-.059C6.38 6.487 7.164 5.527 7.164 4.45v-.014c0-1.414-1.003-2.388-2.578-2.534V.598h-.82V1.88H2.71V.598h-.828V1.88H.338zm1.604-5.793V3.198h1.816c1.165 0 1.81.52 1.81 1.45v.015c0 1.003-.748 1.553-2.14 1.553zm0 4.475V7.468h1.802c1.545 0 2.263.513 2.263 1.582v.015c0 1.076-.71 1.626-2.168 1.626z"/></svg>`;
35-
3633
export const bitcoinCircleIcon = (color = 'white'): string => `
3734
<svg viewBox="0 0 32 32"><path fill="${color}" d="M31.521 19.788c-2.138 8.512-10.82 13.693-19.393 11.57C3.558 29.236-1.659 20.614.479 12.102 2.616 3.59 11.3-1.592 19.87.53c8.572 2.123 13.79 10.745 11.652 19.258"/><path fill="#fff" d="M23.052 13.681c.319-2.115-1.303-3.25-3.52-4.01l.72-2.863-1.756-.435-.7 2.789a72 72 0 0 0-1.407-.329l.705-2.807-1.754-.435-.72 2.864a59 59 0 0 1-1.121-.262l.002-.008-2.421-.6-.467 1.861s1.302.297 1.274.315c.711.176.84.644.818 1.014l-.819 3.263q.077.017.183.058l-.185-.046-1.148 4.57c-.088.215-.308.537-.805.415.018.025-1.277-.316-1.277-.316l-.87 1.995 2.284.566c.424.105.841.216 1.251.32l-.726 2.897 1.754.435.72-2.866q.718.193 1.399.36l-.717 2.853 1.755.435.727-2.892c2.994.563 5.245.336 6.192-2.353.764-2.165-.037-3.414-1.612-4.228 1.146-.263 2.01-1.012 2.241-2.56m-4.01 5.586c-.544 2.165-4.214.995-5.405.7l.964-3.837c1.19.295 5.007.879 4.44 3.137m.542-5.617c-.495 1.97-3.55.968-4.541.723l.873-3.48c.991.245 4.183.703 3.668 2.757"/></svg>`;
3835

@@ -277,14 +274,11 @@ export const unifiedCircleIcon = (color = 'white'): string => `
277274
<svg viewBox="0 0 51 51"><rect width="50" height="50" y=".5" fill="#F40" rx="25"/><path fill="#B95CE8" d="M18.952 49.757 25 25.5l6.048-24.258c13.397 3.34 21.55 16.909 18.21 30.306-3.341 13.397-16.91 21.55-30.306 18.21"/><path fill="#fff" d="M34.322 22.248c.422-2.826-1.729-4.344-4.67-5.358l.954-3.827-2.33-.58-.928 3.726a96 96 0 0 0-1.867-.44l.935-3.75-2.327-.582-.955 3.827a78 78 0 0 1-1.488-.35l.002-.011-3.212-.802-.62 2.488s1.729.396 1.692.42c.944.236 1.114.86 1.085 1.356l-1.086 4.36c.065.017.149.04.242.078l-.246-.061-1.523 6.108c-.116.286-.409.717-1.068.553.024.034-1.694-.422-1.694-.422l-1.155 2.666 3.03.756c.564.141 1.117.289 1.661.428l-.963 3.872 2.326.58.955-3.83q.952.258 1.857.482l-.951 3.812 2.33.581.963-3.864c3.973.752 6.96.448 8.216-3.145 1.014-2.893-.05-4.562-2.14-5.65 1.522-.351 2.67-1.353 2.975-3.42M29 29.713c-.72 2.893-5.59 1.33-7.17.937l1.28-5.129c1.578.394 6.642 1.174 5.89 4.192m.72-7.507c-.657 2.632-4.71 1.295-6.026.967l1.16-4.651c1.315.328 5.55.94 4.866 3.685"/></svg>`;
278275

279276
export const unitBitcoinIcon = (color = 'white'): string => `
280-
<svg fill="none" viewBox="0 0 32 32"><rect width="32" height="32" fill="${color}" fill-opacity=".1" rx="16"/><path fill="${color}" d="M13.668 10.97V9h.873v1.97zm1.99 0V9h.887v1.97zM13.668 23v-1.97h.873V23zm1.99 0v-1.97h.887V23zM11.5 21.602V10.399h4.41q1.212 0 2.026.368.815.368 1.22 1.015.415.646.415 1.489 0 .655-.266 1.15a2.24 2.24 0 0 1-.71.812q-.444.315-1.021.444v.113a2.51 2.51 0 0 1 2.078 1.293q.348.595.348 1.42 0 .888-.436 1.595-.43.699-1.273 1.105-.844.399-2.086.399zm2.323-1.933h1.909q.969 0 1.413-.383.45-.384.45-1.015a1.51 1.51 0 0 0-.843-1.384q-.406-.203-.969-.203h-1.96zm0-4.579h1.731q.48 0 .85-.173.378-.173.593-.488.214-.324.214-.767 0-.602-.422-.97-.414-.375-1.19-.376h-1.776z"/></svg>`;
277+
<svg fill="none" viewBox="0 0 32 32"><rect width="32" height="32" fill="#fff" fill-opacity=".1" rx="16"/><path fill="${color}" d="M13.668 10.97V9h.873v1.97zm1.99 0V9h.887v1.97zM13.668 23v-1.97h.873V23zm1.99 0v-1.97h.887V23zM11.5 21.602V10.399h4.41q1.212 0 2.026.368.815.368 1.22 1.015.415.646.415 1.489 0 .655-.266 1.15a2.24 2.24 0 0 1-.71.812q-.444.315-1.021.444v.113a2.51 2.51 0 0 1 2.078 1.293q.348.595.348 1.42 0 .888-.436 1.595-.43.699-1.273 1.105-.844.399-2.086.399zm2.323-1.933h1.909q.969 0 1.413-.383.45-.384.45-1.015a1.51 1.51 0 0 0-.843-1.384q-.406-.203-.969-.203h-1.96zm0-4.579h1.731q.48 0 .85-.173.378-.173.593-.488.214-.324.214-.767 0-.602-.422-.97-.414-.375-1.19-.376h-1.776z"/></svg>`;
281278

282279
export const unitFiatIcon = (color = 'white'): string => `
283280
<svg fill="none" viewBox="0 0 32 32"><rect width="32" height="32" fill="#fff" fill-opacity=".1" rx="16"/><g fill="${color}"><path d="M16 22a6 6 0 1 0 0-12 6 6 0 0 0 0 12" opacity=".2"/><path fill-rule="evenodd" d="M16 10.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11M9.5 16a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0" clip-rule="evenodd"/><path fill-rule="evenodd" d="M9.842 14a.5.5 0 0 1 .5-.5h11.316a.5.5 0 0 1 0 1H10.342a.5.5 0 0 1-.5-.5M9.842 18a.5.5 0 0 1 .5-.5h11.316a.5.5 0 0 1 0 1H10.342a.5.5 0 0 1-.5-.5" clip-rule="evenodd"/><path fill-rule="evenodd" d="M14.692 12.068c-.42.98-.692 2.37-.692 3.932s.272 2.951.692 3.932c.21.491.448.857.686 1.092.237.234.446.315.622.315s.386-.081.622-.315c.238-.235.476-.6.686-1.092.42-.98.692-2.37.692-3.932s-.272-2.951-.692-3.932c-.21-.491-.448-.857-.686-1.092-.236-.234-.446-.315-.622-.315s-.385.081-.622.315c-.238.235-.476.6-.686 1.092m-.016-1.804c.361-.357.81-.603 1.324-.603s.963.246 1.325.603c.36.356.66.845.902 1.41.485 1.133.773 2.663.773 4.326s-.288 3.193-.773 4.326c-.242.565-.543 1.054-.903 1.41-.361.357-.81.603-1.324.603s-.963-.246-1.324-.603c-.36-.356-.661-.845-.903-1.41C13.288 19.193 13 17.663 13 16s.288-3.193.773-4.326c.242-.565.543-1.054.902-1.41" clip-rule="evenodd"/></g></svg>`;
284281

285-
export const unitSatoshiIcon = (color = 'white'): string => `
286-
<svg viewBox="0 0 32 32"><rect width="32" height="32" fill="#fff" fill-opacity=".1" rx="16"/><path fill="${color}" d="M11.998 17.235h3.696l-1.935 4.997c-.274.687.466 1.055.94.494l5.96-7.083c.112-.139.174-.271.174-.422 0-.265-.211-.458-.497-.458H16.64l1.935-4.998c.267-.687-.467-1.048-.94-.494l-5.96 7.083a.63.63 0 0 0-.175.422c0 .265.212.459.498.459"/></svg>`;
287-
288282
export const upArrowIcon = (color = 'white'): string => `
289283
<svg viewBox="0 0 32 32"><g fill="${color}" fill-rule="evenodd" clip-rule="evenodd"><path d="M16 4a1 1 0 0 1 1 1v22a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1"/><path d="M15.293 4.293a1 1 0 0 1 1.414 0l9 9a1 1 0 0 1-1.414 1.414L16 6.414l-8.293 8.293a1 1 0 0 1-1.414-1.414z"/></g></svg>`;
290284

src/assets/svgs/raw/bitcoin.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/assets/svgs/raw/unitSatoshi.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)