nachonavarro / Pages

📖 A lightweight, paging view solution for SwiftUI
MIT License
586 stars 55 forks source link

Page Control Color Customization #19

Open amoran57 opened 4 years ago

amoran57 commented 4 years ago

Your Pages package was such a lifesaver! Very easy to use and exactly what I was looking for. I noticed, though, that the page control indicators weren't customizable, and they also didn't change color when I toggled from light appearance to dark appearance on the simulator. As a result, they were basically invisible in the light appearance mode. I added the option to customize those colors; you could change them to match your app's color scheme, and you could pass in custom colors that vary by appearance to solve the problem I mentioned. You would have to pass a color in as a UIColor, not a SwiftUI Color, but this is easily done.

Thanks again for this great resource!