style: format code with prettier

This commit is contained in:
github-actions committed 2024-10-21 21:27:16 +00:00
1 parent 48251940d4
commit 8d96bf7acd
1 file changed
+14 -8
+14 -8
View File
@@ -87,7 +87,7 @@
/* generic text */ /* generic text */
[style*="color: rgb(255, 255, 255)"], [style*="color: rgb(255, 255, 255)"],
[style*="color: rgb(241, 243, 245)"]//, [style*="color: rgb(241, 243, 245)"]//,
/* [style*="color: rgb(11, 15, 20)"] this breas on dark */ { /* [style*="color: rgb(11, 15, 20)"] this breas on dark */ {
color: @text !important; color: @text !important;
& when (@lookup = latte) { & when (@lookup = latte) {
/* fix button text in latte */ /* fix button text in latte */
@@ -136,7 +136,8 @@
background-color: @accent-color !important; background-color: @accent-color !important;
/* notification count contrast fix, also chat message contrast fix (> div) */ /* notification count contrast fix, also chat message contrast fix (> div) */
&[style*="color: rgb(241, 243, 245)"], > div { &[style*="color: rgb(241, 243, 245)"],
> div {
color: @crust !important; color: @crust !important;
} }
} }
@@ -255,7 +256,7 @@
{ {
background-color: @accent-color !important; background-color: @accent-color !important;
&:hover { &:hover {
background-color: fade(@accent-color, 70%) !important; background-color: fade(@accent-color, 70%) !important;
} }
> div { > div {
@@ -379,7 +380,8 @@
} }
/* text color when writing a post */ /* text color when writing a post */
.ProseMirror, .ProseMirror-dark { .ProseMirror,
.ProseMirror-dark {
color: @text; color: @text;
} }
@@ -461,8 +463,8 @@
/* likes, reposts and comment counts/buttons under posts, maybe more */ /* likes, reposts and comment counts/buttons under posts, maybe more */
path[fill="hsl(211, 20%, 53%)"], path[fill="hsl(211, 20%, 53%)"],
[style*="color: rgb(111, 134, 159)"] { [style*="color: rgb(111, 134, 159)"] {
color: @subtext1 !important; color: @subtext1 !important;
fill: @subtext1 !important; fill: @subtext1 !important;
} }
/* heart/like */ /* heart/like */
@@ -472,14 +474,18 @@
button[data-testid="toggleLikeBtn"] > svg:has(path[fill^="hsl(346,"]) // feed like button button[data-testid="toggleLikeBtn"] > svg:has(path[fill^="hsl(346,"]) // feed like button
{ {
color: @red !important; color: @red !important;
> path { fill: @red !important; } > path {
fill: @red !important;
}
} }
/* repost */ /* repost */
.r-5ld2xk, .r-5ld2xk,
[style*="color: rgb(69, 237, 159)"] { [style*="color: rgb(69, 237, 159)"] {
color: @green !important; color: @green !important;
> path { fill: @green !important; } > path {
fill: @green !important;
}
} }
/* tiny people icon on post view ("Everybody can reply") */ /* tiny people icon on post view ("Everybody can reply") */