我尝试将新图标添加到selection.json中,我下载了新的json文件,并在其中添加了该图标。但是它们在index.html中不可见。我没有看到facebook和goole +图标。selection.json自动更新了我的iconmoon.svf文件。我的selection.json代码。
{
"IcoMoonType": "selection",
"icons": [
{
"icon": {
"paths": [
"M325.8 457.4v111.8h184.8c-7.4 48-55.8 140.6-184.8 140.6-111.2 0-202-92.2-202-205.8s90.8-205.8 202-205.8c63.4 0 105.6 27 129.8 50.2l88.4-85.2c-56.8-53-130.4-85.2-218.2-85.2-180.2 0.2-325.8 145.8-325.8 326s145.6 325.8 325.8 325.8c188 0 312.8-132.2 312.8-318.4 0-21.4-2.4-37.8-5.2-54h-307.6z",
"M1024 448h-96v-96h-96v96h-96v96h96v96h96v-96h96z"
],
"attrs": [
{"fill": "rgb(53, 78, 90)"}
],
"isMulticolor": false,
"isMulticolor2": false,
"tags": [
"icon-google-plus"
],
"grid": 16
},
"attrs": [
{"fill": "rgb(53, 78, 90)"}
],
"properties": {
"order": 68,
"id": 2,
"name": "google-plus",
"prevSize": 32
},
"setIdx": 0,
"setId": 2,
"iconIdx": 0
}, …Run Code Online (Sandbox Code Playgroud)