docs: add how to write a userstyle guide (#353)

Co-authored-by: Isabel <[email protected]>
Co-authored-by: Muslim <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-01-19 00:15:19 +00:00
1 parent 9b80256957
commit d941a27e6b
6 files changed
+243 -31

No files matched your search

+3 -4
View File
@@ -33,12 +33,11 @@ To create a userstyle, follow the instructions listed below:
`lower-kebab-case`.
4. Copy the contents of the [`template`](../template/) folder into
`styles/<name-of-website>`.
- **The template uses [LESS](https://lesscss.org/#overview) as the
- **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. Edit the [`catppuccin.user.css`](../template/catppuccin.user.css) file and
replace all the words wrapped with `<>` to fit the details of your port.
6. Edit the [`userstyle.yml`](../scripts/userstyles.yml) file and put in the details
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 below.**
7. Create your image previews in the [`assets/`](../template/assets/) folder
- **All previews must be `.webp` files.**