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

Investigate Dark Mode support #388

Open
eb1 opened this issue Sep 26, 2019 · 2 comments
Open

Investigate Dark Mode support #388

eb1 opened this issue Sep 26, 2019 · 2 comments

Comments

@eb1
Copy link
Contributor

eb1 commented Sep 26, 2019

Is your feature request related to a problem? Please describe.
One of the features in Android and iOS is what's called "dark mode." In it, the background is set to a dark color, with the text in a lighter color. An example of this is found here: https://webkit.org/blog/8840/dark-mode-support-in-webkit/

Describe the solution you'd like
It would be nice to investigate what's needed to support this in AIM, such that the color scheme displayed in AIM matches the settings on the phone. An alternative implementation would follow what we do for localization, where we allow the user to either follow the device's setting or override it for AIM.

@eb1 eb1 added this to the Needs Prioritization milestone Sep 26, 2019
@eb1
Copy link
Contributor Author

eb1 commented Sep 28, 2019

@eb1
Copy link
Contributor Author

eb1 commented Sep 28, 2019

According to CanIUse.com, the color-scheme CSS attributes are not supported on Chrome for Android: https://caniuse.com/#search=color-scheme.

At best, we'd need to manually swap out CSS stylesheets -- which is not impossible. The CSS templates we use do have light / dark permutations (http://topcoat.io/topcoat/). But this looks like it would take some work.

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

1 participant