unoplatform / Uno.Themes

This library is designed to help you use the Material, Fluent or Cupertino design system with the Uno Platform
https://platform.uno
Apache License 2.0
170 stars 33 forks source link

Add SwipeControl Themes #633

Open kazo0 opened 3 years ago

kazo0 commented 3 years ago

What would you like to be added:

Material and Cupertino themes for SwipeControl

Material Guidance:

https://material.io/design/interaction/gestures.html#types-of-gestures swipematerial

Cupertino Guidance

https://developer.apple.com/design/human-interface-guidelines/ios/user-interaction/gestures/ swipeios2

kazo0 commented 3 years ago

Potential problem: There is currently no way to style the SwipeItem within the SwipeControl. Seems to be using a hardcoded named style that we would have to override. Unless we make Uno specific properties that allow us to set the style ourselves.

https://github.com/unoplatform/uno/blob/68f1f7de107c26179350b7ca2ae0c9506b02d776/src/Uno.UI/UI/Xaml/Controls/SwipeControl/SwipeControl.cs#L923