Skip to content

Commit

Permalink
added some new icons
Browse files Browse the repository at this point in the history
* Ind.ie
* Diaspora
* Ghost
  • Loading branch information
pfefferle committed May 18, 2015
1 parent 56e1e7b commit 578defb
Show file tree
Hide file tree
Showing 24 changed files with 968 additions and 768 deletions.
221 changes: 112 additions & 109 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,120 +2,123 @@
/* global module: true */
module.exports = function (grunt) {

'use strict';
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
expanded: {
options: {
style: 'expanded'
},
files: {
'css/openwebicons.css': 'sass/openwebicons.scss',
'css/openwebicons-bootstrap.css': 'sass/openwebicons-bootstrap.scss',
'css/openwebicons-cdn.css': 'sass/openwebicons-cdn.scss',
'styleguide/css/openwebicons-styleguide.css': 'sass/openwebicons-styleguide.scss'
}
},
compressed: {
options: {
style: 'compressed'
},
files: {
'css/openwebicons.min.css': 'sass/openwebicons.scss',
'css/openwebicons-bootstrap.min.css': 'sass/openwebicons-bootstrap.scss',
'css/openwebicons-cdn.min.css': 'sass/openwebicons-cdn.scss'
}
},
compact: {
options: {
style: 'compact'
},
files: {
'css/weloveiconfonts.css': 'sass/weloveiconfonts.scss'
}
}
},
// generate a TTF file from the SVG file
svg2ttf: {
svg2ttf: {
src: 'source/*.svg',
dest: 'source/'
}
},
'use strict';
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
expanded: {
options: {
style: 'expanded',
sourcemap: 'none'
},
files: {
'css/openwebicons.css': 'sass/openwebicons.scss',
'css/openwebicons-bootstrap.css': 'sass/openwebicons-bootstrap.scss',
'css/openwebicons-cdn.css': 'sass/openwebicons-cdn.scss',
'styleguide/css/openwebicons-styleguide.css': 'sass/openwebicons-styleguide.scss'
}
},
compressed: {
options: {
style: 'compressed',
sourcemap: 'none'
},
files: {
'css/openwebicons.min.css': 'sass/openwebicons.scss',
'css/openwebicons-bootstrap.min.css': 'sass/openwebicons-bootstrap.scss',
'css/openwebicons-cdn.min.css': 'sass/openwebicons-cdn.scss'
}
},
compact: {
options: {
style: 'compact',
sourcemap: 'none'
},
files: {
'css/weloveiconfonts.css': 'sass/weloveiconfonts.scss'
}
}
},
// generate a TTF file from the SVG file
svg2ttf: {
svg2ttf: {
src: 'source/*.svg',
dest: 'source/'
}
},

kss: {
options: {
includeType: 'css',
includePath: 'styleguide/css/openwebicons-styleguide.css',
},
dist: {
files: {
'styleguide': ['styleguide/css']
}
}
},
kss: {
options: {
includeType: 'css',
includePath: 'styleguide/css/openwebicons-styleguide.css',
},
dist: {
files: {
'styleguide': ['styleguide/css']
}
}
},

update_json: {
// update bower.json with data from package.json
bower: {
src: 'package.json', // where to read from
dest: 'bower.json', // where to write to
// the fields to update, as a String Grouping
fields: {
'name': null,
'version': null,
'description': null
}
},
// update component.json with data from package.json
// component.json fields are a named a bit differently from
// package.json, so let's tell update_json how to map names
component: {
src: 'package.json',
// reuse the task-level `src`
dest: 'component.json', // where to write to
fields: {
'name': null,
'author': null,
'description': null,
'version': null,
'keywords': null,
'main': null,
'development': 'devDependencies',
'license': null
}
},
// `composer` has the same data as `package`, but has some tricky
// semantics
composer: {
src: 'package.json',
// again, reuse the task-level `src`
dest: 'composer.json',
// the fields in an Array Grouping with some embedded Object Groupings
fields: {
'description': null,
'keywords': null,
'license': null
}
}
}
});
update_json: {
// update bower.json with data from package.json
bower: {
src: 'package.json', // where to read from
dest: 'bower.json', // where to write to
// the fields to update, as a String Grouping
fields: {
'name': null,
'version': null,
'description': null
}
},
// update component.json with data from package.json
// component.json fields are a named a bit differently from
// package.json, so let's tell update_json how to map names
component: {
src: 'package.json',
// reuse the task-level `src`
dest: 'component.json', // where to write to
fields: {
'name': null,
'author': null,
'description': null,
'version': null,
'keywords': null,
'main': null,
'development': 'devDependencies',
'license': null
}
},
// `composer` has the same data as `package`, but has some tricky
// semantics
composer: {
src: 'package.json',
// again, reuse the task-level `src`
dest: 'composer.json',
// the fields in an Array Grouping with some embedded Object Groupings
fields: {
'description': null,
'keywords': null,
'license': null
}
}
}
});

// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-update-json');
grunt.loadNpmTasks('grunt-svg2ttf');
grunt.loadNpmTasks('grunt-kss');
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-update-json');
grunt.loadNpmTasks('grunt-svg2ttf');
grunt.loadNpmTasks('grunt - kss');

// generate ttf file using the svg file.
grunt.registerTask('font', ['svg2ttf']);
// generate ttf file using the svg file.
grunt.registerTask('font', ['svg2ttf']);

// generate styleguide
grunt.registerTask('styleguide', ['sass', 'kss']);
// generate styleguide
grunt.registerTask('styleguide', ['sass', 'kss']);

// Default task(s).
grunt.registerTask('default', ['sass', 'update_json']);
// Default task(s).
grunt.registerTask('default', ['sass', 'update_json']);

};
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ You can find more informations and a list of all icons here: http://pfefferle.gi

## Changelog

### Version 1.3.2

* **2015-05-18**: Added Ghost, Diaspora and Ind.ie icon

### Version 1.3.1

* **2014-11-28**: Added Unhosted icon
Expand Down
32 changes: 6 additions & 26 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,7 @@
{
"name": "openwebicons",
"version": "1.3.1",
"main": [
"./css/openwebicons.css",
"./css/openwebicons-bootstrap.css"
],
"ignore": [
"config",
"sass",
"source",
"styleguide",
".DS_Store",
".editorconfig",
".gitignore",
".npmignore",
".jshintrc",
"bower.json",
"compile.sh",
"component.json",
"composer.json",
"Gruntfile.js",
"package.json",
"README.md"
],
"description": "OpenWeb Icons"
}
"name": "openwebicons",
"version": "1.3.2",
"main": ["./css/openwebicons.css", "./css/openwebicons-bootstrap.css"],
"ignore": ["config", "sass", "source", "styleguide", ".DS_Store", ".editorconfig", ".gitignore", ".npmignore", ".jshintrc", "bower.json", "compile.sh", "component.json", "composer.json", "Gruntfile.js", "package.json", "README.md"],
"description": "OpenWeb Icons"
}
51 changes: 22 additions & 29 deletions component.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
{
"name": "openwebicons",
"repository": "pfefferle/openwebicons",
"version": "1.3.1",
"keywords": [
"openweb",
"icons",
"font",
"css",
"sass",
"scss"
],
"main": "Gruntfile.js",
"license": "OFL-1.1",
"styles": [
"css/openwebicons.css"
],
"fonts": [
"font/openwebicons.eot",
"font/openwebicons.svg",
"font/openwebicons.ttf",
"font/openwebicons.woff"
],
"description": "OpenWeb Icons",
"author": {
"name": "Matthias Pfefferle",
"email": "[email protected]",
"url": "http://notizblog.org"
}
}
"name": "openwebicons",
"repository": "pfefferle/openwebicons",
"version": "1.3.2",
"keywords": ["openweb", "icons", "font", "css", "sass", "scss"],
"main": "Gruntfile.js",
"license": "OFL-1.1",
"styles": ["css/openwebicons.css"],
"fonts": ["font/openwebicons.eot", "font/openwebicons.svg", "font/openwebicons.ttf", "font/openwebicons.woff", "font/openwebicons.woff2"],
"description": "OpenWeb Icons",
"author": {
"name": "Matthias Pfefferle",
"email": "[email protected]",
"url": "http://notizblog.org"
},
"development": {
"grunt": "~0.4.1",
"grunt-contrib-sass": "~0.8.0",
"grunt-kss": "^0.4.0",
"grunt-svg2ttf": "*",
"grunt-update-json": "*"
}
}
25 changes: 9 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
{
"name": "pfefferle/openwebicons",
"description": "OpenWeb Icons",
"type": "component",
"keywords": [
"openweb",
"icons",
"font",
"css",
"sass",
"scss"
],
"license": "OFL-1.1",
"repositories": {
"type": "git",
"url": "https://github.com/pfefferle/openwebicons.git"
}
"name": "pfefferle/openwebicons",
"description": "OpenWeb Icons",
"type": "component",
"keywords": ["openweb", "icons", "font", "css", "sass", "scss"],
"license": "OFL-1.1",
"repositories": {
"type": "git",
"url": "https://github.com/pfefferle/openwebicons.git"
}
}
Loading

0 comments on commit 578defb

Please sign in to comment.