diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..8f12e55 --- /dev/null +++ b/bower.json @@ -0,0 +1,22 @@ +{ + "name": "open-sans-fontface", + "version": "1.0.4", + "main": "./css/open-sans.css", + "homepage": "https://github.com/FontFaceKit/open-sans", + "authors": [ + "Gustavo Henke ", + "Martin Domke " + ], + "description": "The Open Sans fontface", + "keywords": [ + "font" + ], + "license": "Apache License version 2.0", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +} diff --git a/component.json b/component.json deleted file mode 100644 index 0c36ae3..0000000 --- a/component.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "open-sans-fontface", - "version": "1.0.2", - "main": "./css/open-sans.css" -} diff --git a/font/Bold/OpenSans-Bold.eot b/fonts/Bold/OpenSans-Bold.eot similarity index 100% rename from font/Bold/OpenSans-Bold.eot rename to fonts/Bold/OpenSans-Bold.eot diff --git a/font/Bold/OpenSans-Bold.svg b/fonts/Bold/OpenSans-Bold.svg similarity index 100% rename from font/Bold/OpenSans-Bold.svg rename to fonts/Bold/OpenSans-Bold.svg diff --git a/font/Bold/OpenSans-Bold.ttf b/fonts/Bold/OpenSans-Bold.ttf similarity index 100% rename from font/Bold/OpenSans-Bold.ttf rename to fonts/Bold/OpenSans-Bold.ttf diff --git a/font/Bold/OpenSans-Bold.woff b/fonts/Bold/OpenSans-Bold.woff similarity index 100% rename from font/Bold/OpenSans-Bold.woff rename to fonts/Bold/OpenSans-Bold.woff diff --git a/font/BoldItalic/OpenSans-BoldItalic.eot b/fonts/BoldItalic/OpenSans-BoldItalic.eot similarity index 100% rename from font/BoldItalic/OpenSans-BoldItalic.eot rename to fonts/BoldItalic/OpenSans-BoldItalic.eot diff --git a/font/BoldItalic/OpenSans-BoldItalic.svg b/fonts/BoldItalic/OpenSans-BoldItalic.svg similarity index 100% rename from font/BoldItalic/OpenSans-BoldItalic.svg rename to fonts/BoldItalic/OpenSans-BoldItalic.svg diff --git a/font/BoldItalic/OpenSans-BoldItalic.ttf b/fonts/BoldItalic/OpenSans-BoldItalic.ttf similarity index 100% rename from font/BoldItalic/OpenSans-BoldItalic.ttf rename to fonts/BoldItalic/OpenSans-BoldItalic.ttf diff --git a/font/BoldItalic/OpenSans-BoldItalic.woff b/fonts/BoldItalic/OpenSans-BoldItalic.woff similarity index 100% rename from font/BoldItalic/OpenSans-BoldItalic.woff rename to fonts/BoldItalic/OpenSans-BoldItalic.woff diff --git a/font/ExtraBold/OpenSans-ExtraBold.eot b/fonts/ExtraBold/OpenSans-ExtraBold.eot similarity index 100% rename from font/ExtraBold/OpenSans-ExtraBold.eot rename to fonts/ExtraBold/OpenSans-ExtraBold.eot diff --git a/font/ExtraBold/OpenSans-ExtraBold.svg b/fonts/ExtraBold/OpenSans-ExtraBold.svg similarity index 100% rename from font/ExtraBold/OpenSans-ExtraBold.svg rename to fonts/ExtraBold/OpenSans-ExtraBold.svg diff --git a/font/ExtraBold/OpenSans-ExtraBold.ttf b/fonts/ExtraBold/OpenSans-ExtraBold.ttf similarity index 100% rename from font/ExtraBold/OpenSans-ExtraBold.ttf rename to fonts/ExtraBold/OpenSans-ExtraBold.ttf diff --git a/font/ExtraBold/OpenSans-ExtraBold.woff b/fonts/ExtraBold/OpenSans-ExtraBold.woff similarity index 100% rename from font/ExtraBold/OpenSans-ExtraBold.woff rename to fonts/ExtraBold/OpenSans-ExtraBold.woff diff --git a/font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot b/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot similarity index 100% rename from font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot rename to fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot diff --git a/font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg b/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg similarity index 100% rename from font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg rename to fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg diff --git a/font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf b/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf similarity index 100% rename from font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf rename to fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf diff --git a/font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff b/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff similarity index 100% rename from font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff rename to fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff diff --git a/font/Italic/OpenSans-Italic.eot b/fonts/Italic/OpenSans-Italic.eot similarity index 100% rename from font/Italic/OpenSans-Italic.eot rename to fonts/Italic/OpenSans-Italic.eot diff --git a/font/Italic/OpenSans-Italic.svg b/fonts/Italic/OpenSans-Italic.svg similarity index 100% rename from font/Italic/OpenSans-Italic.svg rename to fonts/Italic/OpenSans-Italic.svg diff --git a/font/Italic/OpenSans-Italic.ttf b/fonts/Italic/OpenSans-Italic.ttf similarity index 100% rename from font/Italic/OpenSans-Italic.ttf rename to fonts/Italic/OpenSans-Italic.ttf diff --git a/font/Italic/OpenSans-Italic.woff b/fonts/Italic/OpenSans-Italic.woff similarity index 100% rename from font/Italic/OpenSans-Italic.woff rename to fonts/Italic/OpenSans-Italic.woff diff --git a/font/Light/OpenSans-Light.eot b/fonts/Light/OpenSans-Light.eot similarity index 100% rename from font/Light/OpenSans-Light.eot rename to fonts/Light/OpenSans-Light.eot diff --git a/font/Light/OpenSans-Light.svg b/fonts/Light/OpenSans-Light.svg similarity index 100% rename from font/Light/OpenSans-Light.svg rename to fonts/Light/OpenSans-Light.svg diff --git a/font/Light/OpenSans-Light.ttf b/fonts/Light/OpenSans-Light.ttf similarity index 100% rename from font/Light/OpenSans-Light.ttf rename to fonts/Light/OpenSans-Light.ttf diff --git a/font/Light/OpenSans-Light.woff b/fonts/Light/OpenSans-Light.woff similarity index 100% rename from font/Light/OpenSans-Light.woff rename to fonts/Light/OpenSans-Light.woff diff --git a/font/LightItalic/OpenSans-LightItalic.eot b/fonts/LightItalic/OpenSans-LightItalic.eot similarity index 100% rename from font/LightItalic/OpenSans-LightItalic.eot rename to fonts/LightItalic/OpenSans-LightItalic.eot diff --git a/font/LightItalic/OpenSans-LightItalic.svg b/fonts/LightItalic/OpenSans-LightItalic.svg similarity index 100% rename from font/LightItalic/OpenSans-LightItalic.svg rename to fonts/LightItalic/OpenSans-LightItalic.svg diff --git a/font/LightItalic/OpenSans-LightItalic.ttf b/fonts/LightItalic/OpenSans-LightItalic.ttf similarity index 100% rename from font/LightItalic/OpenSans-LightItalic.ttf rename to fonts/LightItalic/OpenSans-LightItalic.ttf diff --git a/font/LightItalic/OpenSans-LightItalic.woff b/fonts/LightItalic/OpenSans-LightItalic.woff similarity index 100% rename from font/LightItalic/OpenSans-LightItalic.woff rename to fonts/LightItalic/OpenSans-LightItalic.woff diff --git a/font/Regular/OpenSans-Regular.eot b/fonts/Regular/OpenSans-Regular.eot similarity index 100% rename from font/Regular/OpenSans-Regular.eot rename to fonts/Regular/OpenSans-Regular.eot diff --git a/font/Regular/OpenSans-Regular.svg b/fonts/Regular/OpenSans-Regular.svg similarity index 100% rename from font/Regular/OpenSans-Regular.svg rename to fonts/Regular/OpenSans-Regular.svg diff --git a/font/Regular/OpenSans-Regular.ttf b/fonts/Regular/OpenSans-Regular.ttf similarity index 100% rename from font/Regular/OpenSans-Regular.ttf rename to fonts/Regular/OpenSans-Regular.ttf diff --git a/font/Regular/OpenSans-Regular.woff b/fonts/Regular/OpenSans-Regular.woff similarity index 100% rename from font/Regular/OpenSans-Regular.woff rename to fonts/Regular/OpenSans-Regular.woff diff --git a/font/Semibold/OpenSans-Semibold.eot b/fonts/Semibold/OpenSans-Semibold.eot similarity index 100% rename from font/Semibold/OpenSans-Semibold.eot rename to fonts/Semibold/OpenSans-Semibold.eot diff --git a/font/Semibold/OpenSans-Semibold.svg b/fonts/Semibold/OpenSans-Semibold.svg similarity index 100% rename from font/Semibold/OpenSans-Semibold.svg rename to fonts/Semibold/OpenSans-Semibold.svg diff --git a/font/Semibold/OpenSans-Semibold.ttf b/fonts/Semibold/OpenSans-Semibold.ttf similarity index 100% rename from font/Semibold/OpenSans-Semibold.ttf rename to fonts/Semibold/OpenSans-Semibold.ttf diff --git a/font/Semibold/OpenSans-Semibold.woff b/fonts/Semibold/OpenSans-Semibold.woff similarity index 100% rename from font/Semibold/OpenSans-Semibold.woff rename to fonts/Semibold/OpenSans-Semibold.woff diff --git a/font/SemiboldItalic/OpenSans-SemiboldItalic.eot b/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot similarity index 100% rename from font/SemiboldItalic/OpenSans-SemiboldItalic.eot rename to fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot diff --git a/font/SemiboldItalic/OpenSans-SemiboldItalic.svg b/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg similarity index 100% rename from font/SemiboldItalic/OpenSans-SemiboldItalic.svg rename to fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg diff --git a/font/SemiboldItalic/OpenSans-SemiboldItalic.ttf b/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf similarity index 100% rename from font/SemiboldItalic/OpenSans-SemiboldItalic.ttf rename to fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf diff --git a/font/SemiboldItalic/OpenSans-SemiboldItalic.woff b/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff similarity index 100% rename from font/SemiboldItalic/OpenSans-SemiboldItalic.woff rename to fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff diff --git a/open-sans.css b/open-sans.css index 009ba76..76c36b9 100644 --- a/open-sans.css +++ b/open-sans.css @@ -3,11 +3,11 @@ /* BEGIN Light */ @font-face { font-family: 'Open Sans'; - src: url('font/Light/OpenSans-Light.eot'); - src: url('font/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'), - url('font/Light/OpenSans-Light.woff') format('woff'), - url('font/Light/OpenSans-Light.ttf') format('truetype'), - url('font/Light/OpenSans-Light.svg#OpenSansLight') format('svg'); + src: url('fonts/Light/OpenSans-Light.eot'); + src: url('fonts/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'), + url('fonts/Light/OpenSans-Light.woff') format('woff'), + url('fonts/Light/OpenSans-Light.ttf') format('truetype'), + url('fonts/Light/OpenSans-Light.svg#OpenSansLight') format('svg'); font-weight: 300; font-style: normal; } @@ -16,11 +16,11 @@ /* BEGIN Light Italic */ @font-face { font-family: 'Open Sans'; - src: url('font/LightItalic/OpenSans-LightItalic.eot'); - src: url('font/LightItalic/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'), - url('font/LightItalic/OpenSans-LightItalic.woff') format('woff'), - url('font/LightItalic/OpenSans-LightItalic.ttf') format('truetype'), - url('font/LightItalic/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg'); + src: url('fonts/LightItalic/OpenSans-LightItalic.eot'); + src: url('fonts/LightItalic/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/LightItalic/OpenSans-LightItalic.woff') format('woff'), + url('fonts/LightItalic/OpenSans-LightItalic.ttf') format('truetype'), + url('fonts/LightItalic/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg'); font-weight: 300; font-style: italic; } @@ -29,11 +29,11 @@ /* BEGIN Regular */ @font-face { font-family: 'Open Sans'; - src: url('font/Regular/OpenSans-Regular.eot'); - src: url('font/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), - url('font/Regular/OpenSans-Regular.woff') format('woff'), - url('font/Regular/OpenSans-Regular.ttf') format('truetype'), - url('font/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg'); + src: url('fonts/Regular/OpenSans-Regular.eot'); + src: url('fonts/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'), + url('fonts/Regular/OpenSans-Regular.woff') format('woff'), + url('fonts/Regular/OpenSans-Regular.ttf') format('truetype'), + url('fonts/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg'); font-weight: normal; font-style: normal; } @@ -42,11 +42,11 @@ /* BEGIN Italic */ @font-face { font-family: 'Open Sans'; - src: url('font/Italic/OpenSans-Italic.eot'); - src: url('font/Italic/OpenSans-Italic.eot?#iefix') format('embedded-opentype'), - url('font/Italic/OpenSans-Italic.woff') format('woff'), - url('font/Italic/OpenSans-Italic.ttf') format('truetype'), - url('font/Italic/OpenSans-Italic.svg#OpenSansItalic') format('svg'); + src: url('fonts/Italic/OpenSans-Italic.eot'); + src: url('fonts/Italic/OpenSans-Italic.eot?#iefix') format('embedded-opentype'), + url('fonts/Italic/OpenSans-Italic.woff') format('woff'), + url('fonts/Italic/OpenSans-Italic.ttf') format('truetype'), + url('fonts/Italic/OpenSans-Italic.svg#OpenSansItalic') format('svg'); font-weight: normal; font-style: italic; } @@ -55,11 +55,11 @@ /* BEGIN Semibold */ @font-face { font-family: 'Open Sans'; - src: url('font/Semibold/OpenSans-Semibold.eot'); - src: url('font/Semibold/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'), - url('font/Semibold/OpenSans-Semibold.woff') format('woff'), - url('font/Semibold/OpenSans-Semibold.ttf') format('truetype'), - url('font/Semibold/OpenSans-Semibold.svg#OpenSansSemibold') format('svg'); + src: url('fonts/Semibold/OpenSans-Semibold.eot'); + src: url('fonts/Semibold/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'), + url('fonts/Semibold/OpenSans-Semibold.woff') format('woff'), + url('fonts/Semibold/OpenSans-Semibold.ttf') format('truetype'), + url('fonts/Semibold/OpenSans-Semibold.svg#OpenSansSemibold') format('svg'); font-weight: 600; font-style: normal; } @@ -68,11 +68,11 @@ /* BEGIN Semibold Italic */ @font-face { font-family: 'Open Sans'; - src: url('font/SemiboldItalic/OpenSans-SemiboldItalic.eot'); - src: url('font/SemiboldItalic/OpenSans-SemiboldItalic.eot?#iefix') format('embedded-opentype'), - url('font/SemiboldItalic/OpenSans-SemiboldItalic.woff') format('woff'), - url('font/SemiboldItalic/OpenSans-SemiboldItalic.ttf') format('truetype'), - url('font/SemiboldItalic/OpenSans-SemiboldItalic.svg#OpenSansSemiboldItalic') format('svg'); + src: url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot'); + src: url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff') format('woff'), + url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf') format('truetype'), + url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg#OpenSansSemiboldItalic') format('svg'); font-weight: 600; font-style: italic; } @@ -81,11 +81,11 @@ /* BEGIN Bold */ @font-face { font-family: 'Open Sans'; - src: url('font/Bold/OpenSans-Bold.eot'); - src: url('font/Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), - url('font/Bold/OpenSans-Bold.woff') format('woff'), - url('font/Bold/OpenSans-Bold.ttf') format('truetype'), - url('font/Bold/OpenSans-Bold.svg#OpenSansBold') format('svg'); + src: url('fonts/Bold/OpenSans-Bold.eot'); + src: url('fonts/Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), + url('fonts/Bold/OpenSans-Bold.woff') format('woff'), + url('fonts/Bold/OpenSans-Bold.ttf') format('truetype'), + url('fonts/Bold/OpenSans-Bold.svg#OpenSansBold') format('svg'); font-weight: bold; font-style: normal; } @@ -94,11 +94,11 @@ /* BEGIN Bold Italic */ @font-face { font-family: 'Open Sans'; - src: url('font/BoldItalic/OpenSans-BoldItalic.eot'); - src: url('font/BoldItalic/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'), - url('font/BoldItalic/OpenSans-BoldItalic.woff') format('woff'), - url('font/BoldItalic/OpenSans-BoldItalic.ttf') format('truetype'), - url('font/BoldItalic/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg'); + src: url('fonts/BoldItalic/OpenSans-BoldItalic.eot'); + src: url('fonts/BoldItalic/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/BoldItalic/OpenSans-BoldItalic.woff') format('woff'), + url('fonts/BoldItalic/OpenSans-BoldItalic.ttf') format('truetype'), + url('fonts/BoldItalic/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg'); font-weight: bold; font-style: italic; } @@ -107,11 +107,11 @@ /* BEGIN Extrabold */ @font-face { font-family: 'Open Sans'; - src: url('font/ExtraBold/OpenSans-ExtraBold.eot'); - src: url('font/ExtraBold/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'), - url('font/ExtraBold/OpenSans-ExtraBold.woff') format('woff'), - url('font/ExtraBold/OpenSans-ExtraBold.ttf') format('truetype'), - url('font/ExtraBold/OpenSans-ExtraBold.svg#OpenSansExtrabold') format('svg'); + src: url('fonts/ExtraBold/OpenSans-ExtraBold.eot'); + src: url('fonts/ExtraBold/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'), + url('fonts/ExtraBold/OpenSans-ExtraBold.woff') format('woff'), + url('fonts/ExtraBold/OpenSans-ExtraBold.ttf') format('truetype'), + url('fonts/ExtraBold/OpenSans-ExtraBold.svg#OpenSansExtrabold') format('svg'); font-weight: 800; font-style: normal; } @@ -120,12 +120,12 @@ /* BEGIN Extrabold Italic */ @font-face { font-family: 'Open Sans'; - src: url('font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot'); - src: url('font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'), - url('font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff') format('woff'), - url('font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf') format('truetype'), - url('font/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg#OpenSansExtraboldItalic') format('svg'); + src: url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot'); + src: url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff') format('woff'), + url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf') format('truetype'), + url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg#OpenSansExtraboldItalic') format('svg'); font-weight: 800; font-style: italic; } -/* END Extrabold Italic */ \ No newline at end of file +/* END Extrabold Italic */ diff --git a/open-sans.less b/open-sans.less index 1db25f6..236a402 100644 --- a/open-sans.less +++ b/open-sans.less @@ -1,6 +1,6 @@ /* Open Sans @font-face kit */ -@OpenSansPath: "./font"; +@OpenSansPath: "./fonts"; /* BEGIN Light */ @font-face { @@ -130,4 +130,4 @@ font-weight: 800; font-style: italic; } -/* END Extrabold Italic */ \ No newline at end of file +/* END Extrabold Italic */ diff --git a/open-sans.scss b/open-sans.scss index f1c075c..a46063f 100644 --- a/open-sans.scss +++ b/open-sans.scss @@ -1,6 +1,6 @@ /* Open Sans @font-face kit */ -$OpenSansPath: "./font"; +$OpenSansPath: "./fonts" !default; /* BEGIN Light */ @font-face {