Thank you for your interest in contributing to the Pajamas Design System! We welcome all feedback regarding designs, guidelines, and implementation. The following details how to contribute easily and efficiently.
Contribute an issue
If you are interested in contributing to our design system, the first step is ensuring that an issue exists in our issue tracker. There are many applications that an issue can have, including:
- Submitting feature proposals
- Asking questions
- Reporting bugs and malfunctions
- Obtaining support
- Enhancing code implementations
If you were unable to find a related issue in our issue tracker, begin by creating a new one. Creating an issue for each change allows us to easily track all proposals in one place. For changes that affect visual designs or user experiences, it can be helpful to include a mockup.
To contribute an issue, follow one of these paths depending on its nature:
- Component: Get familiar with our Component lifecycle.
- Object: Create an issue with the “Object documentation” template and follow its instructions.
- Everything else: Create an issue with no template.
If your proposal involves a new guideline or UX paradigm, ping a UX reviewer or maintainer to review and provide feedback.
If your proposal involves a change to the frontend implementation, ping a frontend reviewer or maintainer to review and provide feedback.
Contribute a merge request
To make changes within our Design System, follow these instructions:
- Choose an issue to work on. If one does not exist, please review the contribution guidelines regarding creating a new one. This opens the conversation and allows feedback to happen early, preventing risks such as duplicated or unnecessary work. It can be helpful to comment in the issue to verify that no one is working on it and that the issue is still relevant.
- Fork this project.
- Make changes reflecting the issue you’ve chosen to work on.
- Create a merge request using the
Documentationtemplate. The earlier you open a merge request, the sooner you can get feedback. You can mark it as a draft to signal that you’re not done yet.
- We use conventional commits in Pajamas, so make sure you write commits this way in your merge request. How to write conventional commits.
- Get your merge request approved. If your changes involved a new guideline or UX paradigm, then ping a UX reviewer or maintainer to approve your changes. If your changes involve an update to frontend implementation, ping a frontend reviewer or maintainer to approve. Some merge requests will require both a UX and frontend approver.
- Get your changes merged! After the necessary approvals have been added, a UX or frontend maintainer can then merge your merge request. 🙌
Last updated at: