You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/02/05 16:28:52 UTC
[GitHub] [cordova-plugin-splashscreen] globules-io opened a new issue #246:
Dark/Light mode splashscreens
globules-io opened a new issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246
# Feature Request
## Feature Description
Would be nice to have 2 sets of splash screens depending on the current mode (dark vs light) so they actually match with the app UI.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] globules-io commented on issue #246:
Dark/Light mode splashscreens
Posted by GitBox <gi...@apache.org>.
globules-io commented on issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246#issuecomment-582615744
Yes you can check if the current theme is dark or light and support comes with iOS13.
Android support start at 9 (API level 28).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] breautek commented on issue #246:
Dark/Light mode splashscreens
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246#issuecomment-582673200
For iOS, it looks like assets can be assigned to any appearance, or just light, or just dark. https://developer.apple.com/documentation/xcode/supporting_dark_mode_in_your_interface?changes=latest_minor
On Android, dark theme is actually only available on API 29, which will be the new default and officially supported in cordova-android 9 (not currently released). It looks to be configurable by using a `-night` qualifier on the drawables. This [SO](https://stackoverflow.com/a/58892660/4685664) I think makes it easier to understand what android needs compared to reading the official docs.
https://developer.android.com/guide/topics/ui/look-and-feel/darktheme
Just providing helpful links for anybody willing to tackle this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] timbru31 commented on issue #246:
Dark/Light mode splashscreens
Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246#issuecomment-582614824
Is this even supported on the native side (especially iOS)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] HansKrywaa removed a comment on issue
#246: Dark/Light mode splashscreens
Posted by GitBox <gi...@apache.org>.
HansKrywaa removed a comment on issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246#issuecomment-584315484
Regarding to [this](https://stackoverflow.com/a/56892137), it's very simple for iOS, you just have to set the view "Background" color to "System Background Color". This will be white in light mode and black in dark mode.
Is this possible at the moment?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] HansKrywaa commented on issue #246:
Dark/Light mode splashscreens
Posted by GitBox <gi...@apache.org>.
HansKrywaa commented on issue #246: Dark/Light mode splashscreens
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/246#issuecomment-584315484
Regarding to [this](https://stackoverflow.com/a/56892137), it's very simple for iOS, you just have to set the view "Background" color to "System Background Color". This will be white in light mode and black in dark mode.
Is this possible at the moment?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org