refactor: make color required & add/update new icons (#602)

This commit is contained in:
Hamothy authored and GitHub committed 2024-03-07 23:25:47 +00:00
1 parent d0e4329388
commit 1a409c6ad0
4 files changed
+44 -17

No files matched your search

+8 -6
View File
@@ -74,7 +74,7 @@ on the schema:
You should make changes to everything wrapped in `<>` and remove the `<>` You should make changes to everything wrapped in `<>` and remove the `<>`
characters. If you need help with any of the fields, you should refer to characters. If you need help with any of the fields, you should refer to
other ports in the `userstyle.yml` file. If you still cannot figure it out, other ports in the `userstyle.yml` file. If you would like extra guidance,
you can ask for help in the pull request or join our you can ask for help in the pull request or join our
[Discord](https://discord.com/servers/catppuccin-907385605422448742). [Discord](https://discord.com/servers/catppuccin-907385605422448742).
@@ -83,8 +83,10 @@ on the schema:
```yaml ```yaml
<port>: <port>:
name: <name> name: <name>
# Up to 3 categories are allowed. Keep in mind that the first category is considered the "primary" category. # Up to 3 categories are allowed.
# The first category is considered the "primary" category and impacts where the userstyle appears on the README.
categories: [ <category> ] categories: [ <category> ]
color: <color>
readme: readme:
app-link: <url> app-link: <url>
current-maintainers: [ *<github-username> ] current-maintainers: [ *<github-username> ]
@@ -95,9 +97,9 @@ on the schema:
These extra `usage` & `faq` keys will ensure that you can add important These extra `usage` & `faq` keys will ensure that you can add important
information about the port to the README. information about the port to the README.
The keys `color` & `icon` are best explained the schema specification itself. The `icon` key is best explained the schema specification itself.
The key `past-maintainers` is a list of people who have maintained the port The `past-maintainers` key is a list of people who have maintained the port
in the past. We encourage all maintainers to add/remove themselves from this in the past. We encourage all maintainers to add/remove themselves from this
list as they see fit. list as they see fit.
@@ -107,7 +109,7 @@ on the schema:
<port>: <port>:
name: <name> name: <name>
categories: [ <category-a>, <category-b> ] categories: [ <category-a>, <category-b> ]
color: <color> # OPTIONAL color: <color>
icon: <icon> # OPTIONAL icon: <icon> # OPTIONAL
readme: readme:
app-link: "<url>" app-link: "<url>"
@@ -118,5 +120,5 @@ on the schema:
- question: <question> - question: <question>
answer: <answer> answer: <answer>
current-maintainers: [ *<github-username> ] current-maintainers: [ *<github-username> ]
past-maintainers: [ *<github-username> ] # OPTIONAL past-maintainers: [ *<github-username> ] # OPTIONAL
``` ```
+2 -2
View File
@@ -5,7 +5,7 @@
*/ */
export type Name = [string, string, ...string[]] | string; export type Name = [string, string, ...string[]] | string;
/** /**
* The categories that fit the userstyle the most, the first category is the primary category which the port will be listed under on the README. * The categories that fit the userstyle the most, the first category is the primary category which the userstyle will be listed under on the README.
* *
* @minItems 1 * @minItems 1
* @maxItems 3 * @maxItems 3
@@ -173,7 +173,7 @@ export interface Userstyles {
export interface Userstyle { export interface Userstyle {
name: Name; name: Name;
categories: Categories; categories: Categories;
color?: Color; color: Color;
icon?: Icon; icon?: Icon;
readme: README; readme: README;
} }
+2 -2
View File
@@ -15,7 +15,7 @@
"type": "object", "type": "object",
"description": "The directory of the userstyle.", "description": "The directory of the userstyle.",
"examples": ["youtube"], "examples": ["youtube"],
"required": ["name", "categories", "readme"], "required": ["name", "categories", "readme", "color"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
@@ -46,7 +46,7 @@
"color": { "color": {
"$id": "#userstyles/userstyle/color", "$id": "#userstyles/userstyle/color",
"title": "Color", "title": "Color",
"description": "The fill color for the icon on the Catppuccin website.", "description": "The fill color for the icon on the Catppuccin website, which should match the color used by Simple Icons. If the icon does not exist in Simple Icons, choose the most suitable color from the branding.",
"type": "string", "type": "string",
"enum": [ "enum": [
"rosewater", "rosewater",
+32 -7
View File
@@ -138,6 +138,8 @@ userstyles:
arch-wiki: arch-wiki:
name: Arch Wiki name: Arch Wiki
categories: [wiki, productivity] categories: [wiki, productivity]
icon: archlinux
color: blue
readme: readme:
app-link: "https://wiki.archlinux.org/" app-link: "https://wiki.archlinux.org/"
usage: "Make sure to use the default **Light** theme" usage: "Make sure to use the default **Light** theme"
@@ -145,6 +147,7 @@ userstyles:
boringproxy: boringproxy:
name: boringproxy name: boringproxy
categories: [development] categories: [development]
color: text
readme: readme:
app-link: "https://boringproxy.io" app-link: "https://boringproxy.io"
current-maintainers: [*gandalf-the-blue] current-maintainers: [*gandalf-the-blue]
@@ -176,6 +179,8 @@ userstyles:
canvas-lms: canvas-lms:
name: Canvas LMS name: Canvas LMS
categories: [education, productivity] categories: [education, productivity]
icon: canvas
color: red
readme: readme:
app-link: "https://www.instructure.com/canvas" app-link: "https://www.instructure.com/canvas"
current-maintainers: [*thememesniper] current-maintainers: [*thememesniper]
@@ -205,6 +210,7 @@ userstyles:
cinny: cinny:
name: Cinny name: Cinny
categories: [social_networking] categories: [social_networking]
color: text
readme: readme:
app-link: "https://cinny.in" app-link: "https://cinny.in"
current-maintainers: [*jn-sena] current-maintainers: [*jn-sena]
@@ -223,7 +229,7 @@ userstyles:
name: Crowdin name: Crowdin
categories: [translation_tool, productivity] categories: [translation_tool, productivity]
icon: crowdin icon: crowdin
color: lavender color: text
readme: readme:
app-link: "https://crowdin.com" app-link: "https://crowdin.com"
current-maintainers: [*ryanccn] current-maintainers: [*ryanccn]
@@ -238,6 +244,8 @@ userstyles:
duckduckgo: duckduckgo:
name: DuckDuckGo name: DuckDuckGo
categories: [search_engine] categories: [search_engine]
icon: duckduckgo
color: peach
readme: readme:
app-link: "https://duckduckgo.com" app-link: "https://duckduckgo.com"
current-maintainers: [*genshibe] current-maintainers: [*genshibe]
@@ -258,6 +266,7 @@ userstyles:
formative: formative:
name: Formative name: Formative
categories: [education, productivity] categories: [education, productivity]
color: blue
readme: readme:
app-link: "https://app.formative.com/home" app-link: "https://app.formative.com/home"
current-maintainers: [*r58Playz] current-maintainers: [*r58Playz]
@@ -275,7 +284,7 @@ userstyles:
name: Gmail name: Gmail
categories: [email_client, productivity] categories: [email_client, productivity]
icon: gmail icon: gmail
color: red color: peach
readme: readme:
usage: "Switch to either the dark or default themes via the **gear icon** > **themes** > **view all** for the best experience!" usage: "Switch to either the dark or default themes via the **gear icon** > **themes** > **view all** for the best experience!"
app-link: "https://mail.google.com" app-link: "https://mail.google.com"
@@ -291,7 +300,7 @@ userstyles:
google-photos: google-photos:
name: Google Photos name: Google Photos
categories: [photo_and_video] categories: [photo_and_video]
icon: google icon: googlephotos
color: sapphire color: sapphire
readme: readme:
app-link: "https://photos.google.com" app-link: "https://photos.google.com"
@@ -323,6 +332,7 @@ userstyles:
holodex: holodex:
name: Holodex name: Holodex
categories: [entertainment, social_networking, photo_and_video] categories: [entertainment, social_networking, photo_and_video]
color: pink
readme: readme:
app-link: "https://holodex.net" app-link: "https://holodex.net"
usage: |+ usage: |+
@@ -332,6 +342,7 @@ userstyles:
homepage: homepage:
name: homepage name: homepage
categories: [productivity] categories: [productivity]
color: sky
readme: readme:
app-link: "https://github.com/benphelps/homepage" app-link: "https://github.com/benphelps/homepage"
current-maintainers: [*gandalf-the-blue] current-maintainers: [*gandalf-the-blue]
@@ -346,7 +357,7 @@ userstyles:
hyperpipe: hyperpipe:
name: Hyperpipe name: Hyperpipe
categories: [music] categories: [music]
color: text color: teal
readme: readme:
app-link: "https://hyperpipe.surge.sh/" app-link: "https://hyperpipe.surge.sh/"
current-maintainers: [*jn-sena] current-maintainers: [*jn-sena]
@@ -378,6 +389,7 @@ userstyles:
invokeai: invokeai:
name: InvokeAI name: InvokeAI
categories: [artificial_intelligence, productivity] categories: [artificial_intelligence, productivity]
color: yellow
readme: readme:
app-link: "https://invoke-ai.github.io/InvokeAI" app-link: "https://invoke-ai.github.io/InvokeAI"
current-maintainers: [*ryanccn] current-maintainers: [*ryanccn]
@@ -411,6 +423,7 @@ userstyles:
name: Lichess name: Lichess
categories: [game] categories: [game]
icon: lichess icon: lichess
color: text
readme: readme:
usage: "Switch to a default Lichess light/dark theme via **Username** > **Background** for the best experience!" usage: "Switch to a default Lichess light/dark theme via **Username** > **Background** for the best experience!"
app-link: "https://lichess.org/" app-link: "https://lichess.org/"
@@ -434,7 +447,7 @@ userstyles:
name: Mastodon name: Mastodon
categories: [social_networking, entertainment] categories: [social_networking, entertainment]
icon: mastodon icon: mastodon
color: mauve color: lavender
readme: readme:
app-link: "https://github.com/mastodon/mastodon" app-link: "https://github.com/mastodon/mastodon"
usage: |+ usage: |+
@@ -454,6 +467,8 @@ userstyles:
mdn: mdn:
name: MDN name: MDN
categories: [development, wiki] categories: [development, wiki]
icon: mdnwebdocs
color: text
readme: readme:
app-link: "https://developer.mozilla.org" app-link: "https://developer.mozilla.org"
current-maintainers: [*soya-daizu] current-maintainers: [*soya-daizu]
@@ -476,6 +491,7 @@ userstyles:
migadu-webmail: migadu-webmail:
name: Migadu Webmail name: Migadu Webmail
categories: [email_client, productivity] categories: [email_client, productivity]
color: blue
readme: readme:
app-link: https://webmail.migadu.com/ app-link: https://webmail.migadu.com/
usage: |+ usage: |+
@@ -485,6 +501,7 @@ userstyles:
minesweeper: minesweeper:
name: Minesweeper Online name: Minesweeper Online
categories: [game] categories: [game]
color: text
readme: readme:
app-link: "https://minesweeper.online" app-link: "https://minesweeper.online"
current-maintainers: [*gitmuslim] current-maintainers: [*gitmuslim]
@@ -524,6 +541,7 @@ userstyles:
openmediavault: openmediavault:
name: OpenMediaVault name: OpenMediaVault
categories: [productivity] categories: [productivity]
color: sky
readme: readme:
app-link: "https://www.openmediavault.org/" app-link: "https://www.openmediavault.org/"
current-maintainers: [*gandalf-the-blue] current-maintainers: [*gandalf-the-blue]
@@ -539,6 +557,8 @@ userstyles:
perplexity: perplexity:
name: Perplexity name: Perplexity
categories: [artificial_intelligence, search_engine] categories: [artificial_intelligence, search_engine]
icon: perplexity
color: teal
readme: readme:
app-link: "https://www.perplexity.ai" app-link: "https://www.perplexity.ai"
current-maintainers: [*isabelroses, *tnixc] current-maintainers: [*isabelroses, *tnixc]
@@ -554,6 +574,7 @@ userstyles:
planet-minecraft: planet-minecraft:
name: Planet Minecraft name: Planet Minecraft
categories: [game] categories: [game]
color: green
readme: readme:
app-link: "https://planetminecraft.com" app-link: "https://planetminecraft.com"
current-maintainers: [*night-lake] current-maintainers: [*night-lake]
@@ -617,13 +638,14 @@ userstyles:
startpage: startpage:
name: Startpage name: Startpage
categories: [search_engine] categories: [search_engine]
color: lavender
readme: readme:
app-link: "https://startpage.com" app-link: "https://startpage.com"
current-maintainers: [*bartlibert] current-maintainers: [*bartlibert]
skiff: skiff:
name: Skiff name: Skiff
categories: [email_client, productivity] categories: [email_client, productivity]
color: text color: maroon
readme: readme:
usage: "Switch to a default Skiff light/dark theme via **Settings** > **Appearance** for the best experience!" usage: "Switch to a default Skiff light/dark theme via **Settings** > **Appearance** for the best experience!"
app-link: "https://app.skiff.com/mail" app-link: "https://app.skiff.com/mail"
@@ -657,6 +679,7 @@ userstyles:
tabnews: tabnews:
name: TabNews name: TabNews
categories: [discussion_forum, entertainment, social_networking] categories: [discussion_forum, entertainment, social_networking]
color: text
readme: readme:
app-link: "https://tabnews.com.br" app-link: "https://tabnews.com.br"
current-maintainers: [*Guaxinim5573] current-maintainers: [*Guaxinim5573]
@@ -664,7 +687,7 @@ userstyles:
name: Tuta name: Tuta
categories: [email_client, productivity] categories: [email_client, productivity]
icon: tutanota icon: tutanota
color: red color: maroon
readme: readme:
app-link: "https://tuta.com/" app-link: "https://tuta.com/"
usage: |+ usage: |+
@@ -694,6 +717,7 @@ userstyles:
name: Vercel name: Vercel
categories: [development] categories: [development]
icon: vercel icon: vercel
color: text
readme: readme:
app-link: "https://vercel.com" app-link: "https://vercel.com"
current-maintainers: [*ryanccn] current-maintainers: [*ryanccn]
@@ -737,6 +761,7 @@ userstyles:
name: Next.js name: Next.js
categories: [development] categories: [development]
icon: nextjs icon: nextjs
color: text
readme: readme:
app-link: "https://nextjs.org" app-link: "https://nextjs.org"
current-maintainers: [*Dandraghas] current-maintainers: [*Dandraghas]