Adding Ionic Dark Mode Support for iOS 13
In this video, we walk through how to add support for iOS 13 dark mode and light mode for your Ionic applications. This allows you to listen for a native preference from the user and adjust the theme of your application accordingly.
We also add a method for manually changing the theme within the application.
Ionic Dark Mode Documentation: https://ionicframework.com/docs/theming/dark-mode
CSS Variables in Ionic: https://www.joshmorony.com/a-primer-on-css-4-variables-for-ionic-4/
Theme Switcher Service: https://www.joshmorony.com/creating-a-theme-switcher-service-in-ionic-using-css4-variables/
#ionic #ios13 #stenciljs
- Learn Ionic: https://www.joshmorony.com/building-mobile-apps-with-ionic-2/
- Find me on Twitter: https://twitter.com/joshuamorony
- More Ionic tutorials: https://www.joshmorony.com/blog/