You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,19 @@ npm run test:nuget
110
110
111
111
All icons and spots are pulled directly from Figma via their API. The _only_ way to add or update icons is by directly modifying the [source Figma file](https://www.figma.com/file/NxAqQAi9i5XsrZSm1WYj6tsM) and then publishing a new component release from within Figma.
112
112
113
+
#### Publishing an icon
114
+
115
+
In order to expose a new icon to this repository, you'll need to convert it into a component then publish it by following these steps:
116
+
117
+
1. Open the [source Figma file](https://www.figma.com/file/NxAqQAi9i5XsrZSm1WYj6tsM)
118
+
2. Navigate to the newly added icon. Note the absense of the segmented diamond icon next to the icon name.
119
+
3. Right click on the icon to open the context menu and select "Create component"
120
+
4. Right click on the icon again to reopen the context menu and select "Main Component > Publish selected components"
121
+
5. Within the "Publish libray" modal, select the icon(s) you'd like to publish
122
+
6. Click "Publish"
123
+
124
+
#### Adding a published icon to this library
125
+
113
126
In order to ensure that any new icons/spots in Figma are pulled into this repo, the definitions will need to be added to `scripts/definitions.ts`:
0 commit comments