r/ionic • • Jun 15 '19

Just added dark mode support to my simple Ionic v4 App „npm registry 2 go“

35 Upvotes

13 comments sorted by

1

u/BaIance Jun 15 '19

How did you do it? If you don't mind me asking.

5

u/[deleted] 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

u/rlovelessiii Jun 15 '19

Thank you for this

2

u/[deleted] Jun 15 '19

Your welcome :)

1

u/[deleted] Jun 15 '19

What library are you using for those pretty graphs?

3

u/[deleted] Jun 15 '19

I‘m using highcharts: https://www.highcharts.com/

→ More replies (1)

0

u/[deleted] Jun 16 '19

[deleted]

1

u/[deleted] Jun 16 '19

Thank you :)