style: format code with prettier
This commit is contained in:
1 parent
c82ce4d166
commit
7dda5540ca
5 files changed
+18
-12
No files matched your search
@@ -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.
|
||||
@@ -11,6 +11,7 @@
|
||||
### Table of Contents
|
||||
|
||||
<!--toc:start-->
|
||||
|
||||
- [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)
|
||||
<!--toc:end-->
|
||||
<!--toc:end-->
|
||||
|
||||
### Prerequisites
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
### Table of Contents
|
||||
|
||||
<!--toc:start-->
|
||||
|
||||
- [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?
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
### Table of Contents
|
||||
|
||||
<!--toc:start-->
|
||||
|
||||
- [Requesting Userstyles](#requesting-userstyles)
|
||||
- [Creating Userstyles](#creating-userstyles)
|
||||
<!--toc:end-->
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
### Table of Contents
|
||||
|
||||
<!--toc:start-->
|
||||
|
||||
- [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.
|
||||
```
|
||||
Reference in new issue
Block a user