Open KaKi87 opened 2 years ago
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: https://github.com/matomo-org/matomo-mobile-2/pull/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?
I'm on Android :)
Hello @tsteur, any news on this ? Thanks
@KaKi87 sorry I haven't had time yet.
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 :smile:
Thanks