Remove the build system and move website to separate repo

Fixes #146
Fixes #141
This commit is contained in:
Sindre Sorhus 2018-07-20 01:48:36 +07:00
parent 01c35d47f4
commit 670d9ff4d9
21 changed files with 433 additions and 12662 deletions

1
CNAME
View File

@ -1 +0,0 @@
cryptoicons.co

View File

@ -1,336 +0,0 @@
# Coin List
###### As of 2018-06-25 — [http://cryptoicons.co](http://cryptoicons.co)
Symbol | Name
---------|---------
$pac | PACcoin
abt | Arcblock
act | Achain
ada | Cardano
adx | AdEx
ae | Aeternity
agi | SingularityNET
agrs | Agoras Token
aion | Aion
amb | Ambrosus
amp | Synereo
ant | Aragon
apex | Apex
appc | AppCoins
ardr | Ardor
ark | Ark
arn | Aeron
ary | BlockArray
ast | AirSwap
atm | ATMChain
auto | Cube
bat | Basic Attention Token
bay | BitBay
bcbc | Bitcoin@CBC
bcc | BitConnect
bcd | Bitcoin Diamond
bch | Bitcoin Cash
bcn | Bytecoin
bco | BridgeCoin
bcpt | BlockMason Credit Protocol
bdl | Bitdeal
bela | Bela
bix | Bibox Token
blcn | BlockCoin
blk | BlackCoin
block | Blocknet
blz | Bluzelle
bnb | Binance Coin
bnt | Bancor
bnty | Bounty0x
bos | Boscoin
bpt | Blockport
bq | bitqy
brd | Bread
btc | Bitcoin
btcd | BitcoinDark
btcp | Bitcoin Private
btcz | BitcoinZ
btg | Bitcoin Gold
btm | Bytom
bts | BitShares
btx | Bitcore
burst | Burst
cdn | Canada eCoin
cdt | Blox
cennz | Centrality
chat | OpenChat
chips | Chips
cix | Cryptonetix
clam | Clams
cloak | CloakCoin
cmt | CyberMiles
cnd | Cindicator
cnx | Cryptonex
cny | Chinese Renminbi (Fiat)
cob | Cobinhood
coqui | Coquicash
cred | Verify
crpt | Crypterium
crw | Crown Project
cs | Credits
ctr | Centra
cvc | Civic
dash | Dash
dat | Datum
data | Streamr DATAcoin
dbc | DeepBrain Chain
dcn | Dentacoin
dcr | Decred
deez | DeezNuts
dent | Dent
dew | DEW
dgb | DigiByte
dgd | DigixDAO
dlt | Agrello
dnr | Denarius
dnt | district0x
doge | Dogecoin
drgn | Dragonchain
dta | DATA
dtr | Dynamic Trading Rights
ebst | eBoost
eca | Electra
edg | Edgeless
edo | Eidoo
edoge | EtherDoge
ela | Elastos
elf | aelf
elix | Elixir
ella | Ellaism
emc | Emercoin
emc2 | Einsteinium
eng | Enigma
enj | Enjin Coin
eos | EOS
eql | Equaliser
equa | EquaCoin
etc | Ethereum Classic
eth | Ethereum
ethos | Ethos
etn | Electroneum
etp | Metaverse ETP
eur | Euro (Fiat)
evx | Everex
exmo | EXMO Coin [Future]
exp | Expanse
fair | FairCoin
fct | Factom
fil | Filecoin [Future]
fldc | FoldingCoin
flo | FlorinCoin
fsc | Fusion
ftc | Feathercoin
fuel | Etherparty
fun | FunFair
game | GameCredits
gas | Gas
gbp | Great Britain Pound (Fiat)
gbx | GoByte
gbyte | Byteball Bytes
generic | Placeholder (Missing) Coin
gno | Gnosis
gnt | Golem
grc | GridCoin
grs | Groestlcoin
gto | Gifto
gup | Matchpool
gvt | Genesis Vision
gxs | GXChain
hpb | High Performance Blockchain
hsr | Hshare
html | HTMLCOIN
huc | HunterCoin
hush | Hush
icn | Iconomi
icx | ICON
ignis | Ignis
ink | Ink
ins | INS Ecosystem
ion | ION
iop | Internet of People
iost | IOStoken
itc | IOT Chain
jnt | Jibrel Network
jpy | Japanese Yen (Fiat)
kcs | KuCoin Shares
kin | Kin
kmd | Komodo
knc | Kyber Network
krb | Karbo
lbc | LBRY Credits
lend | ETHLend
link | ChainLink
lkk | Lykke
lrc | Loopring
lsk | Lisk
ltc | Litecoin
lun | Lunyr
maid | MaidSafeCoin
mana | Decentraland
mcap | MCAP
mco | Monaco
mda | Moeda Loyalty Points
mds | MediShares
med | MediBloc
miota | IOTA
mith | Mithril
mkr | Maker
mln | Melon
mnx | MinexCoin
mnz | Monaize
mod | Modum
mona | MonaCoin
mth | Monetha
mtl | Metal
music | Musicoin
mzc | MAZA
nano | Nano
nas | Nebulas
nav | NavCoin
ndz | Nodez [Future]
nebl | Neblio
neo | NEO
neos | NeosCoin
ngc | NAGA
nio | Autonio
nlc2 | NoLimitCoin
nlg | Gulden
nmc | Namecoin
nuls | Nuls
nxs | Nexus
nxt | Nxt
oax | OAX
omg | OmiseGO
omni | Omni
ont | Ontology
oot | Utrum
ost | Simple Token
ox | OX Fina
part | Particl
pasl | Pascal Lite
pay | TenX
pink | PinkCoin
pirl | Pirl
pivx | PIVX
plr | Pillar
poa | POA Network Token
poe | Po.et
poly | Polymath
pot | PotCoin
powr | Power Ledger
ppc | Peercoin
ppp | PayPie
ppt | Populous
prl | Oyster
pura | Pura
qash | QASH
qiwi | QIWI
qlc | QLINK
qrl | Quantum Resistant Ledger
qsp | Quantstamp
qtum | Qtum
r | Revain
rads | Radium
rcn | Ripio Credit Network
rdd | ReddCoin
rdn | Raiden Network Token
rep | Augur
req | Request Network
rhoc | RChain
ric | Riecoin
rise | Rise
rlc | iExec RLC
rpx | Red Pulse
rub | Russian Ruble (Fiat)
rvn | Ravencoin
salt | SALT
san | Santiment Network Token
sbd | Steem Dollars
sberbank | Sberbank
sc | Siacoin
sky | Skycoin
slr | Solarcoin
sls | SaluS
smart | SmartCash
sngls | SingularDTV
snm | SONM
snt | Status
spank | SpankChain
sphtx | SophiaTX
srn | SIRIN LABS Token
start | Startcoin
steem | Steem
storj | Storj
storm | Storm
strat | Stratis
sub | Substratum
sumo | Sumokoin
sys | Syscoin
taas | TaaS
tau | Lamden
tel | Telcoin
ten | Tokenomy
theta | Theta Token
tix | Blocktix
tkn | TokenCard
tnb | Time New Bank
tnc | Trinity Network Credit
tnt | Tierion
trig | Triggers
trx | TRON
tzc | TrezarCoin
ubq | Ubiq
unity | SuperNET
usd | United States Dollar (Fiat)
usdt | Tether
utk | UTRUST
ven | VeChain
veri | Veritaseum
via | Viacoin
vib | Viberate
vibe | VIBE
vivo | VIVO
vrc | VeriCoin
vtc | Vertcoin
wabi | WaBi
wan | Wanchain
waves | Waves
wax | WAX
wgr | Wagerr
wings | Wings
wpr | WePower
wtc | Waltonchain
xas | Asch
xbc | Bitcoin Plus
xby | XTRABYTES
xcp | Counterparty
xdn | DigitalNote
xem | NEM
xlm | Stellar
xmg | Magi
xmr | Monero
xmy | Myriad
xp | Experience Points
xpa | XPA
xpm | Primecoin
xrp | Ripple
xtz | Tezos (Pre-Launch)
xuc | Exchange Union
xvc | Vcash
xvg | Verge
xzc | ZCoin
yoyow | YOYOW
zcl | ZClassic
zec | Zcash
zel | Zelcash
zen | ZenCash
zil | Zilliqa
zilla | ChainZilla
zrx | 0x

