Skip to content
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

Custom styles #189

Closed
clarkenciel opened this issue Apr 17, 2017 · 4 comments
Closed

Custom styles #189

clarkenciel opened this issue Apr 17, 2017 · 4 comments

Comments

@clarkenciel
Copy link

I don't know how viable this is, but here goes: Many instances have started to use customized colorschemes, icon styles, and column names. Is it possible for tusky to preserve those styles when "logged in" to such instances?

@Vavassor
Copy link
Collaborator

It isn't possible to preserve the styles. Since I'm sure the existing ones are some combo of HTML & CSS, they work differently than android themes. They would also need to be in the Mastodon API or in some centrailised site to download from.

I've speculated about ways to implement custom themes for Tusky in general, but it's difficult given how android handles theming by design. The light/dark themes right now are basically baked in when the application is built, but when it's running there's no way to add new themes.

It could be done by making a lot of custom code that would exhaustively load values for every attribute in every view type used in the whole app. So, like, it is possible but a lot of tedious work would have to get done to make it happen.

@clarkenciel
Copy link
Author

I thought that would be case. It sounds like at the very least there would need to be a fair bit more research around the use case for this kind of thing and refinements in the main app (as you say). Thank you for taking the time to respond to this though! and if it seems untenable feel free to close.

@SkyzohKey
Copy link

Or we can make a PR on Mastodon admin interface that allow to publish custom colors on the api, then get those colors at runtime (cache them in preference) and restart the app taking in account the new colors. :)

@Tak
Copy link
Collaborator

Tak commented Feb 14, 2023

At minimum, this would need server side support

@Tak Tak closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants