Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created May 28, 2016 02:40
Show Gist options
  • Save davidgilbertson/e4cad38120184897d6588853f6a8c18a to your computer and use it in GitHub Desktop.
Save davidgilbertson/e4cad38120184897d6588853f6a8c18a to your computer and use it in GitHub Desktop.
// this is the selection.json file from IcoMoon, with "export default" added at the start and renamed from '.json' to '.js';
export default {
"IcoMoonType": "selection",
"icons": [
{
"icon": {
"paths": [
"M192 1024h640l64-704h-768zM640 128v-128h-256v128h-320v192l64-64h768l64 64v-192h-320zM576 128h-128v-64h128v64z"
],
"tags": [
"bin",
"trashcan",
"remove",
"delete",
"recycle",
"dispose"
],
"defaultCode": 59821,
"grid": 16,
"attrs": []
},
"attrs": [],
"properties": {
"ligatures": "bin2, trashcan2",
"name": "bin2",
"order": 3,
"id": 174,
"prevSize": 32,
"code": 59821
},
"setIdx": 0,
"setId": 1,
"iconIdx": 173
},
{
"icon": {
"paths": [
"M608 192h160v-192h-160c-123.514 0-224 100.486-224 224v96h-128v192h128v512h192v-512h160l32-192h-192v-96c0-17.346 14.654-32 32-32z"
],
"tags": [
"facebook",
"brand",
"social"
],
"defaultCode": 60048,
"grid": 16,
"attrs": []
},
"attrs": [],
"properties": {
"ligatures": "facebook, brand10",
"name": "facebook",
"order": 2,
"id": 401,
"prevSize": 32,
"code": 60048
},
"setIdx": 0,
"setId": 1,
"iconIdx": 400
}
],
"height": 1024,
"metadata": {
"name": "icomoon"
},
"preferences": {
"showGlyphs": true,
"showQuickUse": true,
"showQuickUse2": true,
"showSVGs": true,
"fontPref": {
"prefix": "icon-",
"metadata": {
"fontFamily": "icomoon"
},
"metrics": {
"emSize": 1024,
"baseline": 6.25,
"whitespace": 50
},
"embed": false
},
"imagePref": {
"prefix": "icon-",
"png": true,
"useClassSelector": true,
"color": 0,
"bgColor": 16777215,
"classSelector": ".icon"
},
"historySize": 100,
"showCodes": true,
"gridSize": 16
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment