Brettm12345 / github-moonlight

A beatiful dark blue userstyle for GItHub. Made with :heart:
MIT License
397 stars 12 forks source link

Stylus symbol counter shows up on non-github domains #17

Closed gregk-git closed 4 years ago

gregk-git commented 4 years ago

Describe the bug Stylus claims this theme is applying to non-github domains, such as google.com but not on all, for example it doesn't show up on discordapp.com.

Expected behavior Stylus only claims this is applying the domains it's supposed to.

Screenshots https://i.imgur.com/KvuhmTz.png

Desktop (please complete the following information):

Note: This may be an issue with stylus, but I was able to reproduce it on Chrome Stable as well, and do not have this issue with other styles.

vednoc commented 4 years ago

This is intended behavior in Stylus. These lines make it so the variables are accessed globally.

To fix this issue, you'd either put them all (or the ones you need) in separate @-moz-document blocks, or put them all in a new @-moz-document block that has all the domains in it.