G**gle decided ⭐ are blue, so restoring it back

/* ==UserStyle==
@name Restore Yellow Stars | Gmail
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Simple Gmail userscript that restores your old yellow icons.
@author cubiq.dev
==/UserStyle== */
@-moz-document domain("mail.google.com") {
/*
shoutout to rebane2001 for her userscript version with even cooler icon skin
(tho she fell off honestly. having to use js? ewww... /ssssss ilyyy)
https://girlcockx.com/rebane2001/status/2103914259621281795
*/
[role="switch"][data-is-important=true],
[data-tooltip="Starred"]:is([role="button"], [role="checkbox"]),
span button[aria-label*="Important "] {
/* if you vibe with just css ftrs (close enough, ~96% accurate color) */
filter: brightness(0) invert(67.7%) sepia(56.5%) saturate(639%);
/* but i like my svg filters xd */
filter: brightness(0) invert(1) var(--ftr-colorize-yellow);
}
:root {
--ftr-colorize-yellow: url('data:image/svg+xml;utf8,\
\
\
\
\
\
</feComponentTransfer>\
</filter>\
</svg>#cy');
}
}
添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论