From 563065af7e682107dc519ab44061b1a1a9e6bbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20R=C3=BChl?= Date: Mon, 18 Mar 2019 19:03:15 +0100 Subject: [PATCH] Add default style for hyperlink (#11) --- .../AdonisUI.ClassicTheme.csproj | 4 ++++ .../DefaultStyles/Hyperlink.xaml | 18 ++++++++++++++++++ AdonisUI.ClassicTheme/Resources.xaml | 1 + AdonisUI.Demo/Views/LayerDemo.xaml | 6 ++++++ AdonisUI/Brushes.cs | 1 + AdonisUI/ColorSchemes/Dark.xaml | 2 ++ AdonisUI/ColorSchemes/Light.xaml | 2 ++ AdonisUI/Colors.cs | 1 + 8 files changed, 35 insertions(+) create mode 100644 AdonisUI.ClassicTheme/DefaultStyles/Hyperlink.xaml diff --git a/AdonisUI.ClassicTheme/AdonisUI.ClassicTheme.csproj b/AdonisUI.ClassicTheme/AdonisUI.ClassicTheme.csproj index 1c6c101..be844d5 100644 --- a/AdonisUI.ClassicTheme/AdonisUI.ClassicTheme.csproj +++ b/AdonisUI.ClassicTheme/AdonisUI.ClassicTheme.csproj @@ -93,6 +93,10 @@ MSBuild:Compile Designer + + MSBuild:Compile + Designer + MSBuild:Compile Designer diff --git a/AdonisUI.ClassicTheme/DefaultStyles/Hyperlink.xaml b/AdonisUI.ClassicTheme/DefaultStyles/Hyperlink.xaml new file mode 100644 index 0000000..382e8f2 --- /dev/null +++ b/AdonisUI.ClassicTheme/DefaultStyles/Hyperlink.xaml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/AdonisUI.ClassicTheme/Resources.xaml b/AdonisUI.ClassicTheme/Resources.xaml index 84eebff..6f56296 100644 --- a/AdonisUI.ClassicTheme/Resources.xaml +++ b/AdonisUI.ClassicTheme/Resources.xaml @@ -20,6 +20,7 @@ + diff --git a/AdonisUI.Demo/Views/LayerDemo.xaml b/AdonisUI.Demo/Views/LayerDemo.xaml index e400772..3782069 100644 --- a/AdonisUI.Demo/Views/LayerDemo.xaml +++ b/AdonisUI.Demo/Views/LayerDemo.xaml @@ -211,6 +211,8 @@ + + \ No newline at end of file diff --git a/AdonisUI/ColorSchemes/Light.xaml b/AdonisUI/ColorSchemes/Light.xaml index 96c81e8..13007d5 100644 --- a/AdonisUI/ColorSchemes/Light.xaml +++ b/AdonisUI/ColorSchemes/Light.xaml @@ -63,6 +63,7 @@ #dd2c00 #ffa000 + #0645ad @@ -125,5 +126,6 @@ + \ No newline at end of file diff --git a/AdonisUI/Colors.cs b/AdonisUI/Colors.cs index 7218d36..92f11e8 100644 --- a/AdonisUI/Colors.cs +++ b/AdonisUI/Colors.cs @@ -69,5 +69,6 @@ public static class Colors public static ComponentResourceKey ErrorColor => new ComponentResourceKey(typeof(Colors), "ErrorColor"); public static ComponentResourceKey AlertColor => new ComponentResourceKey(typeof(Colors), "AlertColor"); + public static ComponentResourceKey HyperlinkColor => new ComponentResourceKey(typeof(Colors), "HyperlinkColor"); } }