diff --git a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml
index c3d79bf..88cdfea 100644
--- a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml
+++ b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml
@@ -3,34 +3,12 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls"
- CornerRadius="8">
+ CornerRadius="4"
+ RequestedTheme="Default">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml.cs b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml.cs
index 1a461fd..e18280b 100644
--- a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml.cs
+++ b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml.cs
@@ -6,5 +6,18 @@
{
InitializeComponent();
}
+
+ private void ToggleSwitch_Toggled(object sender, Windows.UI.Xaml.RoutedEventArgs e)
+ {
+ if (test.IsOn)
+ {
+ this.RequestedTheme = Windows.UI.Xaml.ElementTheme.Dark;
+ }
+ else
+ {
+ this.RequestedTheme = Windows.UI.Xaml.ElementTheme.Light;
+
+ }
+ }
}
}
diff --git a/NotificationFlyout.Tray/SampleNotificationFlyout.xaml b/NotificationFlyout.Tray/SampleNotificationFlyout.xaml
index 653c556..0b4c2e5 100644
--- a/NotificationFlyout.Tray/SampleNotificationFlyout.xaml
+++ b/NotificationFlyout.Tray/SampleNotificationFlyout.xaml
@@ -3,6 +3,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sample="clr-namespace:NotificationFlyout.Sample;assembly=NotificationFlyout.Sample"
- IconSource="/Assets/Icon.ico">
+ IconSource="/Assets/Icon.ico"
+ LightIconSource="/Assets/Icon.ico">
diff --git a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml
index cf18094..8a9dd7f 100644
--- a/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml
+++ b/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.xaml
@@ -2,8 +2,19 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls">
+
+
+
+
+
+
+
+
+
+
+