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

[Feature request] Dark theme #5434

Open
KaKi87 opened this issue Jan 22, 2022 · 5 comments
Open

[Feature request] Dark theme #5434

KaKi87 opened this issue Jan 22, 2022 · 5 comments

Comments

@KaKi87
Copy link

KaKi87 commented Jan 22, 2022

Thanks

@Hukuma1
Copy link

Hukuma1 commented May 28, 2022

Really would be nice. On iOS it's one of the few apps that I have that do not support dark mode.

I found this: #5412

I think forcing users into light theme is a bit outdated. Would love to help test the layout of a proper dark mode for this app?

@KaKi87
Copy link
Author

KaKi87 commented May 28, 2022

I'm on Android :)

@KaKi87
Copy link
Author

KaKi87 commented Mar 12, 2023

Hello @tsteur, any news on this ? Thanks

@tsteur
Copy link
Member

tsteur commented Mar 12, 2023

@KaKi87 sorry I haven't had time yet.

@m1ga
Copy link
Contributor

m1ga commented Mar 15, 2023

for a dark mode you create a semantic.colors.json in app/assets/ like this:
https://github.com/tidev/titanium_mobile/blob/master/templates/app/default/template/Resources/semantic.colors.json
and add some colors.

https://github.com/matomo-org/matomo-mobile-2/blob/master/app/styles/app.tss#LL2C23-L2C30
replace #FFFFFF with backgroundColor (the label from the semantic colors file) and it will automatically switch between dark/light.

Do it for all colors in the TSS files and you are done 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants