mirror of
https://github.com/trafficlunar/jellyfin-spicetify.git
synced 2026-06-13 19:07:06 +00:00
feat: jellyfin icon
This commit is contained in:
parent
116b91c46e
commit
c0cb3d1e90
3 changed files with 5 additions and 12 deletions
|
|
@ -51,9 +51,10 @@ async function main() {
|
|||
}
|
||||
|
||||
const audio = new Audio();
|
||||
const icon = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M12 .002C8.826.002-1.398 18.537.16 21.666c1.56 3.129 22.14 3.094 23.682 0S15.177 0 12 0zm7.76 18.949c-1.008 2.028-14.493 2.05-15.514 0C3.224 16.9 9.92 4.755 12.003 4.755c2.081 0 8.77 12.166 7.759 14.196zM12 9.198c-1.054 0-4.446 6.15-3.93 7.189c.518 1.04 7.348 1.027 7.86 0c.511-1.027-2.874-7.19-3.93-7.19z"/></svg>`;
|
||||
|
||||
// Topbar button for settings
|
||||
new Spicetify.Topbar.Button("Jellyfin", "podcasts", () => {
|
||||
new Spicetify.Topbar.Button("Jellyfin", icon, () => {
|
||||
Spicetify.PopupModal.display({
|
||||
title: "Jellyfin",
|
||||
content: React.createElement(SettingsModal) as unknown as Element,
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"nameId": "jellyfin-spicetify"
|
||||
}
|
||||
7
src/types/css-modules.d.ts
vendored
7
src/types/css-modules.d.ts
vendored
|
|
@ -1,9 +1,4 @@
|
|||
declare module '*.module.css' {
|
||||
const classes: { [key: string]: string };
|
||||
export default classes;
|
||||
}
|
||||
|
||||
declare module '*.module.scss' {
|
||||
declare module "*.module.css" {
|
||||
const classes: { [key: string]: string };
|
||||
export default classes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue