r/ionic • u/[deleted] • Jun 15 '19
Just added dark mode support to my simple Ionic v4 App „npm registry 2 go“
35
Upvotes
1
u/BaIance Jun 15 '19
How did you do it? If you don't mind me asking.
5
Jun 15 '19
Because Ionic runs in a WebView you can use the CSS dark mode media query that is also supported on other browsers like chrome or the new edge browser: https://webkit.org/blog/8840/dark-mode-support-in-webkit/
1
1
0
2
u/[deleted] Jun 15 '19
iOS: https://apps.apple.com/de/app/npm-registry-2-go/id1360641778
Android: https://play.google.com/store/apps/details?id=com.danielsogl.npm2go
I will release this update next week :)