Skip to content

Instantly share code, notes, and snippets.

@pacochi
Forked from theoria24/like2sushi4mstdn.css
Last active February 14, 2021 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pacochi/a4584bae7c661686144321ea08555dde to your computer and use it in GitHub Desktop.
Save pacochi/a4584bae7c661686144321ea08555dde to your computer and use it in GitHub Desktop.
mastodonのお気に入りボタンをチョコに
/* ==UserStyle==
@name like2choco4mstdn
@namespace hen.acho.co
@version 1.0.0
@description ⭐→🍫
@author pacochi
==/UserStyle== */
.fa-star::before {
background: url(https://twemoji.maxcdn.com/72x72/1f36b.png);
background-repeat: no-repeat;
background-size: 100%;
filter: grayscale(100%) brightness(200%) opacity(50%);
content: "\2003";
}
.star-icon.active > .fa-star::before, .icon-button.active > .fa-star::before {
filter: grayscale(0%) brightness(100%) opacity(100%);
}
.notification__favourite-icon-wrapper > .fa-star::before {
filter: grayscale(0%) brightness(100%) opacity(100%);
}
.column-link > .fa-star::before {
filter: grayscale(100%) brightness(150%) opacity(100%);
}
.column-header > button > .fa-star::before {
filter: grayscale(100%) brightness(150%) opacity(100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment