Skip to content

Commit 1345eb5

Browse files
authored
fix(bsky): various parts (catppuccin#505)
* fix(bsky): theme not applying, dim mode being unsupported Signed-off-by: rooot <hey@rooot.gay> * feat(bsky): better latte support Signed-off-by: rooot <hey@rooot.gay> * feat(bsky): bump version to 0.0.5 Signed-off-by: rooot <hey@rooot.gay> * fix(bsky): linter issues Signed-off-by: rooot <hey@rooot.gay> --------- Signed-off-by: rooot <hey@rooot.gay>
1 parent aef47af commit 1345eb5

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

styles/bsky/catppuccin.user.css

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Bluesky Social Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/bsky
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bsky
5-
@version 0.0.4
5+
@version 0.0.5
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bsky/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Absky
88
@description Soothing pastel theme for Bluesky Social
@@ -61,6 +61,10 @@
6161
/* generic text */
6262
[style*="color: rgb(255, 255, 255)"] {
6363
color: @text !important;
64+
& when (@lookup = latte) {
65+
/* fix button text in latte */
66+
color: @base !important;
67+
}
6468
}
6569

6670
/* secondary text */
@@ -103,8 +107,18 @@
103107
}
104108

105109
/* generic background color */
110+
.css-175oi2r.r-13awgt0,
111+
[style*="background-color: rgb(255, 255, 255)"],
112+
[style*="background-color: rgb(0, 0, 0)"],
106113
[style*="background-color: rgb(8, 10, 12)"] {
107114
background-color: @base !important;
115+
116+
& when (@lookup = latte) {
117+
/* fix button colors in latte */
118+
[style*="background-color: rgb(0, 0, 0)"] {
119+
background-color: @text !important;
120+
}
121+
}
108122
}
109123

110124
/* secondary background color */
@@ -258,6 +272,10 @@
258272
path[fill="#ffffff"],
259273
path[fill="hsl(211, 20%, 100%)"] {
260274
fill: @text;
275+
276+
& when (@lookup = latte) {
277+
fill: @base;
278+
}
261279
}
262280

263281
/* more gray small icons (seems to only be the trash can/delete icon) */
@@ -271,6 +289,7 @@
271289
}
272290

273291
/* x invite codes available icon */
292+
div[style*="background-color: rgb(191, 225, 255)"],
274293
div[style*="background-color: rgb(1, 37, 97)"] {
275294
background-color: fadeout(@accent-color, 70%) !important;
276295
& > svg > path[fill="#52acfe"] {
@@ -356,10 +375,11 @@
356375
}
357376

358377
/* manually set colorscheme */
359-
html.colorMode--light {
378+
html.theme--light {
360379
#catppuccin(@lightFlavor, @accentColor);
361380
}
362-
html.colorMode--dark {
381+
html.theme--dim,
382+
html.theme--dark {
363383
#catppuccin(@darkFlavor, @accentColor);
364384
}
365385
} /* /@-moz-document */

0 commit comments

Comments
 (0)