catppuccin / userstyles

🖌 Soothing pastel userstyles
MIT License
471 stars 137 forks source link

Support Mastodon "System" theme #966

Closed cyrneko closed 2 months ago

cyrneko commented 3 months ago

Is there an existing issue outlining your problem?

What userstyles are you seeing the problem on?

lbl:mastodon

Describe your problem.

With recent changes to Mastodon they have introduced an option to automatically change dark/light themes. Sadly, this is not backwards-compatible with the "Mastodon Light" and "Mastodon Dark" themes which's variables where used before.

Attach screenshots.

image

What browser(s) are you seeing the problem on?

Any, but I use LibreWolf 126.0

Any additional comments?

N/A

uncenter commented 2 months ago

As illustrated in your screenshot, this doesn't seem like a "recent change to Mastodon" and more something your Glitch instance added that isn't universal across all Mastodon sites. For example, I'm not seeing this on fosstodon.org.

isabelroses commented 2 months ago

I cannot seem to reproduce on tech.lgbt

image

cyrneko commented 2 months ago

As illustrated in your screenshot, this doesn't seem like a "recent change to Mastodon" and more something your Glitch instance added that isn't universal across all Mastodon sites. For example, I'm not seeing this on fosstodon.org.

No, this is an official Mastodon change. My instance recently merged upstream when I made the issue.

https://github.com/mastodon/mastodon/commit/02ea16150647ac3baf0bb8a89203ccc7200b4a2f

uncenter commented 2 months ago

Sure, but I still can't reproduce so I can't make a fix.

isabelroses commented 2 months ago

I can write a patch for this based of the source shared, cannot test it though!

cyrneko commented 2 months ago

I can write a patch for this based of the source shared, cannot test it though!

image

Seems to work!