ashtrath / Tokyo-Night

A clean, dark Discord theme that celebrates the lights of Downtown Tokyo at night.
MIT License
89 stars 175 forks source link

Stylus support? #25

Closed Lassebq closed 1 year ago

ashtrath commented 1 year ago

no plan for that, sorry. iirc discord webapp have different css classes. if someone willing to do it its fine tho 😁

Lassebq commented 1 year ago

No, apparently it does work with stylus, you just need to add some metadata in the comment such as name, author and etc, and make the file end with ".user.css". then opening a raw.githubusercontent.com link should open said style in stylus

dukedotdev commented 1 year ago

add some metadata in the comment such as name, author and etc, and make the file end with ".user.css"

Do you have an example of a theme that does this? If so, link it and I'll check if it's easily appendable to this theme. Thanks!

Lassebq commented 1 year ago

https://github.com/orblazer/discord-nordic/blob/master/nordic.user.css

dukedotdev commented 1 year ago

Hey! I think I've got a fix, go over to here to test it. I've never used Stylus, so if anything is glaringly wrong just let me know. If everything works, I'll add the customization options, update the read me, and submit a pull request. Thanks!

Lassebq commented 1 year ago

Yeah, it works.

dukedotdev commented 1 year ago

Ok, cool. I've just added the customization options into the user.css, if you can test again to see if it still works I can update readme and make a pr. Thanks for being quick with this!

dukedotdev commented 1 year ago

Since I haven't gotten a response, I've removed addon support and restored it to a state where it's been confirmed functional. Making the pr now.