Skip to content

Commit 1494401

Browse files
committed
style(popup-lyrics): use the client's own encore lyrics glyph
The stroke-tweaked classic mic still read as a magnifying glass at native weight; the client's playbar lyrics icon is the glyph users already associate with lyrics and matches the topbar row by construction.
1 parent 41ba106 commit 1494401

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

modules/popup-lyrics/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "popup-lyrics",
33
"tags": ["extension"],
4-
"version": "0.1.2",
4+
"version": "0.1.3",
55
"authors": ["spicetify"],
66
"description": "Pop synced lyrics up in a picture-in-picture window, sourced from Spotify, Musixmatch, Netease or LRCLIB.",
77
"entries": {

modules/popup-lyrics/mod.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,11 @@ export default async function (ctx: ModuleRuntimeContext) {
479479
lyricVideo.play();
480480

481481
const registrar = createRegistrar(ctx);
482-
// 1.5 round stroke matches the native encore topbar icons (the classic
483-
// SVGIcons.lyrics is a heavier vintage and stands out next to them).
482+
// The client's own encore lyrics glyph (playbar lyrics button), so the
483+
// topbar entry matches the icon users already associate with lyrics.
484484
registrar.placeButton("topbar-right", {
485485
label: "Popup Lyrics",
486-
icon: '<circle fill="none" stroke="currentColor" stroke-width="1.5" cx="8.5" cy="5.5" r="3.9"/><path fill="currentColor" d="M5.1 8.2 L2.45 14.1 A0.62 0.62 0 0 0 3.5 14.85 L7.5 9.55 Z"/>',
486+
icon: '<path fill="currentColor" d="M13.426 2.574a2.831 2.831 0 0 0-4.797 1.55l3.247 3.247a2.831 2.831 0 0 0 1.55-4.797M10.5 8.118l-2.619-2.62L4.74 9.075 2.065 12.12a1.287 1.287 0 0 0 1.816 1.816l3.06-2.688 3.56-3.129zM7.12 4.094a4.331 4.331 0 1 1 4.786 4.786l-3.974 3.493-3.06 2.689a2.787 2.787 0 0 1-3.933-3.933l2.676-3.045z"/>',
487487
onClick: () => {
488488
if (!lyricVideoIsOpen) {
489489
lyricVideo.requestPictureInPicture();

0 commit comments

Comments
 (0)