Add AppThemeColor #1261
Closed
PureWeen
started this conversation in
New Feature Discussions
Replies: 2 comments 3 replies
-
I like it, but before moving forward, In order to avoid reoccurring issues, what was the reason to remove it from Xamarin.Forms? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Completed #1264 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of Change
This adds an AppThemeColor that can be used to drastically simplify creating a color palette and reduce the verbosity needed when creating an AppThemeBinding. NOTE This does make a minor deviation from the original proposal as XamlC was thinking the expected type was
AppThemeColorExtension
instead ofAppThemeColor
when declaring the AppThemeColor.Also added in this PR is
AppThemeResource
which is meant to be a generic version of theAppThemeColor
that could be use more broadly for things like an Image Source which may need to change based on Light/Dark mode:Issues Fixed
Fixes dotnet/maui#2597
Beta Was this translation helpful? Give feedback.
All reactions