4.9 KiB
userstyles.yml
The userstyles.yml file is responsible for tracking all userstyle and maintainer metadata.
Tip
The
userstyles.schema.jsonfile is the schema specification foruserstyles.yml. Please refer to it for clarification.
Adding a new userstyle
-
Locate the
userstylessection ofuserstyles.ymland add an entry for the new userstyle to the list in alphabetical order.You should make changes to everything wrapped in
<>and remove the<>characters. If you need help with any of the fields, refer to other ports in theuserstyles.ymlfile. If you would like extra guidance, you can ask for help in the pull request comments or join the Catppuccin Discord server.Required Fields:
<port>: name: <name> # Up to 3 categories are allowed, and having at least one is required. # The first category is considered the "primary" category and impacts where the userstyle appears on the README. categories: [<primary-category>] color: <color> readme: app-link: <url> current-maintainers: [*<github-username>]All Fields:
The
readme.usageandreadme.faqfields allow for additional information about the port to be included on the README.The
iconfield allows for specifying an icon from Simple Icons for the userstyle. The icon's "slug" - which can be found by hovering over the icon's title and clicking the copy button - should be used.The
past-maintainersfield contains a list of maintainers who have maintained the port in the past. We encourage all maintainers to add/remove themselves from this list as they see fit.Remember that these 4 fields are optional.
<port>: name: <name> categories: [<primary-category>, <optional-secondary-category>, <optional-third-category>] color: <color> icon: <icon> # OPTIONAL readme: app-link: "<url>" usage: |+ # OPTIONAL > [!NOTE] > <your notes> faq: # OPTIONAL - question: <question> answer: <answer> current-maintainers: [*<github-username>] past-maintainers: [*<github-username>] # OPTIONAL
Adding yourself as a maintainer
- Add a new entry to the end of the
collaboratorsarray in theuserstyles.ymlfile. The entry should be made under your GitHub username, and may optionally contain thename(your preferred name) andurlfields. The following example shows a new entry for a user "Pepperjack".
collaborators:
- &pepperjack
name: Pepperjack # OPTIONAL
url: https://github.com/catppuccin
- Add your username to the
current-maintainersarray of the userstyle you wish to maintain. The following example shows the user "Pepperjack" added to theexample.orguserstyle.
userstyles:
example.org:
name: example.org
categories: [productivity]
color: text
readme:
app-link: "https://example.org"
- current-maintainers: []
+ current-maintainers: [*pepperjack]
If the change is accepted, you will receive an invitation to the catppuccin organization, and become a member of the userstyles-maintainers team.
As a maintainer you will be expected to:
- Review and merge PRs for the userstyle you maintain.
- Keep the userstyle up to date with the latest changes. If you no longer wish to maintain a userstyle, see Removing yourself as a maintainer.
- Follow our code of conduct and guidelines.
Removing yourself as a maintainer
- Remove your username from the
current-maintainersarray and add it to thepast-maintainersarray of the userstyle(s) you no longer want to maintain. The following example shows the user "Pepperjack" removed from theexample.orguserstyle.
userstyles:
example.org:
name: example.org
categories: [productivity]
color: text
readme:
app-link: "https://example.org"
- current-maintainers: [*pepperjack]
+ current-maintainers: []
+ past-maintainers: [*pepperjack]
Note
If you would prefer to not be listed as a past maintainer at all, you can remove yourself from
collaboratorsarray entirely. Upon removal, you will also be removed from theuserstyles-maintainersGitHub team.