Skip to content

Instantly share code, notes, and snippets.

@theoria24
Last active April 26, 2023 13:39
Show Gist options
  • Save theoria24/8ac3ac0f8167b109eb0724c4563ddf6d to your computer and use it in GitHub Desktop.
Save theoria24/8ac3ac0f8167b109eb0724c4563ddf6d to your computer and use it in GitHub Desktop.
mastodonのお気に入りボタンを寿司に
.fa-star::before {
background: url(https://twemoji.maxcdn.com/36x36/1f363.png);
background-repeat: no-repeat;
background-size: 100%;
filter: grayscale(100%) opacity(50%);
content: "\2003";
}
.active > .fa-star::before, .notification__favourite-icon-wrapper > .fa-star::before {
filter: grayscale(0%) opacity(100%);
}
.column-link > .fa-star::before, .column-header > button > .fa-star::before, .notification__filter-bar > button > .fa-star::before {
filter: grayscale(100%) brightness(125%) opacity(100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment