From 7dda5540ca724eb50ae8b869621f73bece3866e1 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 01:00:41 +0000 Subject: [PATCH] style: format code with prettier --- docs/CONTRIBUTING.md | 5 ++--- docs/how-to-write-a-userstyle.md | 3 ++- docs/tips-and-tricks.md | 6 ++++-- docs/userstyle-creation.md | 1 + docs/userstylesyml.md | 15 +++++++++------ 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index ae84cf3b..b3af7fe4 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -25,11 +25,10 @@ While writing a userstyle, you may have come across [custom properties / CSS var When writing or updating a userstyle, it is important to keep in mind that different users have different preferences. To avoid lengthy discussion over user interface aesthetics, we have a set of rules for what a userstyle may include; importantly, **changes to font or layout (padding, margin, hiding/moving elements) are prohibited.** - ### General Recommendations - Create a [topic branch](https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows#_topic_branch) on your fork for your specific PR. -- Catppuccin uses the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) +- Catppuccin uses the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard for creating explicit and meaningful commit messages. This repository requires pull request _titles_ to be in the conventional commit format, however we do not require it for individual commits within a pull request. @@ -59,4 +58,4 @@ graph TD; K[Waiting period*] --> M[Merged by userstyles staff]; ``` -*A waiting period is usually started if a website is particularly complex or for any other reason could not be thoroughly/completely tested. Waiting periods typically last between 1 and 2 days. +\*A waiting period is usually started if a website is particularly complex or for any other reason could not be thoroughly/completely tested. Waiting periods typically last between 1 and 2 days. diff --git a/docs/how-to-write-a-userstyle.md b/docs/how-to-write-a-userstyle.md index 57495f35..ee6be484 100644 --- a/docs/how-to-write-a-userstyle.md +++ b/docs/how-to-write-a-userstyle.md @@ -11,6 +11,7 @@ ### Table of Contents + - [Prerequisites](#prerequisites) - [Setup](#setup) - [Usercss Metadata](#usercss-metadata) @@ -19,7 +20,7 @@ - [The `#catppuccin` mixin](#the-catppuccin-mixin) - [Applying the theme](#applying-the-theme) - [Putting it all together](#putting-it-all-together) - + ### Prerequisites diff --git a/docs/tips-and-tricks.md b/docs/tips-and-tricks.md index b3a662be..0dd29d9f 100644 --- a/docs/tips-and-tricks.md +++ b/docs/tips-and-tricks.md @@ -7,6 +7,7 @@ ### Table of Contents + - [How can I see my changes in real time?](#how-can-i-see-my-changes-in-real-time) - [How can I hide sensitive information in preview screenshots?](#how-can-i-hide-sensitive-information-in-preview-screenshots) - [How do I convert preview images to WebP?](#how-do-i-convert-preview-images-to-webp) @@ -50,8 +51,8 @@ The Catppuccin project prefers to use the [WebP image format](https://en.wikiped | Method | Instructions | | ------------------------------------- | -------------------------------------------------------------------------------------- | -| [Homebrew](https://brew.sh/) | `brew install webp` [[view cask]](https://formulae.brew.sh/formula/webp) | -| [MacPorts](https://www.macports.org/) | `sudo port install webp` [[view port]](https://ports.macports.org/port/webp/) | +| [Homebrew](https://brew.sh/) | `brew install webp` [[view cask]](https://formulae.brew.sh/formula/webp) | +| [MacPorts](https://www.macports.org/) | `sudo port install webp` [[view port]](https://ports.macports.org/port/webp/) | | Binaries | See https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html. | #### Usage @@ -134,6 +135,7 @@ img.twitter-icon { background: url("data:image/svg+xml,@{svg}") no-repeat !important; } ``` +   ### How do I set a variable to RGB values? diff --git a/docs/userstyle-creation.md b/docs/userstyle-creation.md index 02720da4..76c1e3b2 100644 --- a/docs/userstyle-creation.md +++ b/docs/userstyle-creation.md @@ -11,6 +11,7 @@ ### Table of Contents + - [Requesting Userstyles](#requesting-userstyles) - [Creating Userstyles](#creating-userstyles) diff --git a/docs/userstylesyml.md b/docs/userstylesyml.md index 22327c83..905bffb8 100644 --- a/docs/userstylesyml.md +++ b/docs/userstylesyml.md @@ -11,6 +11,7 @@ ### Table of Contents + - [Adding a new userstyle](#adding-a-new-userstyle) - [Adding yourself as a maintainer](#adding-yourself-as-a-maintainer) - [Removing yourself as a maintainer](#removing-yourself-as-a-maintainer) @@ -25,7 +26,7 @@ on the schema. Please refer to it for clarification. 1. See [Adding yourself as a maintainer](#adding-yourself-as-a-maintainer). 2. Locate the `userstyles` section and add your port to the list, following the - existing alphabetical order. + existing 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 @@ -109,12 +110,13 @@ userstyles: past-maintainers: [*elkrien] ``` -If the change is accepted, you will receive an invitation to the `catppuccin` organization, +If the change is accepted, you will receive an invitation to the `catppuccin` organization, and become a member of the [`userstyles-maintainers` team](https://github.com/orgs/catppuccin/teams/userstyles-maintainers). 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](#removing-yourself-as-a-maintainer). - - Follow our code of conduct and guidelines. + +- 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](#removing-yourself-as-a-maintainer). +- Follow our code of conduct and guidelines. ### Removing yourself as a maintainer @@ -136,5 +138,6 @@ userstyles: + past-maintainers: [*elkrien] If you would not like to be listed as a past maintainer, you can remove yourself from -`collaborators` array entirely. Upon removal, you will also be removed from the +`collaborators` array entirely. Upon removal, you will also be removed from the `userstyles-maintainers` team. +```