Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Dark Mode Support #99

Open
TrueGeek opened this issue Apr 23, 2020 · 3 comments
Open

[Enhancement] Dark Mode Support #99

TrueGeek opened this issue Apr 23, 2020 · 3 comments

Comments

@TrueGeek
Copy link
Sponsor

Summary

Our app has dark mode support but AiForms.SettingsView looks a bit odd.

API Changes

  • In a PickerCell the check marks are very dark against the dark background and there doesn't appear to be a way to specifically set the color of the check marks.

  • In a PickerCell the Header and Footer are VERY bright against the rest of the application with no way to change these colors.

  • In a Section TextColor doesn't change the TitleText which makes the Title unreadable when it's a dark color against a dark background

Intended Use Case

Show AiForms.SettingsView in dark mode

@muak
Copy link
Owner

muak commented May 27, 2020

@TrueGeek
Thank you for your request.

I will consider the implementation. Please wait for some while.

@muak
Copy link
Owner

muak commented May 28, 2020

@TrueGeek

On the latest version,
To change PickerCell checkmark colors, you can use the SettingsView.CellAccentColor Or PickerCell.AccentColor.
To change PickerCell the Header and Footer background color, you can use the SettingsView.BackgroundColor.
To change Section text color, please use SettingsView.HeaderTextColor instead of Section.TextColor.

Section.TextColor property is not supported for now.

Please try these.
Thanks.

@ChaseFlorell
Copy link
Contributor

this might be simpler now that Xamarin Forms has AppTheme support
https://devblogs.microsoft.com/xamarin/app-themes-xamarin-forms/

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

No branches or pull requests

3 participants