@duetds/icons
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -85,2 +85,3 @@ { | ||
{ "title": "form-email" }, | ||
{ "title": "form-file" }, | ||
{ "title": "form-location" }, | ||
@@ -98,2 +99,3 @@ { "title": "form-money" }, | ||
{ "title": "messaging-claim-certificate" }, | ||
{ "title": "messaging-contact" }, | ||
{ "title": "messaging-date-moved" }, | ||
@@ -105,8 +107,13 @@ { "title": "messaging-declined" }, | ||
{ "title": "messaging-laptop" }, | ||
{ "title": "messaging-login" }, | ||
{ "title": "messaging-logout" }, | ||
{ "title": "messaging-navigate-away" }, | ||
{ "title": "messaging-no-user" }, | ||
{ "title": "messaging-notification" }, | ||
{ "title": "messaging-paper-plane" }, | ||
{ "title": "messaging-percentage" }, | ||
{ "title": "messaging-question" }, | ||
{ "title": "messaging-security" }, | ||
{ "title": "messaging-terms" }, | ||
{ "title": "messaging-timed-out" }, | ||
{ "title": "navigation-arrow-down" }, | ||
@@ -113,0 +120,0 @@ { "title": "navigation-arrow-left" }, |
@@ -1,1 +0,1 @@ | ||
{"_class":"document","do_objectID":"858908a9-30c0-4c5e-b21d-186e53ae8c1a","assets":{"_class":"assetCollection","colors":[]},"currentPageIndex":0,"enableLayerInteraction":true,"enableSliceInteraction":true,"foreignSymbols":[],"layerStyles":{"_class":"sharedStyleContainer","objects":[]},"layerSymbols":{"_class":"symbolContainer","objects":[]},"layerTextStyles":{"_class":"sharedTextStyleContainer","objects":[]},"pages":[]} | ||
{"_class":"document","do_objectID":"0b58899a-a253-4465-aa61-f36ac5c5f7ec","assets":{"_class":"assetCollection","colors":[]},"currentPageIndex":0,"enableLayerInteraction":true,"enableSliceInteraction":true,"foreignSymbols":[],"layerStyles":{"_class":"sharedStyleContainer","objects":[]},"layerSymbols":{"_class":"symbolContainer","objects":[]},"layerTextStyles":{"_class":"sharedTextStyleContainer","objects":[]},"pages":[]} |
@@ -33,3 +33,4 @@ #!/usr/bin/env node | ||
let name = toTitleCase(obj[prop].title.replace(/-/i, "/ ").replace(/-/gi, " ")).replace("/ ", "/") | ||
let code = obj[prop].svg.replace("role='img'", "data-sketch-symbol='Duet Icons/" + name + "' role='img'") | ||
let code = obj[prop].svg.replace('role="img"', 'data-sketch-symbol="Duet Icons/' + name + '" role="img"') | ||
console.log(code) | ||
html += code | ||
@@ -36,0 +37,0 @@ } |
{ | ||
"name": "@duetds/icons", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "This package includes Duet Icons and related tools.", | ||
@@ -36,3 +36,3 @@ "author": "Viljami Salminen <ext-viljami.salminen@lahitapiola.fi>", | ||
}, | ||
"gitHead": "ffcdbfd698a3d08af3fc7e500b8b3844b92dffd5", | ||
"gitHead": "f8df3a0854e0337dcffd72d9a167ea51ab3669eb", | ||
"devDependencies": { | ||
@@ -39,0 +39,0 @@ "copyfiles": "^2.1.0", |
@@ -12,4 +12,14 @@ [![Build Status](https://lt-devtool.visualstudio.com/Duet%20Design%20System/_apis/build/status/Duet%20Design%20System?branchName=master)](https://lt-devtool.visualstudio.com/Duet%20Design%20System/_build/latest?definitionId=58&branchName=master) | ||
## Building a new Sketch library | ||
1. Run `npm run build` | ||
2. Run `html-sketchapp-install` | ||
3. Run `npm run prepublishOnly` | ||
4. Run `npm run presketch` | ||
5. Run `npm start` | ||
6. Run `npm run html-sketchapp` | ||
7. Open Sketch, create new file and use “From *Almost* Sketch to Sketch” plugin to import the two JSON files created. | ||
## Copyright | ||
Copyright © 2019 LocalTapiola/Turva. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1676640
289
212
25