halfmage / pixelarticons

👾 Beautiful pixel icons. For the pixel vibes.
https://pixelarticons.com
MIT License
489 stars 16 forks source link

Please remove IE and old safari styles from `fonts/pixelart-icons-font.css` of npm package #30

Open zardoy opened 4 months ago

zardoy commented 4 months ago

Currently using this patch

diff --git a/fonts/pixelart-icons-font.css b/fonts/pixelart-icons-font.css
index 3b2ebe839370d96bf93ef5ca94a827f07e49378d..103ab4d6b9f3b5c9f41d1407e3cbf4ac392fbf41 100644
--- a/fonts/pixelart-icons-font.css
+++ b/fonts/pixelart-icons-font.css
@@ -1,16 +1,13 @@
 @font-face {
   font-family: "pixelart-icons-font";
-  src: url('pixelart-icons-font.eot?t=1711815892278'); /* IE9*/
-  src: url('pixelart-icons-font.eot?t=1711815892278#iefix') format('embedded-opentype'), /* IE6-IE8 */
+  src:
   url("pixelart-icons-font.woff2?t=1711815892278") format("woff2"),
   url("pixelart-icons-font.woff?t=1711815892278") format("woff"),
   url('pixelart-icons-font.ttf?t=1711815892278') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
-  url('pixelart-icons-font.svg?t=1711815892278#pixelart-icons-font') format('svg'); /* iOS 4.1- */
 }

 [class^="pixelart-icons-font-"], [class*=" pixelart-icons-font-"] {
   font-family: 'pixelart-icons-font' !important;
-  font-size:24px;
   font-style:normal;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
@@ -503,4 +500,3 @@
 .pixelart-icons-font-zap:before { content: "\ebe4"; }
 .pixelart-icons-font-zoom-in:before { content: "\ebe5"; }
 .pixelart-icons-font-zoom-out:before { content: "\ebe6"; }
-
halfmage commented 3 months ago

@zardoy Will check this soon