Server: Capabilities - theming - dark mode

Created on 6 Sep 2019  路  4Comments  路  Source: nextcloud/server

  • [x] Android @tobiasKaminsky
  • [x] Desktop @camilasan
  • [x] iOS @marinofaggiana
  • [x] Server @nextcloud/server-triage

Under iOS we have implemented the dark mode, it would be nice to have the darkmode settings on server side under the theming for possible automatic client-side activation.

theming = {
"dark-mode" = 1 or 0;
......
}

1. to develop 馃捇 desktop 馃馃崗 mobile enhancement overview

Most helpful comment

As chatted with @jancborchardt we agree with @rullzer and dark mode should only follow os settings, but not server side options.

All 4 comments

While I guess we can easily expose this @juliushaertl
I guess it would make more sense to follow the OS preference here. So if dark mode is set on iOS use that. If not then not. Or am I missing something?

The dark mode on iOS well be available from the next iOS 13, and the old devices will not have this os feature, and, independently of OS, the theming capabilities should contain this setting

Note that the dark-mode is no theming but an accessibility setting, but I agree that we should also expose those though the capabilities. However we should always respect system settings first, same for Android and Desktop.

cc @tobiasKaminsky @misch7 @nextcloud/accessibility

As chatted with @jancborchardt we agree with @rullzer and dark mode should only follow os settings, but not server side options.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MariusBluem picture MariusBluem  路  3Comments

rullzer picture rullzer  路  3Comments

MorrisJobke picture MorrisJobke  路  3Comments

mama21mama picture mama21mama  路  3Comments

ghost picture ghost  路  3Comments