diff --git a/_data/simple-icons.json b/_data/simple-icons.json index b7718bc47..a7787961a 100644 --- a/_data/simple-icons.json +++ b/_data/simple-icons.json @@ -1,5 +1,10 @@ { "icons": [ + { + "title": ".NET", + "hex": "5C2D91", + "source": "https://docs.microsoft.com/en-us/dotnet/images/hub/net.svg" + }, { "title": "500px", "hex": "0099E5", @@ -1410,6 +1415,11 @@ "hex": "55C500", "source": "https://www.qiita.com" }, + { + "title": "Qualcomm", + "hex": "3253DC", + "source": "https://www.qualcomm.com" + }, { "title": "Quantopian", "hex": "C50000", diff --git a/icons/aboutme.svg b/icons/about-dot-me.svg similarity index 100% rename from icons/aboutme.svg rename to icons/about-dot-me.svg diff --git a/icons/brandai.svg b/icons/brand-dot-ai.svg similarity index 100% rename from icons/brandai.svg rename to icons/brand-dot-ai.svg diff --git a/icons/coop.svg b/icons/co-op.svg similarity index 100% rename from icons/coop.svg rename to icons/co-op.svg diff --git a/icons/devto.svg b/icons/dev-dot-to.svg similarity index 100% rename from icons/devto.svg rename to icons/dev-dot-to.svg diff --git a/icons/dot-net.svg b/icons/dot-net.svg new file mode 100644 index 000000000..7962ea6c1 --- /dev/null +++ b/icons/dot-net.svg @@ -0,0 +1 @@ +.NET icon diff --git a/icons/draugiemlv.svg b/icons/draugiem-dot-lv.svg similarity index 100% rename from icons/draugiemlv.svg rename to icons/draugiem-dot-lv.svg diff --git a/icons/govuk.svg b/icons/gov-dot-uk.svg similarity index 100% rename from icons/govuk.svg rename to icons/gov-dot-uk.svg diff --git a/icons/kofi.svg b/icons/ko-fi.svg similarity index 100% rename from icons/kofi.svg rename to icons/ko-fi.svg diff --git a/icons/lastfm.svg b/icons/last-dot-fm.svg similarity index 100% rename from icons/lastfm.svg rename to icons/last-dot-fm.svg diff --git a/icons/mailru.svg b/icons/mail-dot-ru.svg similarity index 100% rename from icons/mailru.svg rename to icons/mail-dot-ru.svg diff --git a/icons/microblog.svg b/icons/micro-dot-blog.svg similarity index 100% rename from icons/microblog.svg rename to icons/micro-dot-blog.svg diff --git a/icons/nodejs.svg b/icons/node-dot-js.svg similarity index 100% rename from icons/nodejs.svg rename to icons/node-dot-js.svg diff --git a/icons/picartotv.svg b/icons/picarto-dot-tv.svg similarity index 100% rename from icons/picartotv.svg rename to icons/picarto-dot-tv.svg diff --git a/icons/playerme.svg b/icons/player-dot-me.svg similarity index 100% rename from icons/playerme.svg rename to icons/player-dot-me.svg diff --git a/icons/protoio.svg b/icons/proto-dot-io.svg similarity index 100% rename from icons/protoio.svg rename to icons/proto-dot-io.svg diff --git a/icons/qualcomm.svg b/icons/qualcomm.svg new file mode 100644 index 000000000..04fd675c3 --- /dev/null +++ b/icons/qualcomm.svg @@ -0,0 +1 @@ +Qualcomm icon diff --git a/icons/vuejs.svg b/icons/vue-dot-js.svg similarity index 100% rename from icons/vuejs.svg rename to icons/vue-dot-js.svg diff --git a/index.html b/index.html index 6368507fc..10d46ba1b 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,16 @@ {% assign greyscaleIconsUnsortedString = "" %} {% for icon in site.data.simple-icons.icons %} {% assign title = icon.title %} - {% assign filename = icon.title | replace: "+", "plus" | replace: " ", "" | replace: ".", "" | replace: "-", "" | replace: "!", "" | replace: "’", "" | downcase %} + {% assign filename = icon.title %} + {% assign _splitFilename = filename | split: "" %} + {% if _splitFilename.first == "." %} + {% assign filename = filename | replace_first: ".", "dot-" %} + {% endif %} + {% if _splitFilename.last == "." %} + {% assign _filenameLenMin1 = filename | size | minus: 1 %} + {% assign filename = filename | slice: 0, _filenameLenMin1 | append: "-dot" %} + {% endif %} + {% assign filename = filename | replace: "+", "plus" | replace: " ", "" | replace: ".", "-dot-" | replace: "!", "" | replace: "’", "" | downcase %} {% assign hex = icon.hex %} {% assign hex = icon.hex %} {% assign hexCharacter1 = hex | slice: 0, 1 %} diff --git a/package.json b/package.json index 67460786c..a7ff11912 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-icons", - "version": "1.6.8", + "version": "1.7.0", "description": "SVG icons for popular brands https://simpleicons.org", "homepage": "https://www.simpleicons.org", "keywords": [