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
commit-message: "feat(icons): sync and connect icons with figma library"
74
+
title: "feat(icons): sync and connect icons with figma library"
82
75
body: |
83
-
Automated icon sync & connect run.
84
-
Commands executed:
85
-
- pnpm nx @launchpad-ui/icons:sync
86
-
- pnpm nx @launchpad-ui/icons:connect
87
-
88
-
Diff:
89
-
${{ env.DIFF_BODY }}
76
+
## Summary
77
+
This PR is an automated icon sync with LaunchPad Figma library. If you resync while this PR is open, the updated changes will be added to this same PR.
78
+
${{ env.CHANGESET_SUMMARY }}
90
79
labels: |
91
80
icons
81
+
ci
92
82
assignees: ${{ github.actor }}
93
83
94
-
- name: No-op (no changes)
84
+
- name: No-op (when no changes to icons)
95
85
if: steps.changes.outputs.changed != 'true'
96
86
run: echo "No changes detected, skipping changeset and PR creation."
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,18 +183,18 @@ $ pnpm test
183
183
184
184
### Adding Icons to LaunchPad
185
185
186
-
_Do not add icons manually. LaunchPad icons are managed in Figma and synced to the `@launchpad-ui/icons` package via a script._
187
-
188
-
To add a new icon to LaunchPad:
189
-
190
-
- Create a branch in the LaunchPad Figma library and add your icon to the /Icons page.
191
-
- Make sure your new icon is reviewed by design. You can always ping `@uxteam` in #ask-launchpad-design-system if you need help making your icon or to get a review.
192
-
- Merge the icon to the LaunchPad Figma library
193
-
- Run the `sync-icons` GitHub action. This action does the following:
194
-
- Runs `pnpm nx run @launchpad-ui/icons:sync` to build the icons from Figma
195
-
- Runs `pnpm nx run @launchpad-ui/icons:connect` to update the icons [Figma Code Connect](https://github.com/figma/code-connect/blob/main/cli/scripts/README.md) file.
196
-
- Opens a pull request for you
197
-
-Open the `Components/Icons` page on the PR deployed Chromatic storybook to ensure your icon was generated properly.
186
+
_Do not add icons manually to launchpad-ui. Icons are managed in Figma and synced to the `@launchpad-ui/icons` package via a script._
187
+
188
+
#### First, add your icon to the Figma library
189
+
190
+
1. Create a branch in the LaunchPad Figma library and add your icon to the [Icons](https://www.figma.com/design/98HKKXL2dTle29ikJ3tzk7/%F0%9F%9A%80-LaunchPad?m=auto&node-id=1-1483&t=YGNnNEonY474hKwo-1) page.
191
+
1. Make sure your new icon is reviewed by Design. You can always ping the`@uxteam` in #ask-launchpad-design-system if you need help making your icon or to get a review.
192
+
1. Merge the icon to the LaunchPad Figma library
193
+
194
+
#### Then, sync `@launchpad-ui/icons` package with Figma
195
+
196
+
1. Trigger the `sync-icons` workflow by going to [the actions tab](https://github.com/launchdarkly/launchpad-ui/actions/workflows/sync-icons.yml) and clicking "Run workflow". This action will generate a PR with your new icon.
197
+
1.[Open your PR](https://github.com/launchdarkly/launchpad-ui/pulls?q=is%3Apr+is%3Aopen+label%3Aicons). Make sure your icons look correct by opening the Chromatic build preview for your PR. Reviewers will be auto assigned.
0 commit comments