From 3fc9abfe2cbda4efa57b46d5f4d5c81173a932c0 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Tue, 29 Oct 2013 14:25:15 -0700 Subject: [PATCH 1/2] add component.json --- component.json | 16 ++++++++++++++++ readme.md | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 000000000..0c472b425 --- /dev/null +++ b/component.json @@ -0,0 +1,16 @@ +{ + "name": "ionicons", + "repo": "driftyco/ionicons", + "description": "The premium icon font for Ionic Framework.", + "version": "v1.2", + "license": "MIT", + "styles": [ + "ionicons.css" + ], + "fonts": [ + "fonts/ionicons.eot", + "fonts/ionicons.svg", + "fonts/ionicons.ttf", + "fonts/ionicons.woff" + ] +} \ No newline at end of file diff --git a/readme.md b/readme.md index 3ab9ad1b3..764b5d012 100644 --- a/readme.md +++ b/readme.md @@ -13,6 +13,10 @@ We intend for this icon pack to be used with [Ionic](http://ionicframework.com/) 4. Ensure the font urls within `ionicons.css` properly reference the `font` path within your project. 5. Include a reference to the `ionicons.css` file from every webpage you need to use it. +Or install with [component](https://github.com/component/component): + + $ component install driftyco/ionicons + ## HTML Example From 498792ece04af03371c4ac42be33271e2e75fbe9 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Tue, 29 Oct 2013 14:40:04 -0700 Subject: [PATCH 2/2] fix with tabs to match repo style --- component.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/component.json b/component.json index 0c472b425..bfe5fcb81 100644 --- a/component.json +++ b/component.json @@ -1,16 +1,16 @@ { - "name": "ionicons", - "repo": "driftyco/ionicons", - "description": "The premium icon font for Ionic Framework.", - "version": "v1.2", - "license": "MIT", - "styles": [ - "ionicons.css" - ], - "fonts": [ - "fonts/ionicons.eot", - "fonts/ionicons.svg", - "fonts/ionicons.ttf", - "fonts/ionicons.woff" - ] + "name": "ionicons", + "repo": "driftyco/ionicons", + "description": "The premium icon font for Ionic Framework.", + "version": "v1.2", + "license": "MIT", + "styles": [ + "ionicons.css" + ], + "fonts": [ + "fonts/ionicons.eot", + "fonts/ionicons.svg", + "fonts/ionicons.ttf", + "fonts/ionicons.woff" + ] } \ No newline at end of file