refactor(tree-wide): use deno fmt, rename files to .user.less (#1544)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-29 17:30:17 -05:00
1 parent 544db57f4e
commit 4e271e0bf5
256 files changed
+63157 -61481

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
<p align="center">
<a href="https://github.com/catppuccin/userstyles/issues?q=is%3Aissue+is%3Aopen+label%3A{{ slug }}"><img src="https://img.shields.io/github/issues/catppuccin/userstyles/{{ slug }}?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/{{ slug }}/catppuccin.user.css"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/{{ slug }}/catppuccin.user.less"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
</p>
<p align="center">
+1 -1
View File
@@ -7,7 +7,7 @@ import core from "@actions/core";
import { log } from "@/logger.ts";
const requiredFiles = [
"catppuccin.user.css",
"catppuccin.user.less",
"preview.webp",
];
+2 -2
View File
@@ -14,10 +14,10 @@ import stylelintConfig from "../../.stylelintrc.js";
const args = parseArgs(Deno.args, { boolean: ["fix"] });
const userstyle = args._[0]?.toString().match(
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.css)?/,
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.less)?/,
)?.groups?.userstyle;
const stylesheets = userstyle
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.css")]
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.less")]
: getUserstylesFiles();
const { userstyles } = getUserstylesData();
+11 -2
View File
@@ -75,11 +75,20 @@ export async function verifyMetadata(
startLine: line !== 0 ? line : undefined,
content,
});
if (fix) {
content = content.replace(
`${atKey} ${current}`,
`${atKey} ${expected}`,
);
}
}
}
Deno.writeTextFileSync(file, content);
const template = (await Deno.readTextFile(
path.join(REPO_ROOT, "template/catppuccin.user.css"),
path.join(REPO_ROOT, "template/catppuccin.user.less"),
))
.split("\n");
@@ -169,7 +178,7 @@ function generateAssertions(userstyle: string, userstyles: Userstyles) {
: userstyles[userstyle].name
}`,
author: "Catppuccin",
updateURL: `${prefix}/raw/main/styles/${userstyle}/catppuccin.user.css`,
updateURL: `${prefix}/raw/main/styles/${userstyle}/catppuccin.user.less`,
supportURL: `${prefix}/issues?q=is%3Aopen+is%3Aissue+label%3A${userstyle}`,
license: "MIT",
preprocessor: "less",
+65
View File
@@ -0,0 +1,65 @@
import { getUserstylesFiles } from "@/utils.ts";
import { relative } from "@std/path";
import { REPO_ROOT } from "@/constants.ts";
const METADATA_ENDING_COMMENT = "==/UserStyle== */";
for (const userstyle of getUserstylesFiles()) {
const content = Deno.readTextFileSync(userstyle);
const start = content.indexOf(METADATA_ENDING_COMMENT);
if (start === -1) {
throw new Error("Userstyle metadata ending comment not found");
}
const metadata = content.slice(0, start + METADATA_ENDING_COMMENT.length);
const oldPath = userstyle.replace(/\.less$/, ".css");
const relativeOldPath = relative(REPO_ROOT, oldPath);
const relativeNewPath = relative(REPO_ROOT, userstyle);
const updateURLPrefix =
"@updateURL https://github.com/catppuccin/userstyles/raw/main/";
let newContent = metadata.replace(
updateURLPrefix + relativeOldPath,
updateURLPrefix + relativeNewPath,
);
const newContentLines = newContent.split("\n");
const nameVarLine = newContentLines.findIndex((line) =>
line.startsWith("@name")
);
if (nameVarLine === -1) {
throw new Error("Userstyle name variable not found");
}
newContentLines[nameVarLine] += " [STUB | UPDATE REQUIRED]";
newContent = newContentLines.join("\n");
Deno.writeTextFileSync(
userstyle.replace(/\.less$/, ".css"),
newContent,
);
// Bump once for update to stub.
execBumpTask(relativeOldPath);
// Bump twice so that version is higher than stub.
execBumpTask(relativeNewPath);
execBumpTask(relativeNewPath);
}
async function execBumpTask(file: string) {
const bumpTask = new Deno.Command(
Deno.execPath(),
{
args: [
"task",
"bump",
file,
],
},
);
const output = await bumpTask.output();
if (output.success === false) {
throw new Error(new TextDecoder().decode(output.stderr));
}
}
+7 -1
View File
@@ -15,7 +15,13 @@
"type": "object",
"description": "The directory of the userstyle.",
"examples": ["youtube"],
"required": ["name", "categories", "readme", "color", "current-maintainers"],
"required": [
"name",
"categories",
"readme",
"color",
"current-maintainers"
],
"additionalProperties": false,
"properties": {
"name": {
+115 -112
View File
@@ -172,14 +172,14 @@ userstyles:
categories: [productivity, discussion_forum]
color: sapphire
readme:
app-link: "https://alternativeto.net"
app-link: https://alternativeto.net
current-maintainers: [*thismoon]
amplenote:
name: Amplenote
categories: [productivity]
color: blue
readme:
app-link: "https://www.amplenote.com"
app-link: https://www.amplenote.com
current-maintainers: [*stellophiliac]
anilist:
name: ["AniList", "AniChart"]
@@ -187,7 +187,7 @@ userstyles:
icon: anilist
color: sky
readme:
app-link: ["https://anilist.co", "https://anichart.net"]
app-link: [https://anilist.co, https://anichart.net]
usage: |+
> [!NOTE]
> This theme applies to [AniChart](https://anichart.net/) as well, which is an extension of AniList.
@@ -198,7 +198,7 @@ userstyles:
icon: archlinux
color: blue
readme:
app-link: "https://wiki.archlinux.org/"
app-link: https://wiki.archlinux.org
usage: "Make sure to use the default **Light** theme"
current-maintainers: []
past-maintainers: [*genshibe]
@@ -207,7 +207,7 @@ userstyles:
categories: [development]
color: text
readme:
app-link: "https://boringproxy.io"
app-link: https://boringproxy.io
current-maintainers: [*gandalf-the-blue]
brave-search:
name: Brave Search
@@ -215,7 +215,7 @@ userstyles:
icon: brave
color: peach
readme:
app-link: "https://search.brave.com"
app-link: https://search.brave.com
usage: "Make sure to set the theme to either dark or light in Brave Search settings, as the automatic setting will not work."
current-maintainers: [*ndsboy]
bsky:
@@ -224,14 +224,14 @@ userstyles:
icon: bluesky
color: blue
readme:
app-link: "https://bsky.app"
app-link: https://bsky.app
current-maintainers: [*rooot]
bstats:
name: bStats
categories: [game, entertainment]
color: green
readme:
app-link: "https://bstats.org"
app-link: https://bstats.org
usage: "Make sure to use the default **Teal** theme from the built-in color picker (located at the bottom of the page) for the best experience!"
current-maintainers: [*rockquiet]
canvas-lms:
@@ -240,7 +240,7 @@ userstyles:
icon: canvas
color: red
readme:
app-link: "https://www.instructure.com/canvas"
app-link: https://www.instructure.com/canvas
current-maintainers: []
past-maintainers: [*thememesniper]
chatgpt:
@@ -249,7 +249,7 @@ userstyles:
icon: openai
color: green
readme:
app-link: "https://chat.openai.com"
app-link: https://chat.openai.com
current-maintainers: [*uncenter]
past-maintainers: [*rubyowo]
chatreplay:
@@ -257,7 +257,7 @@ userstyles:
categories: [entertainment, social_networking]
color: peach
readme:
app-link: "https://chatreplay.stream"
app-link: https://chatreplay.stream
current-maintainers: [*anubisnekhet]
chess.com:
name: Chess.com
@@ -265,7 +265,7 @@ userstyles:
icon: chessdotcom
color: green
readme:
app-link: "https://chess.com"
app-link: https://chess.com
current-maintainers: []
past-maintainers: [*skelebro1, *isabelroses, *coldenate]
cinny:
@@ -273,7 +273,7 @@ userstyles:
categories: [social_networking]
color: text
readme:
app-link: "https://cinny.in"
app-link: https://cinny.in
current-maintainers: [*jn-sena]
codeberg:
name: Codeberg
@@ -281,7 +281,7 @@ userstyles:
icon: codeberg
color: blue
readme:
app-link: "https://codeberg.org"
app-link: https://codeberg.org
current-maintainers: [*isabelroses]
past-maintainers: [*justtobbi]
cobalt:
@@ -289,7 +289,7 @@ userstyles:
categories: [productivity, photo_and_video]
color: text
readme:
app-link: "https://cobalt.tools"
app-link: https://cobalt.tools
current-maintainers: [*kerichdev]
crates.io:
name: crates.io
@@ -297,7 +297,7 @@ userstyles:
icon: rust
color: yellow
readme:
app-link: "https://crates.io"
app-link: https://crates.io
current-maintainers: [*uncenter]
crowdin:
name: Crowdin
@@ -305,7 +305,7 @@ userstyles:
icon: crowdin
color: text
readme:
app-link: "https://crowdin.com"
app-link: https://crowdin.com
current-maintainers: [*ryanccn]
deepl:
name: DeepL
@@ -313,7 +313,7 @@ userstyles:
icon: deepl
color: blue
readme:
app-link: "https://deepl.com"
app-link: https://deepl.com
current-maintainers: [*watatomo]
docs.rs:
name: docs.rs
@@ -321,7 +321,7 @@ userstyles:
icon: docsdotrs
color: yellow
readme:
app-link: "https://docs.rs"
app-link: https://docs.rs
current-maintainers: [*uncenter]
duckduckgo:
name: DuckDuckGo
@@ -329,21 +329,21 @@ userstyles:
icon: duckduckgo
color: peach
readme:
app-link: "https://duckduckgo.com"
app-link: https://duckduckgo.com
current-maintainers: [*genshibe]
ecosia:
name: Ecosia
categories: [search_engine]
color: green
readme:
app-link: "https://www.ecosia.org"
app-link: https://www.ecosia.org
current-maintainers: [*isabelroses]
elk:
name: Elk
categories: [social_networking]
color: peach
readme:
app-link: "https://elk.zone"
app-link: https://elk.zone
current-maintainers: [*ryanccn]
freedesktop:
name: freedesktop.org
@@ -351,21 +351,21 @@ userstyles:
icon: freedesktopdotorg
color: blue
readme:
app-link: "https://www.freedesktop.org"
app-link: https://www.freedesktop.org
current-maintainers: [*NK308]
formative:
name: Formative
categories: [education, productivity]
color: blue
readme:
app-link: "https://app.formative.com/home"
app-link: https://app.formative.com/home
current-maintainers: [*r58Playz]
ghostty.org:
name: Ghostty.org
categories: [terminal, wiki]
color: blue
readme:
app-link: "https://ghostty.org"
app-link: https://ghostty.org
current-maintainers: [*uncenter]
github:
name: GitHub
@@ -374,7 +374,7 @@ userstyles:
color: text
readme:
usage: "Switch to a default GitHub light/dark theme via **Settings** > **Appearance** for the best experience!"
app-link: "https://github.com"
app-link: https://github.com
current-maintainers: [*uncenter]
past-maintainers: [*unseen-ninja, *pocco81, *glowingumbreon]
gmail:
@@ -384,7 +384,7 @@ userstyles:
color: peach
readme:
usage: "Switch to the default dark theme via the **Settings** > **Themes** > **View all** for the best experience!"
app-link: "https://mail.google.com"
app-link: https://mail.google.com
current-maintainers: [*uncenter]
past-maintainers: [*isabelroses]
go.dev:
@@ -393,7 +393,7 @@ userstyles:
icon: go
color: sapphire
readme:
app-link: "https://go.dev"
app-link: https://go.dev
current-maintainers: [*Flapperoo]
google:
name: Google
@@ -401,7 +401,7 @@ userstyles:
icon: google
color: sapphire
readme:
app-link: "https://google.com"
app-link: https://google.com
current-maintainers: []
google-drive:
name: Google Drive
@@ -409,7 +409,7 @@ userstyles:
icon: googledrive
color: blue
readme:
app-link: "https://drive.google.com"
app-link: https://drive.google.com
current-maintainers: [*r58Playz]
google-photos:
name: Google Photos
@@ -417,14 +417,14 @@ userstyles:
icon: googlephotos
color: sapphire
readme:
app-link: "https://photos.google.com"
app-link: https://photos.google.com
current-maintainers: [*genshibe]
grabify:
name: Grabify
categories: [development, productivity]
color: teal
readme:
app-link: "https://grabify.link"
app-link: https://grabify.link
current-maintainers: [*trinkey]
graphite:
name: Graphite
@@ -432,7 +432,7 @@ userstyles:
icon: graphite
color: text
readme:
app-link: "https://app.graphite.dev"
app-link: https://app.graphite.dev
current-maintainers: [*isabelroses]
google-gemini:
name: Google Gemini
@@ -440,7 +440,7 @@ userstyles:
icon: googlegemini
color: mauve
readme:
app-link: "https://gemini.google.com"
app-link: https://gemini.google.com
current-maintainers: [*Dandraghas]
hackage:
name: Hackage
@@ -448,7 +448,7 @@ userstyles:
icon: haskell
color: mauve
readme:
app-link: "https://hackage.haskell.org"
app-link: https://hackage.haskell.org
current-maintainers: [*jn-sena]
hacker-news:
name: Hacker News
@@ -456,21 +456,21 @@ userstyles:
icon: ycombinator
color: peach
readme:
app-link: "https://news.ycombinator.com"
app-link: https://news.ycombinator.com
current-maintainers: [*lucasmelin]
have-i-been-pwned:
name: Have I Been Pwned
categories: [productivity]
color: blue
readme:
app-link: "https://haveibeenpwned.com"
app-link: https://haveibeenpwned.com
current-maintainers: [*trinkey]
holodex:
name: Holodex
categories: [entertainment, social_networking, photo_and_video]
color: pink
readme:
app-link: "https://holodex.net"
app-link: https://holodex.net
usage: |+
> [!NOTE]
> Holodex's selected theme is ignored.
@@ -480,14 +480,14 @@ userstyles:
categories: [development]
color: blue
readme:
app-link: "https://home-manager-options.extranix.com"
app-link: https://home-manager-options.extranix.com
current-maintainers: [*uncenter]
homepage:
name: homepage
categories: [productivity]
color: sky
readme:
app-link: "https://github.com/benphelps/homepage"
app-link: https://github.com/benphelps/homepage
current-maintainers: [*gandalf-the-blue]
hoogle:
name: Hoogle
@@ -495,7 +495,7 @@ userstyles:
icon: haskell
color: mauve
readme:
app-link: "https://hoogle.haskell.org"
app-link: https://hoogle.haskell.org
current-maintainers: [*jn-sena]
hoppscotch:
name: Hoppscotch
@@ -503,28 +503,28 @@ userstyles:
icon: hoppscotch
color: green
readme:
app-link: "https://hoppscotch.io/"
app-link: https://hoppscotch.io
current-maintainers: [*justtobbi]
learn-x-in-y-minutes:
name: Learn X in Y Minutes
categories: [development, wiki]
color: blue
readme:
app-link: "https://learnxinyminutes.com/"
app-link: https://learnxinyminutes.com
current-maintainers: [*nikitarevenco]
hyperpipe:
name: Hyperpipe
categories: [music]
color: teal
readme:
app-link: "https://hyperpipe.surge.sh/"
app-link: https://hyperpipe.surge.sh
current-maintainers: [*jn-sena]
ichi.moe:
name: ichi.moe
categories: [translation_tool, productivity]
color: pink
readme:
app-link: "https://ichi.moe"
app-link: https://ichi.moe
current-maintainers: [*watatomo]
inoreader:
name: inoreader
@@ -532,14 +532,14 @@ userstyles:
icon: inoreader
color: blue
readme:
app-link: "https://inoreader.com"
app-link: https://inoreader.com
current-maintainers: [*thomas-philippot]
indie-wiki-buddy:
name: Indie Wiki Buddy
categories: [browser_extension]
color: blue
readme:
app-link: "https://getindie.wiki/"
app-link: https://getindie.wiki
current-maintainers: [*thismoon]
instagram:
name: Instagram
@@ -547,7 +547,7 @@ userstyles:
icon: instagram
color: pink
readme:
app-link: "https://instagram.com"
app-link: https://instagram.com
current-maintainers: [*genshibe]
past-maintainers: [*isabelroses]
invidious:
@@ -556,7 +556,7 @@ userstyles:
icon: youtube
color: red
readme:
app-link: "https://invidious.io"
app-link: https://invidious.io
current-maintainers: []
past-maintainers: [*unseen-ninja, *winston]
invokeai:
@@ -564,28 +564,28 @@ userstyles:
categories: [artificial_intelligence, productivity]
color: yellow
readme:
app-link: "https://invoke-ai.github.io/InvokeAI"
app-link: https://invoke-ai.github.io/InvokeAI
current-maintainers: [*ryanccn]
jisho:
name: Jisho
categories: [translation_tool]
color: green
readme:
app-link: "https://jisho.org"
app-link: https://jisho.org
current-maintainers: [*Lichthagel]
keybr.com:
name: keybr.com
categories: [productivity]
color: text
readme:
app-link: "https://keybr.com"
app-link: https://keybr.com
current-maintainers: [*TadoTheMiner]
keyoxide:
name: Keyoxide
categories: [development]
color: mauve
readme:
app-link: "https://keyoxide.org"
app-link: https://keyoxide.org
current-maintainers: [*uncenter]
lastfm:
name: Last.fm
@@ -593,7 +593,7 @@ userstyles:
icon: lastdotfm
color: red
readme:
app-link: "https://last.fm"
app-link: https://last.fm
current-maintainers: [*anubisnekhet]
past-maintainers: [*gingeh]
lemmy:
@@ -602,7 +602,7 @@ userstyles:
icon: lemmy
color: green
readme:
app-link: "https://lemmy.world"
app-link: https://lemmy.world
current-maintainers: [*gandalf-the-blue]
libreddit:
name: ["Libreddit", "Redlib"]
@@ -610,7 +610,10 @@ userstyles:
icon: reddit
color: peach
readme:
app-link: ["https://github.com/libreddit/libreddit", "https://github.com/redlib-org/redlib"]
app-link: [
https://github.com/libreddit/libreddit,
https://github.com/redlib-org/redlib,
]
current-maintainers: []
past-maintainers: [*unseen-ninja]
lichess:
@@ -620,14 +623,14 @@ userstyles:
color: text
readme:
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
current-maintainers: [*coopw1]
lingva:
name: Lingva
categories: [translation_tool, productivity]
color: green
readme:
app-link: "https://github.com/thedaviddelta/lingva-translate"
app-link: https://github.com/thedaviddelta/lingva-translate
current-maintainers: [*rubyowo]
linkedin:
name: LinkedIn
@@ -635,7 +638,7 @@ userstyles:
icon: linkedin
color: blue
readme:
app-link: "https://www.linkedin.com"
app-link: https://www.linkedin.com
current-maintainers: [*isabelroses]
listenbrainz:
name: ListenBrainz
@@ -643,7 +646,7 @@ userstyles:
icon: musicbrainz
color: peach
readme:
app-link: 'https://listenbrainz.org'
app-link: https://listenbrainz.org
current-maintainers: [*00dani]
lobste.rs:
name: Lobsters
@@ -651,7 +654,7 @@ userstyles:
icon: lobsters
color: red
readme:
app-link: 'https://lobste.rs'
app-link: https://lobste.rs
current-maintainers: [*steinuil]
mastodon:
name: Mastodon
@@ -659,7 +662,7 @@ userstyles:
icon: mastodon
color: lavender
readme:
app-link: "https://github.com/mastodon/mastodon"
app-link: https://github.com/mastodon/mastodon
faq:
- question: "**The theme does not look the same as the preview?**"
answer: "Your Mastodon instance may be using its own custom CSS, which is changing the look of the theme."
@@ -671,7 +674,7 @@ userstyles:
icon: mdbook
color: text
readme:
app-link: "https://rust-lang.github.io/mdBook/"
app-link: https://rust-lang.github.io/mdBook/
current-maintainers: [*uncenter]
mdn:
name: MDN
@@ -679,7 +682,7 @@ userstyles:
icon: mdnwebdocs
color: text
readme:
app-link: "https://developer.mozilla.org"
app-link: https://developer.mozilla.org
current-maintainers: [*soya-daizu]
modrinth:
name: Modrinth
@@ -687,7 +690,7 @@ userstyles:
icon: modrinth
color: green
readme:
app-link: "https://modrinth.com"
app-link: https://modrinth.com
current-maintainers: [*thismoon]
microsoft-word:
name: Microsoft Word
@@ -695,7 +698,7 @@ userstyles:
icon: microsoftword
color: blue
readme:
app-link: "https://office.com"
app-link: https://office.com
current-maintainers: []
migadu-webmail:
name: Migadu Webmail
@@ -703,7 +706,7 @@ userstyles:
icon: migadu
color: blue
readme:
app-link: https://webmail.migadu.com/
app-link: https://webmail.migadu.com
usage: |+
> [!NOTE]
> Set Migadu Webmail's built-in theme to 'Migadu' for the optimal experience.
@@ -713,7 +716,7 @@ userstyles:
categories: [game]
color: text
readme:
app-link: "https://minesweeper.online"
app-link: https://minesweeper.online
current-maintainers: []
namemc:
name: NameMC
@@ -721,7 +724,7 @@ userstyles:
icon: namemc
color: blue
readme:
app-link: "https://namemc.com/"
app-link: https://namemc.com
current-maintainers: [*nyatalieeee]
nitter:
name: Nitter
@@ -729,7 +732,7 @@ userstyles:
icon: twitter
color: blue
readme:
app-link: "https://nitter.net"
app-link: https://nitter.net
current-maintainers: [*anubisnekhet]
nixos-manual:
name: ["NixOS Manual", "Nixpkgs Manual"]
@@ -747,7 +750,7 @@ userstyles:
icon: nixos
color: blue
readme:
app-link: "https://search.nixos.org"
app-link: https://search.nixos.org
current-maintainers: [*cecelot]
wiki.nixos.org:
name: NixOS Wiki
@@ -755,7 +758,7 @@ userstyles:
icon: nixos
color: blue
readme:
app-link: "wiki.nixos.org"
app-link: https://wiki.nixos.org
current-maintainers: [*orangci]
past-maintainers: [*winston]
npm:
@@ -764,14 +767,14 @@ userstyles:
icon: npm
color: red
readme:
app-link: "https://www.npmjs.com/"
app-link: https://www.npmjs.com
current-maintainers: [*uncenter]
ollama:
name: Ollama
categories: [development]
color: text
readme:
app-link: "https://ollama.com"
app-link: https://ollama.com
current-maintainers: [*neongamerbot]
openmediavault:
name: openmediavault
@@ -779,7 +782,7 @@ userstyles:
icon: openmediavault
color: sky
readme:
app-link: "https://www.openmediavault.org/"
app-link: https://www.openmediavault.org
current-maintainers: [*gandalf-the-blue]
paste.rs:
name: paste.rs
@@ -787,7 +790,7 @@ userstyles:
icon: pastebin
color: peach
readme:
app-link: "https://paste.rs"
app-link: https://paste.rs
current-maintainers: [*Guaxinim5573]
past-maintainers: [*stonks3141]
perplexity:
@@ -796,7 +799,7 @@ userstyles:
icon: perplexity
color: teal
readme:
app-link: "https://www.perplexity.ai"
app-link: https://www.perplexity.ai
current-maintainers: [*tnixc]
past-maintainers: [*isabelroses]
phanpy:
@@ -804,7 +807,7 @@ userstyles:
categories: [social_networking, entertainment]
color: blue
readme:
app-link: "https://phanpy.social"
app-link: https://phanpy.social
current-maintainers: [*Guaxinim5573]
picrew:
name: Picrew
@@ -812,7 +815,7 @@ userstyles:
icon: picrew
color: yellow
readme:
app-link: "https://picrew.me"
app-link: https://picrew.me
current-maintainers: [*nyatalieeee]
pinterest:
name: Pinterest
@@ -820,7 +823,7 @@ userstyles:
icon: pinterest
color: red
readme:
app-link: "https://www.pinterest.com"
app-link: https://www.pinterest.com
current-maintainers: []
past-maintainers: [*jn-sena]
planet-minecraft:
@@ -828,7 +831,7 @@ userstyles:
categories: [game]
color: green
readme:
app-link: "https://planetminecraft.com"
app-link: https://planetminecraft.com
current-maintainers: [*nyameliaaaa]
porkbun:
name: Porkbun
@@ -843,7 +846,7 @@ userstyles:
categories: [social_networking]
color: mauve
readme:
app-link: "https://pronouns.cc/"
app-link: https://pronouns.cc
current-maintainers: [*comfysage]
past-maintainers: [*neongamerbot]
pronouns.page:
@@ -852,7 +855,7 @@ userstyles:
icon: pronounsdotpage
color: pink
readme:
app-link: "https://pronouns.page/"
app-link: https://pronouns.page
current-maintainers: [*uncenter]
proton:
name: Proton
@@ -860,7 +863,7 @@ userstyles:
icon: protonmail
color: mauve
readme:
app-link: "https://proton.me/"
app-link: https://proton.me
usage: |+
> [!NOTE]
> Set Proton Mail's built-in theme to 'Snow' if you're using Latte or 'Carbon' if you're using the others.
@@ -870,7 +873,7 @@ userstyles:
categories: [development]
color: sapphire
readme:
app-link: "https://pypi.org"
app-link: https://pypi.org
current-maintainers: [*trinkey]
pythonanywhere:
name: PythonAnywhere
@@ -878,7 +881,7 @@ userstyles:
icon: pythonanywhere
color: sapphire
readme:
app-link: "https://pythonanywhere.com"
app-link: https://pythonanywhere.com
current-maintainers: [*trinkey]
quizlet:
name: Quizlet
@@ -886,14 +889,14 @@ userstyles:
icon: quizlet
color: mauve
readme:
app-link: "https://quizlet.com"
app-link: https://quizlet.com
current-maintainers: [*spaghettiosareyummy]
raindrop:
name: Raindrop
categories: [productivity]
color: blue
readme:
app-link: "https://app.raindrop.io"
app-link: https://app.raindrop.io
current-maintainers: [*thismoon]
reddit:
name: Reddit
@@ -901,7 +904,7 @@ userstyles:
color: red
icon: reddit
readme:
app-link: "https://reddit.com"
app-link: https://reddit.com
current-maintainers: []
past-maintainers: [*jayylmao, *rubyowo]
rentry.co:
@@ -909,7 +912,7 @@ userstyles:
categories: [productivity]
color: text
readme:
app-link: "https://rentry.co/"
app-link: https://rentry.co
current-maintainers: [*thismoon]
searxng:
name: SearXNG
@@ -917,14 +920,14 @@ userstyles:
icon: searxng
color: blue
readme:
app-link: "https://github.com/searxng/searxng"
app-link: https://github.com/searxng/searxng
current-maintainers: [*sekki21956, *ryanccn]
shinigami-eyes:
name: Shinigami Eyes
categories: [browser_extension, social_networking]
color: mauve
readme:
app-link: "https://shinigami-eyes.github.io"
app-link: https://shinigami-eyes.github.io
current-maintainers: [*sofiedotcafe]
snapchat-web:
name: Snapchat Web
@@ -932,7 +935,7 @@ userstyles:
icon: snapchat
color: yellow
readme:
app-link: "https://web.snapchat.com"
app-link: https://web.snapchat.com
current-maintainers: [*itzTheMeow]
spotify-web:
name: Spotify Web
@@ -940,7 +943,7 @@ userstyles:
icon: spotify
color: green
readme:
app-link: "https://open.spotify.com"
app-link: https://open.spotify.com
current-maintainers: [*tnixc]
stack-overflow:
name: Stack Overflow
@@ -955,7 +958,7 @@ userstyles:
categories: [search_engine]
color: lavender
readme:
app-link: "https://startpage.com"
app-link: https://startpage.com
current-maintainers: []
past-maintainers: [*bartlibert]
status.cafe:
@@ -963,14 +966,14 @@ userstyles:
categories: [social_networking]
color: sapphire
readme:
app-link: "https://status.cafe"
app-link: https://status.cafe
current-maintainers: [*bunfluff]
stylus:
name: Stylus
categories: [browser_extension]
color: teal
readme:
app-link: "https://github.com/openstyles/stylus"
app-link: https://github.com/openstyles/stylus
current-maintainers: []
substack:
name: Substack
@@ -978,7 +981,7 @@ userstyles:
icon: substack
color: peach
readme:
app-link: "https://substack.com"
app-link: https://substack.com
current-maintainers: [*uncenter]
past-maintainers: [*winston]
syncthing:
@@ -987,7 +990,7 @@ userstyles:
icon: syncthing
color: sapphire
readme:
app-link: "https://syncthing.net"
app-link: https://syncthing.net
usage: |+
> [!NOTE]
> This theme is designed to be used with the default WebGUI and default theme provided by Syncthing. This does not theme syncthing.net.
@@ -997,7 +1000,7 @@ userstyles:
categories: [discussion_forum, entertainment, social_networking]
color: text
readme:
app-link: "https://tabnews.com.br"
app-link: https://tabnews.com.br
current-maintainers: [*Guaxinim5573]
tldraw:
name: tldraw
@@ -1005,7 +1008,7 @@ userstyles:
icon: tldraw
color: text
readme:
app-link: "https://www.tldraw.com"
app-link: https://www.tldraw.com
usage: |+
> [!NOTE]
> This theme only changes how the colors appear on the tldraw canvas. Exported graphics **will not be Catppuccin-themed**.
@@ -1015,7 +1018,7 @@ userstyles:
categories: [development]
color: blue
readme:
app-link: "https://trinket.io"
app-link: https://trinket.io
current-maintainers: [*trinkey]
tuta:
name: Tuta
@@ -1023,7 +1026,7 @@ userstyles:
icon: tutanota
color: maroon
readme:
app-link: "https://tuta.com/"
app-link: https://tuta.com
usage: |+
> [!NOTE]
> Set Tuta's built-in theme to either **light** if you're using Latte or **dark** if you're using the others.
@@ -1034,7 +1037,7 @@ userstyles:
icon: twitch
color: mauve
readme:
app-link: "https://twitch.tv"
app-link: https://twitch.tv
current-maintainers: [*uncenter, *mxgic1337]
twitter:
name: Twitter
@@ -1042,7 +1045,7 @@ userstyles:
color: blue
icon: twitter
readme:
app-link: "https://twitter.com"
app-link: https://twitter.com
usage: |+
> [!NOTE]
> Set Twitter's built-in theme to **Lights out** with the blue accent. Also requires the [:has()](https://developer.mozilla.org/en-US/docs/Web/CSS/:has) selector.
@@ -1053,7 +1056,7 @@ userstyles:
icon: vercel
color: text
readme:
app-link: ["https://vercel.com", "https://nextjs.org"]
app-link: [https://vercel.com, https://nextjs.org]
usage: |+
> [!NOTE]
> This theme also applies to the [Next.js](https://nextjs.org/) website.
@@ -1063,14 +1066,14 @@ userstyles:
categories: [productivity, note_taking]
color: blue
readme:
app-link: "https://vikunja.io"
app-link: https://vikunja.io
current-maintainers: [*Guaxinim5573]
web.dev:
name: web.dev
categories: [development]
color: blue
readme:
app-link: https://web.dev/
app-link: https://web.dev
current-maintainers: [*uncenter]
whatsapp-web:
name: WhatsApp Web
@@ -1078,7 +1081,7 @@ userstyles:
icon: whatsapp
color: green
readme:
app-link: "https://web.whatsapp.com"
app-link: https://web.whatsapp.com
current-maintainers: [*francorav]
wikipedia:
name: Wikipedia
@@ -1086,7 +1089,7 @@ userstyles:
icon: wikipedia
color: text
readme:
app-link: "https://www.wikipedia.org"
app-link: https://www.wikipedia.org
current-maintainers: []
wikiwand:
name: Wikiwand
@@ -1094,7 +1097,7 @@ userstyles:
icon: wikipedia
color: text
readme:
app-link: "https://www.wikiwand.com"
app-link: https://www.wikiwand.com
current-maintainers: [*tnixc]
youtube:
name: YouTube
@@ -1102,7 +1105,7 @@ userstyles:
icon: youtube
color: red
readme:
app-link: "https://youtube.com"
app-link: https://youtube.com
faq:
- question: "**What does the 'Enable for black bars' option mean?**"
answer: "It's available in case you have an OLED display. If you have one, you might want to enable this."
+3 -1
View File
@@ -143,7 +143,9 @@ export function getUserstylesFiles(): string[] {
const files: string[] = [];
for (const dir of Deno.readDirSync(path.join(REPO_ROOT, "styles"))) {
if (!dir.isDirectory) continue;
files.push(path.join(REPO_ROOT, "styles", dir.name, "catppuccin.user.css"));
files.push(
path.join(REPO_ROOT, "styles", dir.name, "catppuccin.user.less"),
);
}
return files;
}