youtube-music icon indicating copy to clipboard operation
youtube-music copied to clipboard

[Feature request] Config option for css styling

Open DrunkenToast opened this issue 2 years ago • 0 comments

I know you can create a plugin but it would be convenient if you can simply point to a css file(s) in the config file. This would also make it easier for users would don't want to build it.

DrunkenToast avatar Jul 21 '22 18:07 DrunkenToast

Hey @DrunkenToast, thanks for the feedback! The feature should actually be straightforward to implement (other parts of the code already inject CSS), I opened https://github.com/th-ch/youtube-music/pull/800 to allow users to pass custom CSS files:

"options": {
    …
    "cssFiles": [
        "path-to-file-1.css",
        "path-to-file-2.css"
    ]
}

th-ch avatar Aug 21 '22 21:08 th-ch

I renamed the option to themes, and there is now a menu entry to set it! PR is merged, it will ship in the next version - closing the issue, feel free to re-open if needed :)

th-ch avatar Aug 25 '22 20:08 th-ch