Yeet goog fonts (smelly)

Nicer accent colour
This commit is contained in:
Michał Gdula 2024-05-26 22:25:33 +01:00
parent ec80ed92a4
commit ab8e07651a
6 changed files with 24 additions and 12 deletions

View file

@ -19,7 +19,7 @@ import leg from "../assets/leg.webp";
const data = await request.json();
( document.querySelector("#music-image") as HTMLImageElement ).src = data["track"]["image"][1]["#text"];
( document.querySelector("#music-title") as HTMLParagraphElement ).innerText = `Listening to ${data["track"]["name"]}`;
( document.querySelector("#music-title") as HTMLParagraphElement ).innerText = `${data["track"]["name"]}`;
( document.querySelector("#music-artist") as HTMLParagraphElement ).innerText = `by ${data["track"]["artist"]["#text"]}`;
( document.querySelector("#music-album") as HTMLParagraphElement ).innerText = `on ${data["track"]["album"]["#text"]}`;
});
@ -68,6 +68,6 @@ import leg from "../assets/leg.webp";
}
#music-title {
font-weight: bold;
font-weight: 600;
}
</style>