question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for iOS Dark Mode

See original GitHub issue

Currently, the default styling of the Modal itself is Light in colour. with iOS 13, there is a new dark mode that turns all native elements darker (Alerts, other modal popups and theming).

If a device is able to detect Dark Mode, we should allow the select modal to be switched to a default “dark” style to fit with other elements that are likely to be present on the screen.

Looks like you could add some manual styling to the modal (which works, other than the Text style)

            modalViewMiddle: {
              backgroundColor: '#000000',
            },
            modalViewBottom: {
              backgroundColor: '#000000',
              color: 'pink', // this does not effect the select text which remains black
            }

Note: Dark mode can be pulled using some other modules and is available in Expo also (for v35).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
maithamcommented, Apr 10, 2020

Turns out the color prop is on on items. When you create items {label: “”, value: “”, color:“”}

5reactions
sarcadasscommented, Oct 21, 2021

I just opened a PR to add support for iOS dark mode #463.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Supporting Dark Mode in Your Interface - Apple Developer
In macOS and iOS, users can choose to adopt a system-wide light or dark appearance. The dark appearance, known as Dark Mode, implements...
Read more >
Dark Mode: Adding support to your app in Swift - SwiftLee
Dark Mode was introduced in iOS 13 and announced at WWDC 2019. It adds a darker theme to iOS and allows you to...
Read more >
Adapting Your App to Support Dark Mode - RayWenderlich.com
In this tutorial, you'll learn how to add support for Dark Mode in your app, making it look great in low-light environments.
Read more >
iOS 13 Dark Mode - Medium
In iOS 13.0 and later, users can choose to adopt a dark appearance called Dark Mode. In Dark Mode, apps and system use...
Read more >
Using Microsoft To Do in dark mode
Microsoft To Do supports dark mode on Windows 10, Android, iOS 13, and macOS Mojave 10.14.2 or later. Windows. To turn on dark...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found