docs!: restructure documentation (#1445)
This commit is contained in:
1 parent
edafec20ed
commit
b2788a328b
22 files changed
+361
-372
No files matched your search
@@ -1,39 +1,11 @@
|
||||
<p align="center">
|
||||
<h2 align="center">🎨 Userstyle Creation</h2>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
Guidelines for requesting and creating userstyles.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
### Table of Contents
|
||||
|
||||
<!--toc:start-->
|
||||
|
||||
- [Requesting userstyles](#requesting-userstyles)
|
||||
- [Creating userstyles](#creating-userstyles)
|
||||
|
||||
<!--toc:end-->
|
||||
|
||||
### Requesting userstyles
|
||||
|
||||
To request a website to be themed, please create a [Port Request](https://github.com/catppuccin/catppuccin/discussions/new?category=port-requests) discussion on [catppuccin/catppuccin](https://github.com/catppuccin/catppuccin). While this may seem odd, this ensures to keep all of our requests in one place and makes it easier for all people to request what they want without needing to learn what "Stylus" exactly is.
|
||||
|
||||
**If you have already created a userstyle, please raise a
|
||||
[Pull Request](https://github.com/catppuccin/userstyles/compare)!**
|
||||
|
||||
|
||||
|
||||
### Creating userstyles
|
||||
# Userstyle Creation
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Websites should be popular or otherwise commonly known by members of the Catppuccin community; personal or niche sites may not meet the criteria. If you are unsure if a website qualifies, consider creating a [discussion](https://github.com/catppuccin/catppuccin/discussions/new?category=port-requests) before submitting an initial PR.
|
||||
|
||||
To create a userstyle, follow the instructions below. If you run into any difficulties or have any questions, please check our [Tips and tricks](./tips-and-tricks.md) page first.
|
||||
To create a userstyle, follow the instructions below. If you are unsure how to theme something, see [Guide](./guide/README.md). If you run into any difficulties or have any questions, feel free to join the [Catppuccin Discord server](https://discord.com/servers/catppuccin-907385605422448742) and find us in the #userstyles channel!
|
||||
|
||||
1. Fork this repository.
|
||||
1. Fork the `catppuccin/userstyles` repository.
|
||||
2. Create a new branch under the name `feat/<name-of-website>`, (e.g.
|
||||
`feat/nixos-search` instead of NixOS Search).
|
||||
3. Create a new folder `styles/<name-of-website>`. The name must be
|
||||
@@ -43,11 +15,11 @@ To create a userstyle, follow the instructions below. If you run into any diffic
|
||||
- **The template uses [LESS](https://lesscss.org/#overview), a
|
||||
preprocessor for Stylus. Please do not change this as we will only accept
|
||||
userstyles based on the template.**
|
||||
5. [Write the userstyle](./how-to-write-a-userstyle.md).
|
||||
6. Edit the [`userstyles.yml`](../scripts/userstyles.yml) file and put in the details
|
||||
of your port. **More details given in [`userstylesyml.md`](./userstylesyml.md).**
|
||||
5. [Write the userstyle](./tutorials/writing-a-userstyle.md).
|
||||
6. [Edit the `userstyles.yml` file](./userstylesyml.md) and enter the details
|
||||
of your port.
|
||||
7. Create your image preview.
|
||||
- Take a screenshot of the themed website in each flavor, **with the accent set to `mauve` (the default)**, and then convert all four images [to WebP](./tips-and-tricks.md#how-do-i-convert-preview-images-to-webp) (e.g. `mocha.webp`,
|
||||
- Take a screenshot of the themed website in each flavor, **with the accent set to `mauve` (the default)**, and then convert all four images [to WebP](../tips/convert-images-to-webp.md) (e.g. `mocha.webp`,
|
||||
`macchiato.webp`, `frappe.webp` & `latte.webp`).
|
||||
- Use [Catwalk](https://github.com/catppuccin/catwalk) to generate a
|
||||
composite or grid image of all the images. **This must be saved as
|
||||
|
||||
Reference in new issue
Block a user