Browse Source

added "main" to package.json and updated CSS

John 5 years ago
parent
commit
14c876de7b
2 changed files with 5 additions and 4 deletions
  1. 4 4
      distr/fira_code.css
  2. 1 0
      package.json

+ 4 - 4
distr/fira_code.css

@@ -1,7 +1,7 @@
 @font-face {
   font-family: 'Fira Code';
   src: url('woff2/FiraCode-Light.woff2') format('woff2'),
-    url("woff2/FiraCode-Light.woff") format("woff");
+    url("woff/FiraCode-Light.woff") format("woff");
   font-weight: 300;
   font-style: normal;
 }
@@ -9,7 +9,7 @@
 @font-face {
   font-family: 'Fira Code';
   src: url('woff2/FiraCode-Regular.woff2') format('woff2'),
-    url("woff2/FiraCode-Regular.woff") format("woff");
+    url("woff/FiraCode-Regular.woff") format("woff");
   font-weight: 400;
   font-style: normal;
 }
@@ -17,7 +17,7 @@
 @font-face {
   font-family: 'Fira Code';
   src: url('woff2/FiraCode-Medium.woff2') format('woff2'),
-    url("woff2/FiraCode-Medium.woff") format("woff");
+    url("woff/FiraCode-Medium.woff") format("woff");
   font-weight: 500;
   font-style: normal;
 }
@@ -25,7 +25,7 @@
 @font-face {
   font-family: 'Fira Code';
   src: url('woff2/FiraCode-Bold.woff2') format('woff2'),
-    url("woff2/FiraCode-Bold.woff") format("woff");
+    url("woff/FiraCode-Bold.woff") format("woff");
   font-weight: 700;
   font-style: normal;
 }

+ 1 - 0
package.json

@@ -2,6 +2,7 @@
   "name": "firacode",
   "version": "1.206.0",
   "description": "Fira Code: monospaced font with programming ligatures",
+  "main": "distr/fira_code.css",
   "keywords": [
     "font",
     "Mozilla Fira Type Family",