View File

@ -1,9 +1,121 @@
# License
Creative Commons Legal Code
All icons are licensed under the **Creative Commons Zero (CC0) license**. This means the icons are completely free to be used for any legal purpose.
CC0 1.0 Universal
- The icons are **free** for personal and even for commercial use.
- You can modify, copy and distribute the icons.
- All without asking for permission or setting a link to the source. So, **attribution is not required**.
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
The CC0 license was released by the non-profit organization Creative Commons (CC). Get more information about Creative Commons images and the license on the [official license page](https://creativecommons.org/publicdomain/zero/1.0/).
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

View File

@ -13,16 +13,7 @@ If there is an altcoin youre looking for that hasnt been included, please
$ npm install cryptocurrency-icons
```
You can then import the icons from `./node_modules/cryptocurrency-icons/dist`, for example `./node_modules/cryptocurrency-icons/dist/svg/color/kmd.svg`.
## Building 🛠
The build system requires Node.js to be installed on your system.
```
$ npm install && npm run build
```
You can then import the icons from `./node_modules/cryptocurrency-icons`, for example `./node_modules/cryptocurrency-icons/svg/color/kmd.svg`.
## Special Thanks 👏

View File

@ -1,58 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>cryptocurrency-icons example build usage</title>
<link rel="stylesheet" href="dist/cryptocurrency-icons-32-black.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-32-color.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-32-icon.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-32-white.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-128-black.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-128-color.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-128-icon.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-128-white.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-svg-black.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-svg-color.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-svg-icon.css">
<link rel="stylesheet" href="dist/cryptocurrency-icons-svg-white.css">
</head>
<body id="home">
<table>
<tr>
<th></th>
<th> Black </th>
<th> Color </th>
<th> Icon </th>
<th> White </th>
</tr>
<tr>
<th> 32 </th>
<td><div class="crypto-icon-32 crypto-icon-32-black crypto-icon-32-black-btc"> </div></td>
<td><div class="crypto-icon-32 crypto-icon-32-color crypto-icon-32-color-btc"> </div></td>
<td><div class="crypto-icon-32 crypto-icon-32-icon crypto-icon-32-icon-btc"> </div></td>
<td><div style="background-color: black" class="crypto-icon-32 crypto-icon-32-white crypto-icon-32-white-btc"> </div></td>
</tr>
<tr>
<th> 128 </th>
<td><div class="crypto-icon-128 crypto-icon-128-black crypto-icon-128-black-btc"> </div></td>
<td><div class="crypto-icon-128 crypto-icon-128-color crypto-icon-128-color-btc"> </div></td>
<td><div class="crypto-icon-128 crypto-icon-128-icon crypto-icon-128-icon-btc"> </div></td>
<td><div style="background-color: black" class="crypto-icon-128 crypto-icon-128-white crypto-icon-128-white-btc"> </div></td>
</tr>
<tr>
<th> css svg </th>
<td><div class="crypto-icon-128 crypto-icon-svg-black crypto-icon-svg-black-btc"> </div></td>
<td><div class="crypto-icon-128 crypto-icon-svg-color crypto-icon-svg-color-btc"> </div></td>
<td><div class="crypto-icon-128 crypto-icon-svg-icon crypto-icon-svg-icon-btc"> </div></td>
<td><div style="background-color: black" class="crypto-icon-128 crypto-icon-svg-white crypto-icon-svg-white-btc"> </div></td>
</tr>
<tr>
<th> xlink svg </th>
<td><svg class="crypto-icon-128" role="img"><use xlink:href="dist/cryptocurrency-icons-black.svg#agi"> </use></svg></td>
<td><svg class="crypto-icon-128" role="img"><use xlink:href="dist/cryptocurrency-icons-color.svg#agi"> </use></svg></td>
<td><svg class="crypto-icon-128" role="img"><use xlink:href="dist/cryptocurrency-icons-icon.svg#agi"> </use></svg></td>
<td><svg style="background-color: black" class="crypto-icon-128" role="img"><use xlink:href="dist/cryptocurrency-icons-white.svg#agi"> </use></svg></td>
</tr>
</table>
</body>
</html>

2050
css/bootstrap-grid.css vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,330 +0,0 @@
/*!
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: transparent;
}
@-ms-viewport {
width: device-width;
}
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
display: block;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: .5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
dfn {
font-style: italic;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -.25em;
}
sup {
top: -.5em;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
-webkit-text-decoration-skip: objects;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg:not(:root) {
overflow: hidden;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: .5rem;
}
button {
border-radius: 0;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: .5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
/*# sourceMappingURL=bootstrap-reboot.css.map */

View File

@ -1,8 +0,0 @@
/*!
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */

8976
css/bootstrap.css vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,161 +0,0 @@
/* Search control */
.form-control.search {
margin: 0 auto;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-opacity='.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'><circle cx='11' cy='11' r='8'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>");
background-repeat: no-repeat;
background-position: 1rem center;
background-size: 24px auto;
padding-left: 3rem;
padding-right: 2rem;
border-radius: 2rem
}
.close-search {
width: 18px;
height: 24px;
display: block;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x-circle'><circle cx='12' cy='12' r='10'></circle><line x1='15' y1='9' x2='9' y2='15'></line><line x1='9' y1='9' x2='15' y2='15'></line></svg>");
background-repeat: no-repeat;
background-position: center center;
background-size: 100% auto;
float: right;
margin-top: -36px;
margin-right: 20px;
cursor: pointer
}
.close-search:hover {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x-circle'><circle cx='12' cy='12' r='10'></circle><line x1='15' y1='9' x2='9' y2='15'></line><line x1='9' y1='9' x2='15' y2='15'></line></svg>")
}
/* Icons list: Grid */
.icons {
margin-right: -10px;
margin-left: -10px
}
.col-6,.col-lg-3,.col-sm-4,.col-xl-2 {
padding-right: 10px;
padding-left: 10px;
margin-bottom: 20px
}
/* Icons list: Format */
.icon .container-img {
flex: 0 0 32px;
max-width: 32px;
margin-right: .75rem
}
.icon .name {
font-weight: 600;
line-height: 1.2rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
.icon .symbol {
display: block
}
.icon a,.icon span.placeholder {
border-radius: .6rem;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
transition: all .1s ease-in-out
}
.icon a img {
width: 32px;
height: auto;
display: block;
float: left
}
/* Icons list: Hover state */
.icon a:hover {
background-color: #fff!important;
box-shadow: 0 0 0 1px rgba(0,0,0,.05),0 5px 15px rgba(0,0,0,.15);
text-decoration: none;
margin-top: -4px;
}
/*View More Icon*/
.icon a:hover .row::after {
content: " ";
width: 18px;
height: 18px;
margin-right: 1rem;
float: right;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-plus-circle'><circle cx='12' cy='12' r='10'></circle><line x1='12' y1='8' x2='12' y2='16'></line><line x1='8' y1='12' x2='16' y2='12'></line></svg>");
background-repeat: no-repeat;
background-position: center center;
background-size: 100% auto
}
/* Icons list: Placeholder */
.placeholder {
animation-duration: 2s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-name: backgroundLoading;
animation-timing-function: linear;
background: linear-gradient(to right,#f8f9fa 8%,#fff 18%,#f8f9fa 33%);
background-size: 500px 500px
}
@keyframes backgroundLoading {
0%{
background-position: -500px 0
}
100%{
background-position: 500px 0
}
}
/* Modal */
.modal-backdrop.show {
opacity: .8;
}
.modal-body {
padding: 0;
border-radius: .3rem!important
}
/* Infos icon */
.info-icon {
width: 100%
}
.info-icon td,.info-icon th {
padding: 1.5rem
}
.info-icon thead th {
border-top: none;
border-bottom-width: 1px;
border-bottom-color: rgba(127, 127, 127, 0.1);
}
.info-icon .variant-white {
background-color: #1E1E1E!important;
}
.info-icon .format-128 img,.info-icon .format-svg img {
width: 100%;
height: auto
}
.info-icon .format-svg img {
max-width: 48px
}
.info-icon .format-128 img {
max-width: 128px
}
.info-icon .format-32-2x img {
width: 32px;
height: auto
}

1
css/main.min.css vendored
View File

@ -1 +0,0 @@
.form-control.search{margin:0 auto;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-opacity='.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'><circle cx='11' cy='11' r='8'></circle><line x1='21' y1='21' x2='16.65' y2='16.65'></line></svg>");background-repeat:no-repeat;background-position:1rem center;background-size:24px auto;padding-left:3rem;padding-right:2rem;border-radius:2rem}.close-search{width:18px;height:24px;display:block;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x-circle'><circle cx='12' cy='12' r='10'></circle><line x1='15' y1='9' x2='9' y2='15'></line><line x1='9' y1='9' x2='15' y2='15'></line></svg>");background-repeat:no-repeat;background-position:center center;background-size:100% auto;float:right;margin-top:-36px;margin-right:20px;cursor:pointer}.close-search:hover{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x-circle'><circle cx='12' cy='12' r='10'></circle><line x1='15' y1='9' x2='9' y2='15'></line><line x1='9' y1='9' x2='15' y2='15'></line></svg>")}.icons{margin-right:-10px;margin-left:-10px}.col-6,.col-lg-3,.col-sm-4,.col-xl-2{padding-right:10px;padding-left:10px;margin-bottom:20px}.icon .container-img{flex:0 0 32px;max-width:32px;margin-right:.75rem}.icon .name{font-weight:600;line-height:1.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon .symbol{display:block}.icon a,.icon span.placeholder{border-radius:.6rem;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon a img{width:32px;height:auto;display:block;float:left}.icon a:hover{background-color:#fff!important;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 5px 15px rgba(0,0,0,.15);text-decoration:none;margin-top:-4px}.icon a:hover .row::after{content:" ";width:18px;height:18px;margin-right:1rem;float:right;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='#6c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-plus-circle'><circle cx='12' cy='12' r='10'></circle><line x1='12' y1='8' x2='12' y2='16'></line><line x1='8' y1='12' x2='16' y2='12'></line></svg>");background-repeat:no-repeat;background-position:center center;background-size:100% auto}.placeholder{animation-duration:2s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:backgroundLoading;animation-timing-function:linear;background:linear-gradient(to right,#f8f9fa 8%,#fff 18%,#f8f9fa 33%);background-size:500px 500px}@keyframes backgroundLoading{0%{background-position:-500px 0}100%{background-position:500px 0}}.modal-backdrop.show{opacity:.8}.modal-body{padding:0;border-radius:.3rem!important}.info-icon{width:100%}.info-icon td,.info-icon th{padding:1.5rem}.info-icon thead th{border-top:none;border-bottom-width:1px;border-bottom-color:rgba(127,127,127,.1)}.info-icon .variant-white{background-color:#1E1E1E!important}.info-icon .format-128 img,.info-icon .format-svg img{width:100%;height:auto}.info-icon .format-svg img{max-width:48px}.info-icon .format-128 img{max-width:128px}.info-icon .format-32-2x img{width:32px;height:auto}

View File

@ -1,13 +0,0 @@
.crypto-icon-32 {
display: inline-block;
width: 32px;
height: 32px;
background-size: cover;
}
.crypto-icon-128 {
display: inline-block;
width: 128px;
height: 128px;
background-size: cover;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

View File

@ -1,83 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Cryptocurrency Icons</title>
<!-- CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.min.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar sticky-top navbar-light bg-white nav-tabs">
<a class="navbar-brand" href="#"><img src="img/coin_icon.png" width="30" height="30" class="d-inline-block align-top mr-2" alt="">cryptoicons.co</a>
<ul class="nav justify-content-end">
<li class="nav-item"><a class="btn btn-outline-primary" href="https://github.com/atomiclabs/cryptocurrency-icons/archive/master.zip">Download</a></li>
</ul>
</nav>
<!-- Header -->
<header class="jumbotron text-center bg-white">
<img src="img/coin_icon@2x.png" width="128px" alt="Cryptocurrency Icons">
<h1>Cryptocurrency Icons</h1>
<p class="lead">A set of <span class="count-cryptos"></span> crypto and fiat currencies icons. <span class="text-muted">Completely free.</span></p>
<p class="lead mt-5">
<a class="btn btn-outline-primary btn-lg" href="https://github.com/atomiclabs/cryptocurrency-icons/">Learn more</a>
<a class="btn btn-primary btn-lg" href="https://github.com/atomiclabs/cryptocurrency-icons/archive/master.zip">Download</a>
</p>
</header>
<!-- Icon List -->
<section class="text-center mb-5">
<div class="container">
<!-- Search -->
<form class="mt-3">
<input class="form-control form-control-lg search" type="text" placeholder="Search icons">
</form>
<!-- Placeholder -->
<div class="row icons mt-5">
<div class="col-6 col-lg-4 col-xl-3 text-left icon">
<span class="placeholder bg-light d-block p-4">&nbsp;</span>
</div>
<div class="col-6 col-lg-4 col-xl-3 text-left icon">
<span class="placeholder bg-light d-block p-4">&nbsp;</span>
</div>
<div class="col-6 col-lg-4 col-xl-3 text-left icon">
<span class="placeholder bg-light d-block p-4">&nbsp;</span>
</div>
<div class="col-6 col-lg-4 col-xl-3 d-lg-none d-xl-block text-left icon">
<span class="placeholder bg-light d-block p-4">&nbsp;</span>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="text-center mt-5 mb-5">
<div class="container">
<ul class="list-inline mt-5">
<li class="list-inline-item"><a class="text-secondary" href="https://github.com/atomiclabs/cryptocurrency-icons/#license">License</a></li>
<li class="list-inline-item"><a class="text-secondary" href="https://github.com/imnotadeveloper">Site by @imnotadeveloper</a></li>
</ul>
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="infoIcon" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-body bg-white">
</div>
</div>
</div>
</div>
<!-- JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="js/main.min.js"></script>
</body>
</html>

View File

@ -1,227 +0,0 @@
$(document).ready(function() {
// ------------------------------
// Settings
// ------------------------------
var apiUrl = 'https://api.coinmarketcap.com/v1/ticker/?limit=0';
var dataJson = 'manifest.json';
var formats = ['svg', '128', '32', '32@2x'];
var variants = ['color', 'black', 'icon', 'white'];
var iconDefault = 'black';
var iconHover = 'color';
// ------------------------------
// Init search
// ------------------------------
$('form .search').on('input', function() {
search($(this));
});
$('form').submit(function( event ) {
event.preventDefault();
search($('form .search'));
});
// ------------------------------
// Get icons
// ------------------------------
// Get icons from CoinMarketCap
$.getJSON(apiUrl, function(coins){
// Get icons in manifest
$.getJSON(dataJson, function(data) {
var icons = '';
var count = 0;
data.icons.forEach(function(icon) {
// Get symbol
var coin = coins.find(function(coin){
return coin.symbol.toLowerCase() === icon;
})
// Get name
var name = coin ? coin.name : icon;
var nameAttr = name.split(' ').join('-').toLowerCase();
// Avoid duplicates
if (icons.indexOf('data-icon="' + icon + '"') === -1) {
// Construct icon
icons += '<div class="col-6 col-lg-4 col-xl-3 text-left icon">';
icons += '<a href="#' + icon + '" class="bg-light d-block pt-4 pr-3 pb-4 pl-3" data-toggle="modal" data-target="#infoIcon" data-icon="' + icon + '" data-name="' + nameAttr + '">';
icons += '<div class="row align-items-center">';
icons += '<div class="col container-img">';
icons += '<img class="mr-2" src="svg/' + iconDefault + '/' + icon + '.svg" alt="' + icon + '" onerror="error(this);">';
icons += '</div>';
icons += '<div class="col name text-dark">';
icons += name + '<span class="symbol text-muted text-uppercase small">' + icon + '</span></div>';
icons += '</div>';
icons += '</div>';
icons += '</a>';
icons += '</div>';
count++;
}
});
// Display
$('.row.icons').html(icons);
// Hover
$('.icon').hover(function() {
changeFolder($(this), iconDefault, iconHover);
});
// Mouseleave
$('.icon').mouseleave(function() {
changeFolder($(this), iconHover, iconDefault );
});
// Count icons
$('.count-cryptos').text(count);
});
});
// ------------------------------
// Functions
// ------------------------------
// Search and Replace in Image src
// ------------------------------
function changeFolder(target, search, replace) {
var target = $(target).find('img');
var srcInit = $(target).attr('src');
var srcAfter = srcInit.replace(search, replace);
$(target).attr('src', srcAfter);
}
// Display icon info in Modal
// ------------------------------
$('#infoIcon').on('show.bs.modal', function (event) {
// Modal settings
var button = $(event.relatedTarget);
var modal = $(this);
var icon = button.data('icon');
// Table settings
var infos = '';
var i = 0;
var j = 0;
// Construct table
infos += '<table class="table info-icon mb-0">';
// Construct titles
infos += '<thead>';
infos += '<tr>';
infos += '<th class="text-center text-uppercase align-middle"><h5 class="mb-0">' + icon + '</h5></th>';
while (variants[j]) {
var formatCss = formats[i].replace('@', '-');
infos += '<th class="variant-' + variants[j] + ' text-center font-weight-light text-muted align-middle">' + variants[j] + '</th>';
j++;
}
j = 0;
infos += '</tr>';
infos += '</thead>';
infos += '<tbody>';
// Construct Row
while (formats[i]) {
var formatCss = formats[i].replace('@', '-');
infos += '<tr>';
// Construct titles of row
infos += '<th class="format-' + formatCss + ' text-center font-weight-light text-muted align-middle" scope="row">' + formats[i] + '</th>';
// File extension
if (formats[i] == 'svg') {
var extension = '.svg';
}
else if (formats[i] == '32@2x') {
var extension = '@2x.png';
}
else {
var extension = '.png';
}
// Construct icons cells
while (variants[j]) {
infos += '<td class="format-' + formatCss + ' variant-' + variants[j] + ' text-center">';
infos += '<img src="' + formats[i] + '/' + variants[j] + '/' + icon + extension + '" alt="' + icon + '">';
infos += '</td>';
j++;
}
j = 0;
i++;
infos += '</tr>';
}
// Close table
infos += '</tbody>';
infos += '</table>';
// Display
modal.find('.modal-title').text(icon);
modal.find('.modal-body').html(infos);
});
// Search
// ------------------------------
function search(target) {
if ($(target).val().length > 0) {
// Filter icons
$('.icon').css('display', 'none');
$('a[data-icon*="' + $(target).val().toLowerCase() + '"]').parent().css('display', 'block');
$('a[data-name*="' + $(target).val().toLowerCase() + '"]').parent().css('display', 'block');
// Close
$('<div class="close-search"></div>').insertAfter(target);
$('.close-search').click(function() {
closeSearch(target);
});
}
else {
closeSearch(target);
}
}
// Close search
// ------------------------------
function closeSearch(target) {
$('.close-search').remove();
$('.icon').css('display', 'block');
$(target).val('');
}
});
// Hide icons on error
// ------------------------------
function error(img) {
$(img).parentsUntil('.icon').parent().remove();
}

1
js/main.min.js vendored
View File

@ -1 +0,0 @@
function error(t){$(t).parentsUntil(".icon").parent().remove()}$(document).ready(function(){function t(t,a,e){var t=$(t).find("img"),o=$(t).attr("src").replace(a,e);$(t).attr("src",o)}function a(t){$(t).val().length>0?($(".icon").css("display","none"),$('a[data-icon*="'+$(t).val().toLowerCase()+'"]').parent().css("display","block"),$('a[data-name*="'+$(t).val().toLowerCase()+'"]').parent().css("display","block"),$('<div class="close-search"></div>').insertAfter(t),$(".close-search").click(function(){e(t)})):e(t)}function e(t){$(".close-search").remove(),$(".icon").css("display","block"),$(t).val("")}var o=["svg","128","32","32@2x"],c=["color","black","icon","white"];$("form .search").on("input",function(){a($(this))}),$("form").submit(function(t){t.preventDefault(),a($("form .search"))}),$.getJSON("https://api.coinmarketcap.com/v1/ticker/?limit=0",function(a){$.getJSON("manifest.json",function(e){var o="",c=0;e.icons.forEach(function(t){var e=a.find(function(a){return a.symbol.toLowerCase()===t}),n=e?e.name:t,i=n.split(" ").join("-").toLowerCase();-1===o.indexOf('data-icon="'+t+'"')&&(o+='<div class="col-6 col-lg-4 col-xl-3 text-left icon">',o+='<a href="#'+t+'" class="bg-light d-block pt-4 pr-3 pb-4 pl-3" data-toggle="modal" data-target="#infoIcon" data-icon="'+t+'" data-name="'+i+'">',o+='<div class="row align-items-center">',o+='<div class="col container-img">',o+='<img class="mr-2" src="svg/black/'+t+'.svg" alt="'+t+'" onerror="error(this);">',o+="</div>",o+='<div class="col name text-dark">',o+=n+'<span class="symbol text-muted text-uppercase small">'+t+"</span></div>",o+="</div>",o+="</div>",o+="</a>",o+="</div>",c++)}),$(".row.icons").html(o),$(".icon").hover(function(){t($(this),"black","color")}),$(".icon").mouseleave(function(){t($(this),"color","black")}),$(".count-cryptos").text(c)})}),$("#infoIcon").on("show.bs.modal",function(t){var a=$(t.relatedTarget),e=$(this),n=a.data("icon"),i="",s=0,r=0;for(i+='<table class="table info-icon mb-0">',i+="<thead>",i+="<tr>",i+='<th class="text-center text-uppercase align-middle"><h5 class="mb-0">'+n+"</h5></th>";c[r];){l=o[s].replace("@","-");i+='<th class="variant-'+c[r]+' text-center font-weight-light text-muted align-middle">'+c[r]+"</th>",r++}for(r=0,i+="</tr>",i+="</thead>",i+="<tbody>";o[s];){var l;if(i+="<tr>",i+='<th class="format-'+(l=o[s].replace("@","-"))+' text-center font-weight-light text-muted align-middle" scope="row">'+o[s]+"</th>","svg"==o[s])d=".svg";else if("32@2x"==o[s])d="@2x.png";else var d=".png";for(;c[r];)i+='<td class="format-'+l+" variant-"+c[r]+' text-center">',i+='<img src="'+o[s]+"/"+c[r]+"/"+n+d+'" alt="'+n+'">',i+="</td>",r++;r=0,s++,i+="</tr>"}i+="</tbody>",i+="</table>",e.find(".modal-title").text(n),e.find(".modal-body").html(i)})});

View File

@ -1,311 +1,311 @@
{
"icons": [
"$pac",
"act",
"ada",
"adx",
"ae",
"agi",
"agrs",
"aion",
"amb",
"amp",
"ant",
"appc",
"ardr",
"ark",
"arn",
"ary",
"ast",
"atm",
"bat",
"bay",
"bcbc",
"bcc",
"bcd",
"bch",
"bcn",
"bco",
"bcpt",
"bdl",
"bela",
"bix",
"blcn",
"blk",
"block",
"blz",
"bnb",
"bnt",
"bnty",
"bpt",
"bq",
"brd",
"btc",
"btcd",
"btcp",
"btcz",
"btg",
"btm",
"bts",
"btx",
"burst",
"cdn",
"cdt",
"chips",
"clam",
"cloak",
"cmt",
"cnd",
"cnx",
"cny",
"cob",
"cred",
"crpt",
"ctr",
"cvc",
"dash",
"dat",
"data",
"dbc",
"dcn",
"dcr",
"dent",
"dew",
"dgb",
"dgd",
"dlt",
"dnr",
"dnt",
"doge",
"drgn",
"dta",
"dtr",
"ebst",
"edg",
"edo",
"edoge",
"elf",
"elix",
"ella",
"emc",
"emc2",
"eng",
"enj",
"eos",
"eql",
"equa",
"etc",
"eth",
"ethos",
"etn",
"etp",
"eur",
"evx",
"exmo",
"exp",
"fair",
"fct",
"fil",
"fldc",
"flo",
"ftc",
"fuel",
"fun",
"game",
"gas",
"gbp",
"gbx",
"gbyte",
"generic",
"gno",
"gnt",
"grc",
"grs",
"gto",
"gup",
"gvt",
"gxs",
"hpb",
"hsr",
"html",
"huc",
"hush",
"icn",
"icx",
"ignis",
"ink",
"ins",
"ion",
"iop",
"iost",
"itc",
"jnt",
"jpy",
"kcs",
"kin",
"kmd",
"knc",
"krb",
"lbc",
"lend",
"link",
"lkk",
"lrc",
"lsk",
"ltc",
"lun",
"maid",
"mana",
"mcap",
"mco",
"mda",
"mds",
"med",
"miota",
"mkr",
"mln",
"mnx",
"mnz",
"mod",
"mona",
"mth",
"mtl",
"music",
"nano",
"nas",
"nav",
"ncash",
"ndz",
"nebl",
"neo",
"neos",
"ngc",
"nlc2",
"nlg",
"nmc",
"nuls",
"nxs",
"nxt",
"oax",
"omg",
"omni",
"ont",
"ost",
"ox",
"part",
"pasl",
"pay",
"pink",
"pirl",
"pivx",
"plr",
"poa",
"poe",
"poly",
"pot",
"powr",
"ppc",
"ppp",
"ppt",
"prl",
"pura",
"qash",
"qiwi",
"qlc",
"qrl",
"qsp",
"qtum",
"r",
"rads",
"rcn",
"rdd",
"rdn",
"rep",
"req",
"rhoc",
"ric",
"rise",
"rlc",
"rpx",
"rub",
"salt",
"san",
"sbd",
"sberbank",
"sc",
"sky",
"sls",
"smart",
"sngls",
"snm",
"snt",
"spank",
"sphtx",
"srn",
"start",
"steem",
"storj",
"storm",
"strat",
"sub",
"sys",
"taas",
"tau",
"tel",
"theta",
"tix",
"tkn",
"tnb",
"tnc",
"tnt",
"trig",
"trx",
"tzc",
"ubq",
"unity",
"usd",
"usdt",
"utk",
"ven",
"veri",
"via",
"vib",
"vibe",
"vivo",
"vrc",
"vtc",
"wabi",
"waves",
"wax",
"wgr",
"wings",
"wpr",
"wtc",
"xas",
"xbc",
"xby",
"xcp",
"xdn",
"xem",
"xlm",
"xmg",
"xmr",
"xmy",
"xp",
"xpa",
"xpm",
"xrp",
"xtz",
"xuc",
"xvc",
"xvg",
"xzc",
"yoyow",
"zcl",
"zec",
"zen",
"zil",
"zilla",
"zrx"
]
"icons": [
"$pac",
"act",
"ada",
"adx",
"ae",
"agi",
"agrs",
"aion",
"amb",
"amp",
"ant",
"appc",
"ardr",
"ark",
"arn",
"ary",
"ast",
"atm",
"bat",
"bay",
"bcbc",
"bcc",
"bcd",
"bch",
"bcn",
"bco",
"bcpt",
"bdl",
"bela",
"bix",
"blcn",
"blk",
"block",
"blz",
"bnb",
"bnt",
"bnty",
"bpt",
"bq",
"brd",
"btc",
"btcd",
"btcp",
"btcz",
"btg",
"btm",
"bts",
"btx",
"burst",
"cdn",
"cdt",
"chips",
"clam",
"cloak",
"cmt",
"cnd",
"cnx",
"cny",
"cob",
"cred",
"crpt",
"ctr",
"cvc",
"dash",
"dat",
"data",
"dbc",
"dcn",
"dcr",
"dent",
"dew",
"dgb",
"dgd",
"dlt",
"dnr",
"dnt",
"doge",
"drgn",
"dta",
"dtr",
"ebst",
"edg",
"edo",
"edoge",
"elf",
"elix",
"ella",
"emc",
"emc2",
"eng",
"enj",
"eos",
"eql",
"equa",
"etc",
"eth",
"ethos",
"etn",
"etp",
"eur",
"evx",
"exmo",
"exp",
"fair",
"fct",
"fil",
"fldc",
"flo",
"ftc",
"fuel",
"fun",
"game",
"gas",
"gbp",
"gbx",
"gbyte",
"generic",
"gno",
"gnt",
"grc",
"grs",
"gto",
"gup",
"gvt",
"gxs",
"hpb",
"hsr",
"html",
"huc",
"hush",
"icn",
"icx",
"ignis",
"ink",
"ins",
"ion",
"iop",
"iost",
"itc",
"jnt",
"jpy",
"kcs",
"kin",
"kmd",
"knc",
"krb",
"lbc",
"lend",
"link",
"lkk",
"lrc",
"lsk",
"ltc",
"lun",
"maid",
"mana",
"mcap",
"mco",
"mda",
"mds",
"med",
"miota",
"mkr",
"mln",
"mnx",
"mnz",
"mod",
"mona",
"mth",
"mtl",
"music",
"nano",
"nas",
"nav",
"ncash",
"ndz",
"nebl",
"neo",
"neos",
"ngc",
"nlc2",
"nlg",
"nmc",
"nuls",
"nxs",
"nxt",
"oax",
"omg",
"omni",
"ont",
"ost",
"ox",
"part",
"pasl",
"pay",
"pink",
"pirl",
"pivx",
"plr",
"poa",
"poe",
"poly",
"pot",
"powr",
"ppc",
"ppp",
"ppt",
"prl",
"pura",
"qash",
"qiwi",
"qlc",
"qrl",
"qsp",
"qtum",
"r",
"rads",
"rcn",
"rdd",
"rdn",
"rep",
"req",
"rhoc",
"ric",
"rise",
"rlc",
"rpx",
"rub",
"salt",
"san",
"sbd",
"sberbank",
"sc",
"sky",
"sls",
"smart",
"sngls",
"snm",
"snt",
"spank",
"sphtx",
"srn",
"start",
"steem",
"storj",
"storm",
"strat",
"sub",
"sys",
"taas",
"tau",
"tel",
"theta",
"tix",
"tkn",
"tnb",
"tnc",
"tnt",
"trig",
"trx",
"tzc",
"ubq",
"unity",
"usd",
"usdt",
"utk",
"ven",
"veri",
"via",
"vib",
"vibe",
"vivo",
"vrc",
"vtc",
"wabi",
"waves",
"wax",
"wgr",
"wings",
"wpr",
"wtc",
"xas",
"xbc",
"xby",
"xcp",
"xdn",
"xem",
"xlm",
"xmg",
"xmr",
"xmy",
"xp",
"xpa",
"xpm",
"xrp",
"xtz",
"xuc",
"xvc",
"xvg",
"xzc",
"yoyow",
"zcl",
"zec",
"zen",
"zil",
"zilla",
"zrx"
]
}

View File

@ -9,76 +9,11 @@
"name": "Christopher Downer",
"url": "https://github.com/cjdowner"
},
"scripts": {
"minify-images:32:black": "imagemin '32/black/*' --out-dir='dist/32/black'",
"minify-images:32:color": "imagemin '32/color/*' --out-dir='dist/32/color'",
"minify-images:32:icon": "imagemin '32/icon/*' --out-dir='dist/32/icon'",
"minify-images:32:white": "imagemin '32/white/*' --out-dir='dist/32/white'",
"minify-images:32": "npm run minify-images:32:black && npm run minify-images:32:color && npm run minify-images:32:icon && npm run minify-images:32:white",
"minify-images:32@2x:black": "imagemin '32@2x/black/*' --out-dir='dist/32@2x/black'",
"minify-images:32@2x:color": "imagemin '32@2x/color/*' --out-dir='dist/32@2x/color'",
"minify-images:32@2x:icon": "imagemin '32@2x/icon/*' --out-dir='dist/32@2x/icon'",
"minify-images:32@2x:white": "imagemin '32@2x/white/*' --out-dir='dist/32@2x/white'",
"minify-images:32@2x": "npm run minify-images:32@2x:black && npm run minify-images:32@2x:color && npm run minify-images:32@2x:icon && npm run minify-images:32@2x:white",
"minify-images:128:black": "imagemin '128/black/*' --out-dir='dist/128/black'",
"minify-images:128:color": "imagemin '128/color/*' --out-dir='dist/128/color'",
"minify-images:128:icon": "imagemin '128/icon/*' --out-dir='dist/128/icon'",
"minify-images:128:white": "imagemin '128/white/*' --out-dir='dist/128/white'",
"minify-images:128": "npm run minify-images:128:black && npm run minify-images:128:color && npm run minify-images:128:icon && npm run minify-images:128:white",
"minify-images:svg:black": "imagemin 'svg/black/*' --out-dir='dist/svg/black'",
"minify-images:svg:color": "imagemin 'svg/color/*' --out-dir='dist/svg/color'",
"minify-images:svg:icon": "imagemin 'svg/icon/*' --out-dir='dist/svg/icon'",
"minify-images:svg:white": "imagemin 'svg/white/*' --out-dir='dist/svg/white'",
"minify-images:svg": "npm run minify-images:svg:black && npm run minify-images:svg:color && npm run minify-images:svg:icon && npm run minify-images:svg:white",
"minify-images": "npm run minify-images:32 && npm run minify-images:32@2x && npm run minify-images:128 && npm run minify-images:svg",
"imacss:32:black": "make-dir dist && imacss 'dist/32/black/*' blank_option crypto-icon-32-black > dist/32/black.css",
"imacss:32:color": "make-dir dist && imacss 'dist/32/color/*' blank_option crypto-icon-32-color > dist/32/color.css",
"imacss:32:icon": "make-dir dist && imacss 'dist/32/icon/*' blank_option crypto-icon-32-icon > dist/32/icon.css",
"imacss:32:white": "make-dir dist && imacss 'dist/32/white/*' blank_option crypto-icon-32-white > dist/32/white.css",
"postimacss:32:black": "concat defaults.css dist/32/black.css > dist/cryptocurrency-icons-32-black.css",
"postimacss:32:color": "concat defaults.css dist/32/color.css > dist/cryptocurrency-icons-32-color.css",
"postimacss:32:icon": "concat defaults.css dist/32/icon.css > dist/cryptocurrency-icons-32-icon.css",
"postimacss:32:white": "concat defaults.css dist/32/white.css > dist/cryptocurrency-icons-32-white.css",
"imacss:32": "npm run imacss:32:black && npm run imacss:32:color && npm run imacss:32:icon && npm run imacss:32:white",
"imacss:32@2x:black": "make-dir dist && imacss 'dist/32@2x/black/*' blank_option crypto-icon-32@2x-black > dist/32@2x/black.css",
"imacss:32@2x:color": "make-dir dist && imacss 'dist/32@2x/color/*' blank_option crypto-icon-32@2x-color > dist/32@2x/color.css",
"imacss:32@2x:icon": "make-dir dist && imacss 'dist/32@2x/icon/*' blank_option crypto-icon-32@2x-icon > dist/32@2x/icon.css",
"imacss:32@2x:white": "make-dir dist && imacss 'dist/32@2x/white/*' blank_option crypto-icon-32@2x-white > dist/32@2x/white.css",
"postimacss:32@2x:black": "concat defaults.css dist/32@2x/black.css > dist/cryptocurrency-icons-32@2x-black.css",
"postimacss:32@2x:color": "concat defaults.css dist/32@2x/color.css > dist/cryptocurrency-icons-32@2x-color.css",
"postimacss:32@2x:icon": "concat defaults.css dist/32@2x/icon.css > dist/cryptocurrency-icons-32@2x-icon.css",
"postimacss:32@2x:white": "concat defaults.css dist/32@2x/white.css > dist/cryptocurrency-icons-32@2x-white.css",
"imacss:32@2x": "npm run imacss:32@2x:black && npm run imacss:32@2x:color && npm run imacss:32@2x:icon && npm run imacss:32@2x:white",
"imacss:128:black": "make-dir dist && imacss 'dist/128/black/*' blank_option crypto-icon-128-black > dist/128/black.css",
"imacss:128:color": "make-dir dist && imacss 'dist/128/color/*' blank_option crypto-icon-128-color > dist/128/color.css",
"imacss:128:icon": "make-dir dist && imacss 'dist/128/icon/*' blank_option crypto-icon-128-icon > dist/128/icon.css",
"imacss:128:white": "make-dir dist && imacss 'dist/128/white/*' blank_option crypto-icon-128-white > dist/128/white.css",
"postimacss:128:black": "concat defaults.css dist/128/black.css > dist/cryptocurrency-icons-128-black.css",
"postimacss:128:color": "concat defaults.css dist/128/color.css > dist/cryptocurrency-icons-128-color.css",
"postimacss:128:icon": "concat defaults.css dist/128/icon.css > dist/cryptocurrency-icons-128-icon.css",
"postimacss:128:white": "concat defaults.css dist/128/white.css > dist/cryptocurrency-icons-128-white.css",
"imacss:128": "npm run imacss:128:black && npm run imacss:128:color && npm run imacss:128:icon && npm run imacss:128:white",
"imacss:svg:black": "make-dir dist && imacss 'dist/svg/black/*' blank_option crypto-icon-svg-black > dist/svg/black.css",
"imacss:svg:color": "make-dir dist && imacss 'dist/svg/color/*' blank_option crypto-icon-svg-color > dist/svg/color.css",
"imacss:svg:icon": "make-dir dist && imacss 'dist/svg/icon/*' blank_option crypto-icon-svg-icon > dist/svg/icon.css",
"imacss:svg:white": "make-dir dist && imacss 'dist/svg/white/*' blank_option crypto-icon-svg-white > dist/svg/white.css",
"postimacss:svg:black": "concat defaults.css dist/svg/black.css > dist/cryptocurrency-icons-svg-black.css",
"postimacss:svg:color": "concat defaults.css dist/svg/color.css > dist/cryptocurrency-icons-svg-color.css",
"postimacss:svg:icon": "concat defaults.css dist/svg/icon.css > dist/cryptocurrency-icons-svg-icon.css",
"postimacss:svg:white": "concat defaults.css dist/svg/white.css > dist/cryptocurrency-icons-svg-white.css",
"imacss:svg": "npm run imacss:svg:black && npm run imacss:svg:color && npm run imacss:svg:icon && npm run imacss:svg:white",
"imacss": "npm run imacss:32 && npm run imacss:32@2x && npm run imacss:128 && npm run imacss:svg",
"svgstore:black": "make-dir dist && svgstore -o dist/cryptocurrency-icons-black.svg dist/svg/black/*.svg",
"svgstore:color": "make-dir dist && svgstore -o dist/cryptocurrency-icons-color.svg dist/svg/color/*.svg",
"svgstore:icon": "make-dir dist && svgstore -o dist/cryptocurrency-icons-icon.svg dist/svg/icon/*.svg",
"svgstore:white": "make-dir dist && svgstore -o dist/cryptocurrency-icons-white.svg dist/svg/white/*.svg",
"svgstore": "npm run svgstore:black && npm run svgstore:color && npm run svgstore:icon && npm run svgstore:white",
"clean": "del-cli dist",
"build": "npm run clean && npm run minify-images && npm run imacss && npm run svgstore",
"prepublish": "npm run build"
},
"files": [
"dist"
"32",
"32@2x",
"128",
"svg"
],
"keywords": [
"cryptocurrency",
@ -104,13 +39,5 @@
"erc20-tokens",
"erc20",
"erc721"
],
"devDependencies": {
"concat": "^1.0.3",
"del-cli": "^1.1.0",
"imacss": "^1.0.0",
"imagemin-cli": "^3.0.0",
"make-dir-cli": "^1.0.0",
"svgstore-cli": "^1.3.1"
}
]
}