Skip to content

Commit 4825d1d

Browse files
authored
feat(alacritty.org): init (#1815)
1 parent 1e04c18 commit 4825d1d

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

scripts/userstyles.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
collaborators:
22
- &nik-rev nik-rev
3+
- &AlwaysNur AlwaysNur
34
- &AnubisNekhet AnubisNekhet
45
- &ndsboy ndsboy
56
- &jn-sena jn-sena
@@ -77,6 +78,12 @@ userstyles:
7778
icon: adventofcode
7879
color: yellow
7980
current-maintainers: [*rubyowo]
81+
alacritty.org:
82+
name: alacritty.org
83+
link: https://alacritty.org
84+
categories: [terminal, development]
85+
color: red
86+
current-maintainers: [*AlwaysNur]
8087
alternativeto:
8188
name: AlternativeTo
8289
link: https://alternativeto.net
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/* ==UserStyle==
2+
@name alacritty.org Catppuccin
3+
@namespace github.com/catppuccin/userstyles/styles/alacritty.org
4+
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/alacritty.org
5+
@version 2000.01.01
6+
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/alacritty.org/catppuccin.user.less
7+
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aalacritty.org
8+
@description Soothing pastel theme for alacritty.org
9+
@author Catppuccin
10+
@license MIT
11+
12+
@preprocessor less
13+
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
14+
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
15+
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
16+
==/UserStyle== */
17+
18+
@import "https://userstyles.catppuccin.com/lib/lib.less";
19+
20+
@-moz-document domain("alacritty.org") {
21+
:root {
22+
@media (prefers-color-scheme: light) {
23+
#catppuccin(@lightFlavor);
24+
}
25+
@media (prefers-color-scheme: dark) {
26+
#catppuccin(@darkFlavor);
27+
}
28+
}
29+
30+
#catppuccin(@flavor) {
31+
#lib.palette();
32+
#lib.defaults();
33+
34+
body {
35+
color: @text !important;
36+
background-color: @base !important;
37+
}
38+
a {
39+
color: @accent !important;
40+
}
41+
header {
42+
background-color: @mantle !important;
43+
border-bottom-color: @surface0 !important;
44+
nav > a {
45+
color: @text !important;
46+
}
47+
}
48+
em {
49+
color: @green !important;
50+
}
51+
strong, strong > a {
52+
color: @blue !important;
53+
}
54+
#pick-version select {
55+
color: @text !important;
56+
background-color: @surface0;
57+
border-color: @overlay0;
58+
}
59+
h1 {
60+
color: @accent !important;
61+
}
62+
a:not([name]) {
63+
text-shadow: none !important;
64+
}
65+
code {
66+
background-color: @surface0;
67+
}
68+
video {
69+
background-color: @overlay0 !important;
70+
}
71+
img:not(img#logo-img) {
72+
border-color: @overlay0 !important;
73+
}
74+
img#logo-img {
75+
border-color: @mantle !important;
76+
}
77+
kbd {
78+
background-color: @surface1 !important;
79+
border-color: @overlay0 !important;
80+
}
81+
}
82+
}

0 commit comments

Comments
 (0)