-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt mastodon widget to use dark mode #5
Comments
Hi, At least I would like to give you some hints and future solutions. In the current version (v3), you can change the color of the theme by editing the value At the moment I'm improving all this on the next version (v4). I have to be honest that more users have proposed to change the way themes are managed. |
@hturner the last version of Mastodon Timeline was released: I added a folder with some examples, one of them will do the job for your needs (switching the theme color). |
The maston widget (defined here https://github.com/forwards/forwards.github.io/blob/main/mastodon-timeline.js) has a dark mode, but we need to work out how to activate it with the dark mode toggle.
I think this is the relevant section of code:
https://github.com/forwards/forwards.github.io/blob/main/mastodon-timeline.js#L256-L275.
I will ask on Posit Community in case any one there can help.
The text was updated successfully, but these errors were encountered: