Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Allow dark mode for modals #25

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

danielimmke
Copy link

Right now in GTSheet the indicator bar is set to a black background color with partial transparency. This switches it over to use system colors which will use a similar looking gray for light mode and a much lighter gray for dark mode. I needed this to support dark mode in my app, but another approach could be to allow a custom color for the notch to be passed the same way tint color is now. Either way, I figured I'd put in a PR for this.

This is what they look like now in light and then dark mode:

Screen Shot 2020-05-17 at 7 12 47 PM
Screen Shot 2020-05-17 at 7 12 56 PM

Also fixes an issue with the README that was brought up in issue #23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants