Release 5 new icons and 3 updated icons (v4.10.0)
# New Icons - dwm (#4891) - LiveChat (#4871) - PubMed (#4705) - Showtime (#4864) - suckless (#4890) # Updated Icons - .NET (#4906) - Google Chrome (#4525) - Google Sheets (#4685)
| @ -131,7 +131,7 @@ Icons are also available as a [Drupal module](https://www.drupal.org/project/sim | ||||
| 
 | ||||
| ### Flutter | ||||
| 
 | ||||
| Icons are also available as a [Flutter package](https://pub.dev/packages/flutter_brand_icons) created by  [@muj-programmer](https://github.com/muj-programmer). | ||||
| Icons are also available as a [Flutter package](https://pub.dev/packages/simple_icons) created by  [@jlnrrg](https://jlnrrg.github.io/). | ||||
| 
 | ||||
| ### Home Assistant | ||||
| 
 | ||||
|  | ||||
| @ -2,8 +2,8 @@ | ||||
|     "icons": [ | ||||
|         { | ||||
|             "title": ".NET", | ||||
|             "hex": "5C2D91", | ||||
|             "source": "https://docs.microsoft.com/en-us/dotnet/images/hub/net.svg" | ||||
|             "hex": "512BD4", | ||||
|             "source": "https://github.com/dotnet/brand/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "1001Tracklists", | ||||
| @ -2143,6 +2143,11 @@ | ||||
|             "hex": "58CC02", | ||||
|             "source": "https://www.duolingo.com/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "dwm", | ||||
|             "hex": "1177AA", | ||||
|             "source": "https://dwm.suckless.org" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Dynamics 365", | ||||
|             "hex": "002050", | ||||
| @ -3053,7 +3058,7 @@ | ||||
|         { | ||||
|             "title": "Google Chrome", | ||||
|             "hex": "4285F4", | ||||
|             "source": "https://blog.google/press/?product_tag=chrome" | ||||
|             "source": "https://thepartnermarketinghub.withgoogle.com/brands/chromebook/visual-identity/visual-identity/logos-and-badges/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Google Classroom", | ||||
| @ -3172,7 +3177,7 @@ | ||||
|         }, | ||||
|         { | ||||
|             "title": "Google Sheets", | ||||
|             "hex": "0F9D58", | ||||
|             "hex": "34A853", | ||||
|             "source": "http://sheets.google.com/" | ||||
|         }, | ||||
|         { | ||||
| @ -4371,6 +4376,11 @@ | ||||
|             "hex": "A6A9AA", | ||||
|             "source": "https://litecoin-foundation.org/wp-content/uploads/2019/01/LC18-007-Brand-guidelines.pdf" | ||||
|         }, | ||||
|         { | ||||
|             "title": "LiveChat", | ||||
|             "hex": "FFD000", | ||||
|             "source": "https://livechat.design/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "LiveJournal", | ||||
|             "hex": "00B0EA", | ||||
| @ -5991,6 +6001,11 @@ | ||||
|             "hex": "336699", | ||||
|             "source": "https://publons.com/about/logos" | ||||
|         }, | ||||
|         { | ||||
|             "title": "PubMed", | ||||
|             "hex": "326599", | ||||
|             "source": "https://pubmed.ncbi.nlm.nih.gov/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Puppet", | ||||
|             "hex": "FFAE1A", | ||||
| @ -6711,6 +6726,11 @@ | ||||
|             "hex": "2D2E83", | ||||
|             "source": "https://www.showpad.com/" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Showtime", | ||||
|             "hex": "B10000", | ||||
|             "source": "https://commons.wikimedia.org/wiki/File:Showtime.svg" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Shutterstock", | ||||
|             "hex": "EE2B24", | ||||
| @ -7281,6 +7301,11 @@ | ||||
|             "hex": "809CC9", | ||||
|             "source": "http://subversion.apache.org/logo" | ||||
|         }, | ||||
|         { | ||||
|             "title": "suckless", | ||||
|             "hex": "1177AA", | ||||
|             "source": "https://suckless.org" | ||||
|         }, | ||||
|         { | ||||
|             "title": "Sumo Logic", | ||||
|             "hex": "000099", | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>.NET icon</title><path d="M3.1672 7.5655v8.749H4.19v-6.325a8.979 8.979 0 0 0-.0488-1.1998h.0384a2.9082 2.9082 0 0 0 .2784.5473l4.4973 6.9774h1.2569V7.5655H9.1904v6.1526a9.2574 9.2574 0 0 0 .0619 1.286h-.0234c-.0544-.1056-.173-.3002-.3553-.585L4.4964 7.5656zm9.315 0v8.749h4.65l.0048-.9599h-3.6087v-3.0331h3.1579V11.4h-3.1579V8.4916h3.3884v-.926zm5.4374 0v.926h2.5149v7.823h1.0216v-7.823H24v-.926zM.6534 15.067a.643.643 0 0 0-.4565.2062A.6719.6719 0 0 0 0 15.753a.6623.6623 0 0 0 .1968.4799.6479.6479 0 0 0 .4799.2015.6623.6623 0 0 0 .4799-.2015.6575.6575 0 0 0 .2015-.48.667.667 0 0 0-.2015-.4798.6575.6575 0 0 0-.4799-.2062.643.643 0 0 0-.0234 0z"/></svg> | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>.NET icon</title><path d="M24 8.77h-2.468v7.565h-1.425V8.77h-2.462V7.53H24zm-6.852 7.565h-4.821V7.53h4.63v1.24h-3.205v2.494h2.953v1.234h-2.953v2.604h3.396zm-6.708 0H8.882L4.78 9.863a2.896 2.896 0 0 1-.258-.51h-.036c.032.189.048.592.048 1.21v5.772H3.157V7.53h1.659l3.965 6.32c.167.261.275.442.323.54h.024c-.04-.233-.06-.629-.06-1.185V7.529h1.372zm-8.703-.693a.868.829 0 0 1-.869.829.868.829 0 0 1-.868-.83.868.829 0 0 1 .868-.828.868.829 0 0 1 .869.829Z"/></svg> | ||||
|  | ||||
| Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 540 B | 
							
								
								
									
										1
									
								
								icons/dwm.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>dwm icon</title><path d="M0 11h6V7h2v8h2v-4h2v4h2v-4h10v6h-2v-4h-2v4h-2v-4h-2v4H2v-2h4v-2H2v4H0z"/></svg> | ||||
| After Width: | Height: | Size: 184 B | 
| @ -1 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Chrome icon</title><path d="M16.214 8.69l6.715-1.679A12.027 12.027 0 0 1 24 11.972C24 18.57 18.569 24 11.968 24c-.302 0-.605-.011-.907-.034l4.905-8.347c.356-.376.655-.803.881-1.271a5.451 5.451 0 0 0-.043-4.748 5.156 5.156 0 0 0-.59-.91zm-3.24 8.575l-2.121 6.682C4.738 23.345 0 18.14 0 11.977 0 9.592.709 7.26 2.038 5.279l4.834 8.377c.18.539 1.119 2.581 3.067 3.327.998.382 2.041.481 3.035.282zM11.973 7.62c-2.006.019-3.878 1.544-4.281 3.512a4.478 4.478 0 0 0 1.237 4.032c1.214 1.186 3.14 1.578 4.734.927 1.408-.576 2.47-1.927 2.691-3.431.272-1.856-.788-3.832-2.495-4.629a4.413 4.413 0 0 0-1.886-.411zM7.046 9.962L2.259 4.963A12.043 12.043 0 0 1 11.997 0c4.56 0 8.744 2.592 10.774 6.675H12.558c-1.811-.125-3.288.52-4.265 1.453a5.345 5.345 0 0 0-1.247 1.834z"/></svg> | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Chrome icon</title><path d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728Z"/></svg> | ||||
| Before Width: | Height: | Size: 850 B After Width: | Height: | Size: 540 B | 
| @ -1 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Sheets icon</title><path d="M4.908 0c-.873 0-1.635.764-1.635 1.637v20.726c0 .873.762 1.637 1.635 1.637h14.184c.873 0 1.635-.764 1.635-1.637V7.045h-4.909a2.157 2.157 0 0 1-2.136-2.137V0H4.908zm9.774.5v4.408c0 .581.555 1.137 1.136 1.137h4.409L14.682.5zM7.637 11.781h8.726v7.856H7.637V11.78zm1.09 1.092v1.309h2.728v-1.309H8.727zm3.818 0v1.309h2.728v-1.309h-2.728zm-3.818 2.182v1.308h2.728v-1.308H8.727zm3.818 0v1.308h2.728v-1.308h-2.728zm-3.818 2.181v1.309h2.728v-1.309H8.727zm3.818 0v1.309h2.728v-1.309h-2.728z"/></svg> | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Sheets icon</title><path d="M11.318 12.545H7.91v-1.909h3.41v1.91zM14.728 0v6h6l-6-6zm1.363 10.636h-3.41v1.91h3.41v-1.91zm0 3.273h-3.41v1.91h3.41v-1.91zM20.727 6.5v15.864c0 .904-.732 1.636-1.636 1.636H4.909a1.636 1.636 0 0 1-1.636-1.636V1.636C3.273.732 4.005 0 4.909 0h9.318v6.5h6.5zm-3.273 2.773H6.545v7.909h10.91v-7.91zm-6.136 4.636H7.91v1.91h3.41v-1.91z"/></svg> | ||||
| Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 449 B | 
							
								
								
									
										1
									
								
								icons/livechat.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| <svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>LiveChat icon</title><path d="M23.849 14.91c-.24 2.94-2.73 5.22-5.7 5.19h-3.15l-6 3.9v-3.9l6-3.9h3.15c.93.03 1.71-.66 1.83-1.59.18-3 .18-6-.06-9-.06-.84-.75-1.47-1.56-1.53-2.04-.09-4.2-.18-6.36-.18s-4.32.06-6.36.21c-.84.06-1.5.69-1.56 1.53-.21 3-.24 6-.06 9 .09.93.9 1.59 1.83 1.56h3.15v3.9h-3.15a5.644 5.644 0 01-5.7-5.19c-.21-3.21-.18-6.39.06-9.6a5.57 5.57 0 015.19-5.1c2.1-.15 4.35-.21 6.6-.21s4.5.06 6.63.24a5.57 5.57 0 015.19 5.1c.21 3.18.24 6.39.03 9.57z"/></svg> | ||||
| After Width: | Height: | Size: 547 B | 
							
								
								
									
										1
									
								
								icons/pubmed.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PubMed icon</title><path d="M8.23 7.982l.006-1.005C7.846 1.417 5.096 0 5.096 0l.048 2.291C3.73 1.056 2.6 1.444 2.6 1.444l.118 15.307s4.218-1.796 5.428 5.505C10.238 13.535 21.401 24 21.401 24V9S10.52-.18 8.231 7.982zm9.79 9.941l-1.046-5.232-1.904 4.507h-.96l-1.72-4.301-1.046 5.04H9.321l2.093-9.39h.802l2.491 5.543 2.508-5.557h.869l2.075 9.39h-2.138z"/></svg> | ||||
| After Width: | Height: | Size: 437 B | 
							
								
								
									
										1
									
								
								icons/showtime.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Showtime icon</title><path d="M16.99 12.167c0-4.808 1.779-7.84 3.903-8.16C18.769 1.397 15.221 0 11.999 0 8.451 0 5.265 1.54 3.07 3.985c2.094.416 2.806 2.174 2.806 4.892H3.314c0-1.605-.334-2.436-1.284-2.436-.427 0-.758.217-.954.587-.027.06-.057.122-.084.184a2.115 2.115 0 0 0-.114.71c0 3.324 5.46 3.159 5.46 8.27 0 1.995-1.53 3.855-3.252 3.855C5.35 22.52 8.441 24 12 24c3.46 0 6.577-1.464 8.766-3.808-2.018-.509-3.776-3.413-3.776-8.025zm-1.142 7.921h-2.746V13.26h-2.967v6.83H7.384V4.327h2.746v6.348h2.972V4.327h2.746v15.761zM2.372 17.58c-1.32 0-2.399-2.32-2.372-5.8 1.905 1.72 3.681 2.11 3.681 4.145 0 .981-.543 1.655-1.309 1.655zM24 12.002c0 2.844-.896 5.409-2.1 5.409-1.445 0-2.181-2.703-2.181-5.498 0-2.654.771-5.308 2.181-5.308 1.676 0 2.1 4.102 2.1 5.397z"/></svg> | ||||
| After Width: | Height: | Size: 847 B | 
							
								
								
									
										1
									
								
								icons/suckless.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1 @@ | ||||
| <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>suckless icon</title><path d="M0 4h24v4H4v2h20v10H0v-4h20v-2H0z"/></svg> | ||||
| After Width: | Height: | Size: 151 B | 
							
								
								
									
										31
									
								
								index.html
									
									
									
									
									
								
							
							
						
						| @ -29,16 +29,26 @@ | ||||
|     {% endif %} | ||||
| 
 | ||||
|     {% assign filename = filename | downcase %} | ||||
|     {% assign filename = filename | replace: "à", "a" | replace: "á", "a" | replace: "â", "a" | replace: "ã", "a" | replace: "ä", "a" %} | ||||
|     {% assign filename = filename | replace: "ç", "c" | replace: "č", "c" | replace: "ć", "c" %} | ||||
|     {% assign filename = filename | replace: "è", "e" | replace: "é", "e" | replace: "ê", "e" | replace: "ë", "e" %} | ||||
|     {% assign filename = filename | replace: "ì", "i" | replace: "í", "i" | replace: "î", "i" | replace: "ï", "i" %} | ||||
|     {% assign filename = filename | replace: "ñ", "n" | replace: "ň", "n" | replace: "ń", "n" %} | ||||
|     {% assign filename = filename | replace: "ò", "o" | replace: "ó", "o" | replace: "ô", "o" | replace: "õ", "o" | replace: "ö", "o" %} | ||||
|     {% assign filename = filename | replace: "š", "s" | replace: "ś", "s" %} | ||||
|     {% assign filename = filename | replace: "ù", "u" | replace: "ú", "u" | replace: "û", "u" | replace: "ü", "u" %} | ||||
|     {% assign filename = filename | replace: "ý", "y" | replace: "ÿ", "y" %} | ||||
|     {% assign filename = filename | replace: "ž", "z" | replace: "ź", "z" %} | ||||
|     {% assign filename = filename | replace: "à", "a" | replace: "á", "a" | replace: "â", "a" | replace: "ã", "a" | replace: "ä", "a" | replace: "ā", "a" | replace: "ă", "a" | replace: "ą", "a" %} | ||||
|     {% assign filename = filename | replace: "ç", "c" | replace: "ć", "c" | replace: "ĉ", "c" | replace: "ċ", "c" | replace: "č", "c" %} | ||||
|     {% assign filename = filename | replace: "ď", "d" | replace: "đ", "d" %} | ||||
|     {% assign filename = filename | replace: "è", "e" | replace: "é", "e" | replace: "ê", "e" | replace: "ë", "e" | replace: "ē", "e" | replace: "ĕ", "e" | replace: "ė", "e" | replace: "ę", "e" | replace: "ě", "e" %} | ||||
|     {% assign filename = filename | replace: "ĝ", "g" | replace: "ğ", "g" | replace: "ġ", "g" | replace: "ģ", "g" %} | ||||
|     {% assign filename = filename | replace: "ĥ", "h" | replace: "ħ", "h" %} | ||||
|     {% assign filename = filename | replace: "ì", "i" | replace: "í", "i" | replace: "î", "i" | replace: "ï", "i" | replace: "ĩ", "i" | replace: "ī", "i" | replace: "ĭ", "i" | replace: "į", "i" | replace: "ı", "i" %} | ||||
|     {% assign filename = filename | replace: "ĵ", "j" %} | ||||
|     {% assign filename = filename | replace: "ķ", "k" | replace: "ĸ", "k" %} | ||||
|     {% assign filename = filename | replace: "ĺ", "l" | replace: "ļ", "l" | replace: "ľ", "l" | replace: "ŀ", "l" | replace: "ł", "l" %} | ||||
|     {% assign filename = filename | replace: "ñ", "n" | replace: "ń", "n" | replace: "ņ", "n" | replace: "ň", "n" %} | ||||
|     {% assign filename = filename | replace: "ò", "o" | replace: "ó", "o" | replace: "ô", "o" | replace: "õ", "o" | replace: "ö", "o" | replace: "ō", "o" | replace: "ŏ", "o" | replace: "ő", "o" %} | ||||
|     {% assign filename = filename | replace: "ŕ", "r" | replace: "ŗ", "r" | replace: "ř", "r" %} | ||||
|     {% assign filename = filename | replace: "ś", "s" | replace: "ŝ", "s" | replace: "ş", "s" | replace: "š", "s" %} | ||||
|     {% assign filename = filename | replace: "ß", "ss" %} | ||||
|     {% assign filename = filename | replace: "ţ", "t" | replace: "ť", "t" | replace: "ŧ", "t" %} | ||||
|     {% assign filename = filename | replace: "ù", "u" | replace: "ú", "u" | replace: "û", "u" | replace: "ü", "u" | replace: "ũ", "u" | replace: "ū", "u" | replace: "ŭ", "u" | replace: "ů", "u" | replace: "ű", "u" | replace: "ų", "u" %} | ||||
|     {% assign filename = filename | replace: "ŵ", "w" %} | ||||
|     {% assign filename = filename | replace: "ý", "y" | replace: "ÿ", "y" | replace: "ŷ", "y" %} | ||||
|     {% assign filename = filename | replace: "ź", "z" | replace: "ż", "z" | replace: "ž", "z" %} | ||||
| 
 | ||||
|     {% assign searchTerm = filename %} | ||||
|     {% assign filename = filename | replace: "+", "plus" %} | ||||
| @ -205,6 +215,7 @@ | ||||
|             <li class="navbar__nav-item"><a href="https://www.npmjs.com/package/simple-icons">NPM</a></li> | ||||
|             <li class="navbar__nav-item"><a href="https://packagist.org/packages/simple-icons/simple-icons">Packagist</a></li> | ||||
|         </ul> | ||||
|         <p class="redesign-banner">We're redesigning the website! Please <a href="https://simple-icons.github.io/simple-icons-website/">Check it out</a> and <a href="https://github.com/simple-icons/simple-icons/discussions/4865">Share you feedback</a>. <span>Hide this message <button id="hide-feedback-request-once">Once</button> or <button id="hide-feedback-request">Always</button> | <button id="redirect-to-redesign">Redirect automatically</button></span></p> | ||||
|     </header> | ||||
|     <main role="main"> | ||||
|         <p class="hero">{{ iconCount }} Free <abbr title="Scalable Vector Graphic">SVG</abbr> icons for popular brands</p> | ||||
|  | ||||
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "simple-icons", | ||||
|   "version": "4.9.0", | ||||
|   "version": "4.10.0", | ||||
|   "lockfileVersion": 1, | ||||
|   "requires": true, | ||||
|   "dependencies": { | ||||
| @ -5786,9 +5786,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "uglify-js": { | ||||
|       "version": "3.12.5", | ||||
|       "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.5.tgz", | ||||
|       "integrity": "sha512-SgpgScL4T7Hj/w/GexjnBHi3Ien9WS1Rpfg5y91WXMj9SY997ZCQU76mH4TpLwwfmMvoOU8wiaRkIf6NaH3mtg==", | ||||
|       "version": "3.12.6", | ||||
|       "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.6.tgz", | ||||
|       "integrity": "sha512-aqWHe3DfQmZUDGWBbabZ2eQnJlQd1fKlMUu7gV+MiTuDzdgDw31bI3wA2jLLsV/hNcDP26IfyEgSVoft5+0SVw==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "underscore": { | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "simple-icons", | ||||
|   "version": "4.9.0", | ||||
|   "version": "4.10.0", | ||||
|   "description": "SVG icons for popular brands https://simpleicons.org", | ||||
|   "homepage": "https://www.simpleicons.org", | ||||
|   "keywords": [ | ||||
| @ -27,7 +27,7 @@ | ||||
|     "svglint": "1.0.7", | ||||
|     "svgo": "1.3.2", | ||||
|     "svgpath": "2.3.0", | ||||
|     "uglify-js": "3.12.5" | ||||
|     "uglify-js": "3.12.6" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "build": "node scripts/build-package.js", | ||||
|  | ||||
| @ -12,17 +12,17 @@ module.exports = { | ||||
|             .replace(/^&/, "and-") | ||||
|             .replace(/&$/, "-and") | ||||
|             .replace(/&/g, "-and-") | ||||
|             .replace(/[ !:’'°]/g, "") | ||||
|             .replace(/à|á|â|ã|ä/g, "a") | ||||
|             .replace(/ç|č|ć/g, "c") | ||||
|             .replace(/è|é|ê|ë/g, "e") | ||||
|             .replace(/ì|í|î|ï/g, "i") | ||||
|             .replace(/ñ|ň|ń/g, "n") | ||||
|             .replace(/ò|ó|ô|õ|ö/g, "o") | ||||
|             .replace(/š|ś/g, "s") | ||||
|             .replace(/ù|ú|û|ü/g, "u") | ||||
|             .replace(/ý|ÿ/g, "y") | ||||
|             .replace(/ž|ź/g, "z") | ||||
|             .replace(/đ/g, "d") | ||||
|             .replace(/ħ/g, "h") | ||||
|             .replace(/ı/g, "i") | ||||
|             .replace(/ĸ/g, "k") | ||||
|             .replace(/ŀ/g, "l") | ||||
|             .replace(/ł/g, "l") | ||||
|             .replace(/ß/g, "ss") | ||||
|             .replace(/ŧ/g, "t") | ||||
|             .normalize("NFD") | ||||
|             .replace(/[\u0300-\u036f]/g, "") | ||||
|             .replace(/[^a-z0-9_\-]/g, "") | ||||
|     ), | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
| @ -68,16 +68,16 @@ | ||||
| 
 | ||||
|   function normalizeSearchTerm(value) { | ||||
|     return value.toLowerCase() | ||||
|       .replace(/à|á|â|ã|ä/g, "a") | ||||
|       .replace(/ç|č|ć/g, "c") | ||||
|       .replace(/è|é|ê|ë/g, "e") | ||||
|       .replace(/ì|í|î|ï/g, "i") | ||||
|       .replace(/ñ|ň|ń/g, "n") | ||||
|       .replace(/ò|ó|ô|õ|ö/g, "o") | ||||
|       .replace(/š|ś/g, "s") | ||||
|       .replace(/ù|ú|û|ü/g, "u") | ||||
|       .replace(/ý|ÿ/g, "y") | ||||
|       .replace(/ž|ź/g, "z"); | ||||
|       .replace(/đ/g, "d") | ||||
|       .replace(/ħ/g, "h") | ||||
|       .replace(/ı/g, "i") | ||||
|       .replace(/ĸ/g, "k") | ||||
|       .replace(/ŀ/g, "l") | ||||
|       .replace(/ł/g, "l") | ||||
|       .replace(/ß/g, "ss") | ||||
|       .replace(/ŧ/g, "t") | ||||
|       .normalize("NFD") | ||||
|       .replace(/[\u0300-\u036f]/g, ""); | ||||
|   } | ||||
| 
 | ||||
|   function search(value) { | ||||
| @ -191,4 +191,58 @@ | ||||
|   $orderByRelevance.addEventListener('click', function() { | ||||
|     selectOrdering($orderByRelevance); | ||||
|   }); | ||||
| 
 | ||||
|   /* Redesign */ | ||||
| 
 | ||||
|   var $banner = document.querySelector('.redesign-banner'), | ||||
|       $redirectAutomatically = document.getElementById('redirect-to-redesign'), | ||||
|       $hideOnce = document.getElementById('hide-feedback-request-once'), | ||||
|       $hideAlways = document.getElementById('hide-feedback-request'); | ||||
| 
 | ||||
|   var redesignUrl = 'https://simple-icons.github.io/simple-icons-website/', | ||||
|       hideBannerAlwaysIdentifier = 'hide-banner', | ||||
|       redirectAutomaticallyIdentifier = 'redirect-to-redesign'; | ||||
| 
 | ||||
|   $redirectAutomatically.addEventListener('click', function() { | ||||
|     var redirect = true; | ||||
|     if (localStorage) { | ||||
|       var currentVal = localStorage.getItem(redirectAutomaticallyIdentifier); | ||||
|       if (currentVal === 'true') { | ||||
|         redirect = false; | ||||
|       } | ||||
| 
 | ||||
|       localStorage.setItem(redirectAutomaticallyIdentifier, redirect); | ||||
|     } | ||||
| 
 | ||||
|     if (redirect) { | ||||
|       window.location.replace(redesignUrl); | ||||
|     } else { | ||||
|       $redirectAutomatically.innerHTML = "Redirect automatically"; | ||||
|     } | ||||
|   }); | ||||
|   $hideOnce.addEventListener('click', function () { | ||||
|     $banner.classList.add('hidden'); | ||||
|   }); | ||||
|   $hideAlways.addEventListener('click', function () { | ||||
|     if (localStorage) { | ||||
|       localStorage.setItem(hideBannerAlwaysIdentifier, true); | ||||
|     } | ||||
| 
 | ||||
|     $banner.classList.add('hidden'); | ||||
|   }); | ||||
| 
 | ||||
|   if (localStorage) { | ||||
|     var redirect = localStorage.getItem(redirectAutomaticallyIdentifier); | ||||
|     if (redirect === 'true') { | ||||
|       $redirectAutomatically.innerHTML = "Disable redirect"; | ||||
|       if (document.referrer !== redesignUrl) { | ||||
|         window.location.replace(redesignUrl); | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|     var hide = localStorage.getItem(hideBannerAlwaysIdentifier); | ||||
|     if (hide) { | ||||
|       $banner.classList.add('hidden'); | ||||
|     } | ||||
|   } | ||||
| })( document ); | ||||
|  | ||||
| @ -351,6 +351,31 @@ a.share-button { | ||||
|   padding: 1.5rem 0 1.5rem 1.5rem; | ||||
| } | ||||
| 
 | ||||
| .redesign-banner { | ||||
|   background-color: #565f63; | ||||
|   color: #FFF; | ||||
|   margin: 0; | ||||
|   padding: 0.5rem 1.5rem; | ||||
| } | ||||
| .redesign-banner a { | ||||
|   color: #0096ee; | ||||
| } | ||||
| .redesign-banner a:focus, .redesign-banner a:hover, | ||||
| .redesign-banner button:focus, .redesign-banner button:hover { | ||||
|   text-decoration: underline; | ||||
| } | ||||
| .redesign-banner span { | ||||
|   float: right | ||||
| } | ||||
| .redesign-banner button { | ||||
|   border: none; | ||||
|   background-color: transparent; | ||||
|   color: #0096ee; | ||||
|   cursor: pointer; | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
| } | ||||
| 
 | ||||
| .hidden { | ||||
|   display: none; | ||||
| } | ||||
|  | ||||