Skip to content

Commit 1e516d0

Browse files
feat(holodex): init (catppuccin#555)
* feat(holodex): init * fix(holodex): Text colors and formats * chore: move to new userstyles.yml format * fix(holodex): apply sugested changes * fix(holodex): Use regexp for url matching --------- Co-authored-by: Isabel <isabel@isabelroses.com>
1 parent fcf7250 commit 1e516d0

7 files changed

Lines changed: 221 additions & 0 deletions

File tree

scripts/userstyles.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ collaborators:
111111
- &uncenter
112112
name: uncenter
113113
url: https://github.com/uncenter
114+
- &Guaxinim5573
115+
name: Guaxinim5573
116+
url: https://github.com/Guaxinim5573
114117

115118
userstyles:
116119
advent-of-code:
@@ -317,6 +320,15 @@ userstyles:
317320
readme:
318321
app-link: "https://news.ycombinator.com"
319322
current-maintainers: [*lucasmelin]
323+
holodex:
324+
name: Holodex
325+
categories: [entertainment, social_networking, photo_and_video]
326+
readme:
327+
app-link: "https://holodex.net"
328+
usage: |+
329+
> **Note** <br>
330+
> Holodex's selected theme is ignored.
331+
current-maintainers: [*Guaxinim5573]
320332
homepage:
321333
name: homepage
322334
categories: [productivity]

styles/holodex/assets/catwalk.webp

1.44 MB
Loading

styles/holodex/assets/frappe.webp

269 KB
Loading

styles/holodex/assets/latte.webp

267 KB
Loading
270 KB
Loading

styles/holodex/assets/mocha.webp

277 KB
Loading

styles/holodex/catppuccin.user.css

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
/* ==UserStyle==
2+
@name Holodex Catppuccin
3+
@namespace github.com/catppuccin/userstyles/styles/holodex
4+
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/holodex
5+
@version 0.0.1
6+
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/holodex/catppuccin.user.css
7+
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aholodex
8+
@description Soothing pastel theme for Holodex
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+
@-moz-document regexp('https?:\\/\\/holodex\\.net/.*') {
18+
/* prettier-ignore */
19+
@catppuccin: {
20+
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
21+
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
22+
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
23+
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
24+
}
25+
26+
#catppuccin(@lookup, @accent) {
27+
@rosewater: @catppuccin[@@lookup][@rosewater];
28+
@flamingo: @catppuccin[@@lookup][@flamingo];
29+
@pink: @catppuccin[@@lookup][@pink];
30+
@mauve: @catppuccin[@@lookup][@mauve];
31+
@red: @catppuccin[@@lookup][@red];
32+
@maroon: @catppuccin[@@lookup][@maroon];
33+
@peach: @catppuccin[@@lookup][@peach];
34+
@yellow: @catppuccin[@@lookup][@yellow];
35+
@green: @catppuccin[@@lookup][@green];
36+
@teal: @catppuccin[@@lookup][@teal];
37+
@sky: @catppuccin[@@lookup][@sky];
38+
@sapphire: @catppuccin[@@lookup][@sapphire];
39+
@blue: @catppuccin[@@lookup][@blue];
40+
@lavender: @catppuccin[@@lookup][@lavender];
41+
@text: @catppuccin[@@lookup][@text];
42+
@subtext1: @catppuccin[@@lookup][@subtext1];
43+
@subtext0: @catppuccin[@@lookup][@subtext0];
44+
@overlay2: @catppuccin[@@lookup][@overlay2];
45+
@overlay1: @catppuccin[@@lookup][@overlay1];
46+
@overlay0: @catppuccin[@@lookup][@overlay0];
47+
@surface2: @catppuccin[@@lookup][@surface2];
48+
@surface1: @catppuccin[@@lookup][@surface1];
49+
@surface0: @catppuccin[@@lookup][@surface0];
50+
@base: @catppuccin[@@lookup][@base];
51+
@mantle: @catppuccin[@@lookup][@mantle];
52+
@crust: @catppuccin[@@lookup][@crust];
53+
@accent-color: @catppuccin[@@lookup][@@accent];
54+
55+
--v-anchor-base: @accent-color;
56+
--v-primary-base: @accent-color;
57+
--v-primary-lighten1: lighten(@accent-color, 4%);
58+
--v-primary-lighten2: lighten(@accent-color, 8%);
59+
--v-primary-lighten3: lighten(@accent-color, 9%);
60+
--v-primary-lighten4: lighten(@accent-color, 18%);
61+
--v-primary-lighten5: lighten(@accent-color, 19%);
62+
--v-primary-darken1: darken(@accent-color, 14%);
63+
--v-primary-darken2: darken(@accent-color, 31%);
64+
--v-primary-darken3: darken(@accent-color, 35%);
65+
--v-primary-darken4: darken(@accent-color, 43%);
66+
67+
--v-accent-base: @accent-color;
68+
--v-accent-lighten1: lighten(@accent-color, 4%);
69+
--v-accent-lighten2: lighten(@accent-color, 8%);
70+
--v-accent-lighten3: lighten(@accent-color, 9%);
71+
--v-accent-lighten4: lighten(@accent-color, 18%);
72+
--v-accent-lighten5: lighten(@accent-color, 19%);
73+
--v-accent-darken1: darken(@accent-color, 14%);
74+
--v-accent-darken2: darken(@accent-color, 31%);
75+
--v-accent-darken3: darken(@accent-color, 35%);
76+
--v-accent-darken4: darken(@accent-color, 43%);
77+
78+
--v-secondary-base: @accent-color;
79+
--v-secondary-lighten1: lighten(@accent-color, 4%);
80+
--v-secondary-lighten2: lighten(@accent-color, 8%);
81+
--v-secondary-lighten3: lighten(@accent-color, 9%);
82+
--v-secondary-lighten4: lighten(@accent-color, 18%);
83+
--v-secondary-lighten5: lighten(@accent-color, 19%);
84+
--v-secondary-darken1: darken(@accent-color, 14%);
85+
--v-secondary-darken2: darken(@accent-color, 31%);
86+
--v-secondary-darken3: darken(@accent-color, 35%);
87+
--v-secondary-darken4: darken(@accent-color, 43%);
88+
89+
--v-error-base: @red;
90+
--v-error-lighten1: lighten(@red, 4%);
91+
--v-error-lighten2: lighten(@red, 8%);
92+
--v-error-lighten3: lighten(@red, 9%);
93+
--v-error-lighten4: lighten(@red, 18%);
94+
--v-error-lighten5: lighten(@red, 19%);
95+
--v-error-darken1: darken(@red, 14%);
96+
--v-error-darken2: darken(@red, 31%);
97+
--v-error-darken3: darken(@red, 35%);
98+
--v-error-darken4: darken(@red, 43%);
99+
100+
--v-info-base: @blue;
101+
--v-info-lighten1: lighten(@blue, 4%);
102+
--v-info-lighten2: lighten(@blue, 8%);
103+
--v-info-lighten3: lighten(@blue, 9%);
104+
--v-info-lighten4: lighten(@blue, 18%);
105+
--v-info-lighten5: lighten(@blue, 19%);
106+
--v-info-darken1: darken(@blue, 14%);
107+
--v-info-darken2: darken(@blue, 31%);
108+
--v-info-darken3: darken(@blue, 35%);
109+
--v-info-darken4: darken(@blue, 43%);
110+
111+
--v-success-base: @green;
112+
--v-success-lighten1: lighten(@green, 4%);
113+
--v-success-lighten2: lighten(@green, 8%);
114+
--v-success-lighten3: lighten(@green, 9%);
115+
--v-success-lighten4: lighten(@green, 18%);
116+
--v-success-lighten5: lighten(@green, 19%);
117+
--v-success-darken1: darken(@green, 14%);
118+
--v-success-darken2: darken(@green, 31%);
119+
--v-success-darken3: darken(@green, 35%);
120+
--v-success-darken4: darken(@green, 43%);
121+
122+
--v-warning-base: @yellow;
123+
--v-warning-lighten1: lighten(@yellow, 4%);
124+
--v-warning-lighten2: lighten(@yellow, 8%);
125+
--v-warning-lighten3: lighten(@yellow, 9%);
126+
--v-warning-lighten4: lighten(@yellow, 18%);
127+
--v-warning-lighten5: lighten(@yellow, 19%);
128+
--v-warning-darken1: darken(@yellow, 14%);
129+
--v-warning-darken2: darken(@yellow, 31%);
130+
--v-warning-darken3: darken(@yellow, 35%);
131+
--v-warning-darken4: darken(@yellow, 43%);
132+
133+
--v-background-base: @base;
134+
--v-background-lighten1: lighten(@base, 4%);
135+
--v-background-lighten2: lighten(@base, 8%);
136+
--v-background-lighten3: lighten(@base, 9%);
137+
--v-background-lighten4: lighten(@base, 18%);
138+
--v-background-lighten5: lighten(@base, 19%);
139+
--v-background-darken1: darken(@base, 14%);
140+
--v-background-darken2: darken(@base, 31%);
141+
--v-background-darken3: darken(@base, 35%);
142+
--v-background-darken4: darken(@base, 43%);
143+
144+
145+
div.v-application {
146+
background: @base !important;
147+
color: @text;
148+
}
149+
150+
header#top-bar,
151+
header.v-toolbar,
152+
div.v-navigation-drawer__content,
153+
div#bottom-bar,
154+
div.v-main__wrap > div,
155+
div.v-select__selections,
156+
div.v-slide-group__wrapper,
157+
div.v-bottom-navigation,
158+
div.v-select__slot,
159+
div.v-input__slot,
160+
div.v-overlay__scrim {
161+
background: @base !important;
162+
}
163+
div.v-sheet {
164+
background: @base;
165+
border-color: @base;
166+
}
167+
button.v-btn.v-btn--has-bg {
168+
background-color: @surface0 !important;
169+
}
170+
171+
.v-list,
172+
.v-list-item,
173+
.v-card,
174+
.v-sheet,
175+
.v-select__selections,
176+
.v-input__slot input {
177+
color: @text !important;
178+
path {
179+
fill: @text;
180+
}
181+
}
182+
183+
.v-chip {
184+
background: @blue;
185+
}
186+
187+
.primary--text,
188+
.name-vtuber {
189+
color: @accent-color !important;
190+
}
191+
192+
.text-live {
193+
color: @red;
194+
}
195+
196+
.stream-count-chip {
197+
color: @crust !important;
198+
}
199+
}
200+
201+
:root:has(.theme--dark) {
202+
#catppuccin(@darkFlavor, @accentColor);
203+
}
204+
205+
:root:has(.theme--light) {
206+
#catppuccin(@lightFlavor, @accentColor);
207+
}
208+
}
209+
// vim:ft=less

0 commit comments

Comments
 (0)