Skip to content

Instantly share code, notes, and snippets.

@sudotac
Last active July 20, 2024 04:15
Show Gist options
  • Save sudotac/1dbb2aa69e6d65671dc009ab8e7a8c9f to your computer and use it in GitHub Desktop.
Save sudotac/1dbb2aa69e6d65671dc009ab8e7a8c9f to your computer and use it in GitHub Desktop.
Stars in bluesky
/* ==UserStyle==
@name Stars in bluesky
@namespace https://gist.github.com/sudotac
@version 0.0.1
@description This style makes stars twinkle in the bluesky.
@author sudotac <[email protected]>
@homepageURL https://gist.github.com/sudotac/1dbb2aa69e6d65671dc009ab8e7a8c9f
@updateURL https://gist.githubusercontent.com/sudotac/1dbb2aa69e6d65671dc009ab8e7a8c9f/raw/stars-in-bluesky.user.css
@license CC0-1.0
==/UserStyle== */
@-moz-document domain("bsky.app") {
[data-testid="likeBtn"] svg {
display: none;
}
[data-testid="likeBtn"]::before {
content: "⭐";
}
[data-testid="likeBtn"]:not([aria-label^="いいねを外す"]) {
filter: grayscale(1);
}
[data-testid="likeBtn"][aria-label^="いいねを外す"] [data-testid="likeCount"] {
color: gold;
}
[data-testid="profilePager-いいね"]::before {
content: "お気に入り (";
}
[data-testid="profilePager-いいね"]::after {
content: ")";
}
}
@sudotac
Copy link
Author

sudotac commented Jul 20, 2024

Install directly with Stylus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment