diff --git a/src/EasyDialog.Tests/EasyDialog.Tests.csproj b/src/EasyDialog.Tests/EasyDialog.Tests.csproj
index 03d304f..ad5aa8d 100644
--- a/src/EasyDialog.Tests/EasyDialog.Tests.csproj
+++ b/src/EasyDialog.Tests/EasyDialog.Tests.csproj
@@ -33,6 +33,9 @@
4
+
+ ..\packages\MaterialSkin.0.2.1\lib\MaterialSkin.dll
+
..\packages\MetroFramework.RunTime.1.2.0.3\lib\net40-Client\MetroFramework.dll
diff --git a/src/EasyDialog.Tests/Implementation/AuthentificationDialog.cs b/src/EasyDialog.Tests/Implementation/AuthentificationDialog.cs
index 87b00d0..c2e7e6a 100644
--- a/src/EasyDialog.Tests/Implementation/AuthentificationDialog.cs
+++ b/src/EasyDialog.Tests/Implementation/AuthentificationDialog.cs
@@ -10,7 +10,7 @@ public class AuthentificationDialog : DialogContext
protected override void OnConfiguring(DialogContextOptionsBuilder builder)
{
- builder.UseStyle(DialogStyle.Material)
+ builder.UseMaterialStyle(MaterialTheme.Light, MaterialColorScheme.Cyan)
.WithTitle("Authentification")
.WithButton("Sign in");
diff --git a/src/EasyDialog.Tests/Implementation/ClientDialog.cs b/src/EasyDialog.Tests/Implementation/ClientDialog.cs
index f9b9791..cc817d9 100644
--- a/src/EasyDialog.Tests/Implementation/ClientDialog.cs
+++ b/src/EasyDialog.Tests/Implementation/ClientDialog.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
-using bubuntoid.EasyDialog.Enums;
using bubuntoid.EasyDialog.Tests.Implementation.CustomDialogItems;
using bubuntoid.EasyDialog.Tests.Models;
@@ -34,8 +33,7 @@ protected override void OnConfiguring(DialogContextOptionsBuilder builder)
var title = client == null ? "Create a new client" : $"Edit client #{client.Id}";
var button = client == null ? "Add" : "Save";
- builder.UseStyle(DialogStyle.Metro)
- .UseMetroTheme(theme)
+ builder.UseMetroStyle(theme)
.WithTitle(title)
.WithButton(button);
diff --git a/src/EasyDialog.Tests/Implementation/UploadFileDialog.cs b/src/EasyDialog.Tests/Implementation/UploadFileDialog.cs
index 7c9bc26..ef2cb45 100644
--- a/src/EasyDialog.Tests/Implementation/UploadFileDialog.cs
+++ b/src/EasyDialog.Tests/Implementation/UploadFileDialog.cs
@@ -1,6 +1,4 @@
-using System.Windows.Forms;
-using System.Windows.Forms.VisualStyles;
-using bubuntoid.EasyDialog.Tests.Implementation.CustomDialogItems;
+using bubuntoid.EasyDialog.Tests.Implementation.CustomDialogItems;
namespace bubuntoid.EasyDialog.Tests.Implementation
{
@@ -11,7 +9,7 @@ public class UploadFileDialog : DialogContext
protected override void OnConfiguring(DialogContextOptionsBuilder builder)
{
- builder.UseStyle(DialogStyle.Default)
+ builder.UseDefaultStyle()
.WithTitle("Uploading...")
.WithButton("Upload");
diff --git a/src/EasyDialog.Tests/Program.cs b/src/EasyDialog.Tests/Program.cs
index e27f669..e089cb1 100644
--- a/src/EasyDialog.Tests/Program.cs
+++ b/src/EasyDialog.Tests/Program.cs
@@ -1,9 +1,9 @@
using System;
using System.Windows.Forms;
using System.Threading.Tasks;
-using bubuntoid.EasyDialog.Enums;
using bubuntoid.EasyDialog.Tests.Implementation;
using bubuntoid.EasyDialog.Tests.Models;
+using MaterialSkin.Controls;
namespace bubuntoid.EasyDialog.Tests
{
@@ -19,7 +19,7 @@ static void Main()
var taskB = Task.Factory.StartNew(() => new ClientDialog(Client.Get()).Show());
var taskC = Task.Factory.StartNew(() => new UploadFileDialog().Show());
var taskD = Task.Factory.StartNew(() => new ClientDialog(null, MetroTheme.Green).Show());
-
+
Task.WaitAll(new[] { taskA, taskB, taskC, taskD });
}
}
diff --git a/src/EasyDialog.Tests/packages.config b/src/EasyDialog.Tests/packages.config
index 7d9bc13..72ca313 100644
--- a/src/EasyDialog.Tests/packages.config
+++ b/src/EasyDialog.Tests/packages.config
@@ -1,4 +1,5 @@
+
\ No newline at end of file
diff --git a/src/EasyDialog/DialogContextOptionsBuilder.cs b/src/EasyDialog/DialogContextOptionsBuilder.cs
index e2f8584..b42d84b 100644
--- a/src/EasyDialog/DialogContextOptionsBuilder.cs
+++ b/src/EasyDialog/DialogContextOptionsBuilder.cs
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
-using bubuntoid.EasyDialog.Enums;
-
namespace bubuntoid.EasyDialog
{
public class DialogContextOptionsBuilder
@@ -11,6 +9,8 @@ public class DialogContextOptionsBuilder
internal DialogStyle Style { get; set; } = DialogStyle.Default;
internal MetroTheme MetroTheme { get; set; } = MetroTheme.Default;
+ internal MaterialTheme MaterialTheme { get; set; } = MaterialTheme.Light;
+ internal MaterialColorScheme MaterialColorScheme { get; set; } = MaterialColorScheme.Default;
internal string Title { get; set; } = "Dialog";
internal string ButtonText { get; set; } = "Ok";
@@ -19,17 +19,51 @@ internal DialogContextOptionsBuilder(IEnumerable items)
this.items = items;
}
- public DialogContextOptionsBuilder UseStyle(DialogStyle style)
+ ///
+ /// Material skin using some statics inside, so you may use only one dialog with that style at once.
+ ///
+ ///
+ ///
+ public DialogContextOptionsBuilder UseMaterialStyle(MaterialTheme theme)
{
- Style = style;
+ Style = DialogStyle.Material;
+
+ MaterialTheme = theme;
return this;
}
+ ///
+ /// Material skin using some statics inside, so you may use only one dialog with that style at once.
+ /// Uses Light theme by default.
+ ///
+ ///
+ ///
+ public DialogContextOptionsBuilder UseMaterialStyle() => UseMaterialStyle(MaterialTheme.Light);
+
+ ///
+ /// Material skin using some statics inside, so you may use only one dialog with that style at once.
+ /// Default values are: Light, BlueGrey800, BlueGrey900, BlueGrey500, LightBlue200, White
+ ///
+ ///
+ ///
+ public DialogContextOptionsBuilder UseMaterialStyle(MaterialTheme theme, MaterialColorScheme colorScheme)
+ {
+ MaterialColorScheme = colorScheme;
+ return UseMaterialStyle(theme);
+ }
- public DialogContextOptionsBuilder UseMetroTheme(MetroTheme theme)
+ public DialogContextOptionsBuilder UseMetroStyle(MetroTheme theme)
{
+ Style = DialogStyle.Metro;
MetroTheme = theme;
return this;
}
+ public DialogContextOptionsBuilder UseMetroStyle() => UseMetroStyle(MetroTheme.Default);
+
+ public DialogContextOptionsBuilder UseDefaultStyle()
+ {
+ Style = DialogStyle.Default;
+ return this;
+ }
public DialogContextOptionsBuilder WithTitle(string title)
{
diff --git a/src/EasyDialog/EasyDialog.csproj b/src/EasyDialog/EasyDialog.csproj
index 129bb60..3a2eba4 100644
--- a/src/EasyDialog/EasyDialog.csproj
+++ b/src/EasyDialog/EasyDialog.csproj
@@ -59,10 +59,14 @@
+
+
+
+
@@ -89,6 +93,7 @@
+
diff --git a/src/EasyDialog/Enums/DialogStyle.cs b/src/EasyDialog/Enums/DialogStyle.cs
index d7406dc..c2def51 100644
--- a/src/EasyDialog/Enums/DialogStyle.cs
+++ b/src/EasyDialog/Enums/DialogStyle.cs
@@ -1,6 +1,6 @@
namespace bubuntoid.EasyDialog
{
- public enum DialogStyle
+ internal enum DialogStyle
{
Default,
Metro,
diff --git a/src/EasyDialog/Enums/MaterialTheme.cs b/src/EasyDialog/Enums/MaterialTheme.cs
new file mode 100644
index 0000000..83cbfc8
--- /dev/null
+++ b/src/EasyDialog/Enums/MaterialTheme.cs
@@ -0,0 +1,8 @@
+namespace bubuntoid.EasyDialog
+{
+ public enum MaterialTheme
+ {
+ Light,
+ Dark,
+ }
+}
diff --git a/src/EasyDialog/Enums/MaterialThemeAccent.cs b/src/EasyDialog/Enums/MaterialThemeAccent.cs
new file mode 100644
index 0000000..84ceace
--- /dev/null
+++ b/src/EasyDialog/Enums/MaterialThemeAccent.cs
@@ -0,0 +1,70 @@
+namespace bubuntoid.EasyDialog
+{
+ public enum MaterialThemeAccent
+ {
+ LightBlue700 = 37354,
+ LightBlue400 = 45311,
+ Cyan700 = 47316,
+ Teal700 = 49061,
+ Green700 = 51283,
+ Cyan400 = 58879,
+ Green400 = 58998,
+ Cyan200 = 1638399,
+ Teal400 = 1960374,
+ Blue700 = 2712319,
+ Blue400 = 2718207,
+ Indigo700 = 3166206,
+ Indigo400 = 4020990,
+ LightBlue200 = 4244735,
+ Blue200 = 4492031,
+ Indigo200 = 5467646,
+ DeepPurple700 = 6422762,
+ LightGreen700 = 6610199,
+ Teal200 = 6619098,
+ DeepPurple400 = 6627327,
+ Green200 = 6942894,
+ LightGreen400 = 7798531,
+ DeepPurple200 = 8146431,
+ LightBlue100 = 8444159,
+ Blue100 = 8565247,
+ Cyan100 = 8716287,
+ Indigo100 = 9215743,
+ Teal100 = 11010027,
+ Purple700 = 11141375,
+ Lime700 = 11463168,
+ LightGreen200 = 11730777,
+ DeepPurple100 = 11766015,
+ Green100 = 12187338,
+ Pink700 = 12915042,
+ Lime400 = 13041408,
+ LightGreen100 = 13434768,
+ Red700 = 13959168,
+ Purple400 = 13959417,
+ DeepOrange700 = 14494720,
+ Purple200 = 14696699,
+ Purple100 = 15368444,
+ Lime200 = 15662913,
+ Lime100 = 16056193,
+ Pink400 = 16056407,
+ Red400 = 16717636,
+ DeepOrange400 = 16727296,
+ Pink200 = 16728193,
+ Red200 = 16732754,
+ Orange700 = 16739584,
+ DeepOrange200 = 16739904,
+ Pink100 = 16744619,
+ Red100 = 16747136,
+ Orange400 = 16748800,
+ DeepOrange100 = 16752256,
+ Amber700 = 16755456,
+ Orange200 = 16755520,
+ Amber400 = 16761856,
+ Orange100 = 16765312,
+ Yellow700 = 16766464,
+ Amber200 = 16766784,
+ Amber100 = 16770431,
+ Yellow400 = 16771584,
+ Yellow200 = 16776960,
+ Yellow100 = 16777101
+ }
+}
diff --git a/src/EasyDialog/Enums/MaterialThemePrimaryColor.cs b/src/EasyDialog/Enums/MaterialThemePrimaryColor.cs
new file mode 100644
index 0000000..e7b0550
--- /dev/null
+++ b/src/EasyDialog/Enums/MaterialThemePrimaryColor.cs
@@ -0,0 +1,196 @@
+namespace bubuntoid.EasyDialog
+{
+ public enum MaterialThemePrimaryColor
+ {
+ Teal900 = 19776,
+ Cyan900 = 24676,
+ Teal800 = 26972,
+ Teal700 = 31083,
+ Cyan800 = 33679,
+ Teal600 = 35195,
+ Teal500 = 38536,
+ Cyan700 = 38823,
+ Cyan600 = 44225,
+ Cyan500 = 48340,
+ LightBlue900 = 87963,
+ LightBlue800 = 161725,
+ LightBlue700 = 166097,
+ LightBlue600 = 236517,
+ LightBlue500 = 240116,
+ Blue900 = 870305,
+ Blue800 = 1402304,
+ Blue700 = 1668818,
+ Indigo900 = 1713022,
+ Green900 = 1793568,
+ Blue600 = 2001125,
+ Grey900 = 2171169,
+ Blue500 = 2201331,
+ BlueGrey900 = 2503224,
+ Teal400 = 2533018,
+ Cyan400 = 2541274,
+ Indigo800 = 2635155,
+ LightBlue400 = 2733814,
+ Green800 = 3046706,
+ Indigo700 = 3162015,
+ DeepPurple900 = 3218322,
+ LightGreen900 = 3369246,
+ BlueGrey800 = 3622735,
+ Green700 = 3706428,
+ Indigo600 = 3754411,
+ Brown900 = 4073251,
+ Indigo500 = 4149685,
+ Grey800 = 4342338,
+ Blue400 = 4367861,
+ Green600 = 4431943,
+ DeepPurple800 = 4532128,
+ BlueGrey700 = 4545124,
+ Purple900 = 4854924,
+ Green500 = 5025616,
+ Teal300 = 5093036,
+ Cyan300 = 5099745,
+ Brown800 = 5125166,
+ LightBlue300 = 5227511,
+ DeepPurple700 = 5320104,
+ BlueGrey600 = 5533306,
+ LightGreen800 = 5606191,
+ Indigo400 = 6056896,
+ Brown700 = 6111287,
+ DeepPurple600 = 6174129,
+ BlueGrey500 = 6323595,
+ Grey700 = 6381921,
+ Blue300 = 6600182,
+ Green400 = 6732650,
+ DeepPurple500 = 6765239,
+ LightGreen700 = 6856504,
+ Purple800 = 6953882,
+ Brown600 = 7162945,
+ Grey600 = 7697781,
+ BlueGrey400 = 7901340,
+ Brown500 = 7951688,
+ Indigo300 = 7964363,
+ Purple700 = 8069026,
+ LightGreen600 = 8172354,
+ DeepPurple400 = 8280002,
+ Teal200 = 8440772,
+ Cyan200 = 8445674,
+ Green300 = 8505220,
+ LightBlue200 = 8508666,
+ Lime900 = 8550167,
+ Pink900 = 8916559,
+ LightGreen500 = 9159498,
+ Brown400 = 9268835,
+ Purple600 = 9315498,
+ BlueGrey300 = 9479342,
+ Blue200 = 9489145,
+ DeepPurple300 = 9795021,
+ Purple500 = 10233776,
+ LightGreen400 = 10275941,
+ Lime800 = 10394916,
+ Grey500 = 10395294,
+ Indigo200 = 10463450,
+ Brown300 = 10586239,
+ Green200 = 10868391,
+ Purple400 = 11225020,
+ Pink800 = 11342935,
+ LightGreen300 = 11457921,
+ Lime700 = 11514923,
+ BlueGrey200 = 11583173,
+ Teal100 = 11722715,
+ Cyan100 = 11725810,
+ DeepPurple200 = 11771355,
+ LightBlue100 = 11789820,
+ Red900 = 12000284,
+ Purple300 = 12216520,
+ Blue100 = 12312315,
+ Brown200 = 12364452,
+ Grey400 = 12434877,
+ DeepOrange900 = 12531212,
+ Lime600 = 12634675,
+ Pink700 = 12720219,
+ Indigo100 = 12962537,
+ LightGreen200 = 12968357,
+ Red800 = 12986408,
+ Green100 = 13166281,
+ Lime500 = 13491257,
+ Purple200 = 13538264,
+ BlueGrey100 = 13621468,
+ DeepPurple100 = 13747433,
+ Red700 = 13840175,
+ Lime400 = 13951319,
+ Brown100 = 14142664,
+ Pink600 = 14162784,
+ DeepOrange800 = 14172949,
+ Lime300 = 14477173,
+ LightGreen100 = 14478792,
+ Grey300 = 14737632,
+ Teal50 = 14742257,
+ Cyan50 = 14743546,
+ Purple100 = 14794471,
+ LightBlue50 = 14808574,
+ Blue50 = 14938877,
+ Red600 = 15022389,
+ Red300 = 15037299,
+ DeepOrange700 = 15092249,
+ Orange900 = 15094016,
+ Lime200 = 15134364,
+ Indigo50 = 15264502,
+ Green50 = 15267305,
+ Pink500 = 15277667,
+ Pink400 = 15483002,
+ BlueGrey50 = 15527921,
+ DeepPurple50 = 15591414,
+ Grey200 = 15658734,
+ Red400 = 15684432,
+ Orange800 = 15690752,
+ Red200 = 15702682,
+ Brown50 = 15723497,
+ Pink300 = 15753874,
+ Lime100 = 15791299,
+ LightGreen50 = 15857897,
+ Purple50 = 15984117,
+ Red500 = 16007990,
+ DeepOrange600 = 16011550,
+ Pink200 = 16027569,
+ Orange700 = 16088064,
+ Yellow900 = 16088855,
+ Grey100 = 16119285,
+ Pink100 = 16301008,
+ Yellow800 = 16361509,
+ Lime50 = 16382951,
+ Grey50 = 16448250,
+ Orange600 = 16485376,
+ Yellow700 = 16498733,
+ DeepOrange50 = 16509415,
+ Pink50 = 16573676,
+ Yellow600 = 16635957,
+ DeepOrange500 = 16733986,
+ Amber900 = 16740096,
+ DeepOrange400 = 16740419,
+ DeepOrange300 = 16747109,
+ Amber800 = 16748288,
+ Orange500 = 16750592,
+ Amber700 = 16752640,
+ Orange400 = 16754470,
+ DeepOrange200 = 16755601,
+ Amber600 = 16757504,
+ Orange300 = 16758605,
+ Amber500 = 16761095,
+ Amber400 = 16763432,
+ Orange200 = 16764032,
+ DeepOrange100 = 16764092,
+ Red100 = 16764370,
+ Amber300 = 16766287,
+ Amber200 = 16769154,
+ Orange100 = 16769202,
+ Yellow500 = 16771899,
+ Red50 = 16772078,
+ Amber100 = 16772275,
+ Yellow400 = 16772696,
+ Yellow300 = 16773494,
+ Orange50 = 16774112,
+ Yellow200 = 16774557,
+ Amber50 = 16775393,
+ Yellow100 = 16775620,
+ Yellow50 = 16776679
+ }
+}
diff --git a/src/EasyDialog/Enums/MaterialThemeTextShade.cs b/src/EasyDialog/Enums/MaterialThemeTextShade.cs
new file mode 100644
index 0000000..9c0ec1a
--- /dev/null
+++ b/src/EasyDialog/Enums/MaterialThemeTextShade.cs
@@ -0,0 +1,8 @@
+namespace bubuntoid.EasyDialog
+{
+ public enum MaterialThemeTextShade
+ {
+ Black = 2171169,
+ White = 16777215
+ }
+}
diff --git a/src/EasyDialog/Enums/MetroTheme.cs b/src/EasyDialog/Enums/MetroTheme.cs
index 9fb47a1..8fd7082 100644
--- a/src/EasyDialog/Enums/MetroTheme.cs
+++ b/src/EasyDialog/Enums/MetroTheme.cs
@@ -1,4 +1,4 @@
-namespace bubuntoid.EasyDialog.Enums
+namespace bubuntoid.EasyDialog
{
public enum MetroTheme
{
diff --git a/src/EasyDialog/Internal/Forms/DialogContextFormLoader.cs b/src/EasyDialog/Internal/Forms/DialogContextFormLoader.cs
index 571615f..2fdc74b 100644
--- a/src/EasyDialog/Internal/Forms/DialogContextFormLoader.cs
+++ b/src/EasyDialog/Internal/Forms/DialogContextFormLoader.cs
@@ -30,7 +30,7 @@ public IEasyDialogForm Load(DialogContextOptionsBuilder builder, IEnumerable
+ {
+ button.PerformClick();
+ };
+ }
+
form.Controls.Add(control);
}
}
diff --git a/src/EasyDialog/Internal/Forms/Implementations/MetroFormProvider.cs b/src/EasyDialog/Internal/Forms/Implementations/MetroFormProvider.cs
index 2d329d1..652e55b 100644
--- a/src/EasyDialog/Internal/Forms/Implementations/MetroFormProvider.cs
+++ b/src/EasyDialog/Internal/Forms/Implementations/MetroFormProvider.cs
@@ -1,6 +1,5 @@
using System.Windows.Forms;
-using bubuntoid.EasyDialog.Enums;
using bubuntoid.EasyDialog.Internal.Forms.Interfaces;
using MetroFramework;
diff --git a/src/EasyDialog/Internal/Forms/Interfaces/IFormProvider.cs b/src/EasyDialog/Internal/Forms/Interfaces/IFormProvider.cs
index 8949f98..031dcae 100644
--- a/src/EasyDialog/Internal/Forms/Interfaces/IFormProvider.cs
+++ b/src/EasyDialog/Internal/Forms/Interfaces/IFormProvider.cs
@@ -2,7 +2,7 @@
namespace bubuntoid.EasyDialog.Internal.Forms.Interfaces
{
- public interface IFormProvider
+ internal interface IFormProvider
{
void ShowDialog();
void Close();
diff --git a/src/EasyDialog/Internal/Forms/Templates/ButtonTemplate.cs b/src/EasyDialog/Internal/Forms/Templates/ButtonTemplate.cs
index 9dbcf3e..cfc0cab 100644
--- a/src/EasyDialog/Internal/Forms/Templates/ButtonTemplate.cs
+++ b/src/EasyDialog/Internal/Forms/Templates/ButtonTemplate.cs
@@ -2,7 +2,7 @@
namespace bubuntoid.EasyDialog.Internal.Forms.Templates
{
- public static class ButtonTemplate
+ internal static class ButtonTemplate
{
public static Button DefaultButton => new Button();
}
diff --git a/src/EasyDialog/Internal/Forms/Templates/LabelTemplate.cs b/src/EasyDialog/Internal/Forms/Templates/LabelTemplate.cs
index c2de99f..aa28d13 100644
--- a/src/EasyDialog/Internal/Forms/Templates/LabelTemplate.cs
+++ b/src/EasyDialog/Internal/Forms/Templates/LabelTemplate.cs
@@ -3,7 +3,7 @@
namespace bubuntoid.EasyDialog.Internal.Forms.Templates
{
- public static class LabelTemplate
+ internal static class LabelTemplate
{
public static Label DefaultLabel(string name, int currentHeight)
{
diff --git a/src/EasyDialog/Models/MaterialColorScheme.cs b/src/EasyDialog/Models/MaterialColorScheme.cs
new file mode 100644
index 0000000..a6d70e3
--- /dev/null
+++ b/src/EasyDialog/Models/MaterialColorScheme.cs
@@ -0,0 +1,302 @@
+namespace bubuntoid.EasyDialog
+{
+ public class MaterialColorScheme
+ {
+ public MaterialThemePrimaryColor Primary { get; set; }
+ public MaterialThemePrimaryColor DarkPrimary { get; set; }
+ public MaterialThemePrimaryColor LightPrimary { get; set; }
+ public MaterialThemeAccent Accent { get; set; }
+ public MaterialThemeTextShade TextShade { get; set; }
+
+ ///
+ /// Default values are: Light, BlueGrey800, BlueGrey900, BlueGrey500, LightBlue200, White
+ ///
+ ///
+ public static MaterialColorScheme Default
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.BlueGrey800,
+ DarkPrimary = MaterialThemePrimaryColor.BlueGrey900,
+ LightPrimary = MaterialThemePrimaryColor.BlueGrey500,
+ Accent = MaterialThemeAccent.LightBlue200,
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Green
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Green800,
+ DarkPrimary = MaterialThemePrimaryColor.Green900,
+ LightPrimary = MaterialThemePrimaryColor.Green500,
+ Accent = MaterialThemeAccent.LightGreen200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme LightGreen
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.LightGreen800,
+ DarkPrimary = MaterialThemePrimaryColor.LightGreen900,
+ LightPrimary = MaterialThemePrimaryColor.LightGreen500,
+ Accent = MaterialThemeAccent.LightGreen200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Red
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Red800,
+ DarkPrimary = MaterialThemePrimaryColor.Red900,
+ LightPrimary = MaterialThemePrimaryColor.Red500,
+ Accent = MaterialThemeAccent.Red200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Amber
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Amber800,
+ DarkPrimary = MaterialThemePrimaryColor.Amber900,
+ LightPrimary = MaterialThemePrimaryColor.Amber500,
+ Accent = MaterialThemeAccent.Amber200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Brown
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Brown800,
+ DarkPrimary = MaterialThemePrimaryColor.Brown900,
+ LightPrimary = MaterialThemePrimaryColor.Brown500,
+ Accent = MaterialThemeAccent.Teal200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Teal
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Teal800,
+ DarkPrimary = MaterialThemePrimaryColor.Teal900,
+ LightPrimary = MaterialThemePrimaryColor.Teal500,
+ Accent = MaterialThemeAccent.Teal200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Yellow
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Yellow800,
+ DarkPrimary = MaterialThemePrimaryColor.Yellow900,
+ LightPrimary = MaterialThemePrimaryColor.Yellow500,
+ Accent = MaterialThemeAccent.Yellow200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Pink
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Pink800,
+ DarkPrimary = MaterialThemePrimaryColor.Pink900,
+ LightPrimary = MaterialThemePrimaryColor.Pink500,
+ Accent = MaterialThemeAccent.Pink200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Purple
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Purple800,
+ DarkPrimary = MaterialThemePrimaryColor.Purple900,
+ LightPrimary = MaterialThemePrimaryColor.Purple500,
+ Accent = MaterialThemeAccent.Purple200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme DeepPurple
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.DeepPurple800,
+ DarkPrimary = MaterialThemePrimaryColor.DeepPurple900,
+ LightPrimary = MaterialThemePrimaryColor.DeepPurple500,
+ Accent = MaterialThemeAccent.DeepPurple200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Orange
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Orange800,
+ DarkPrimary = MaterialThemePrimaryColor.Orange900,
+ LightPrimary = MaterialThemePrimaryColor.Orange500,
+ Accent = MaterialThemeAccent.Orange200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme DeepOrange
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.DeepOrange800,
+ DarkPrimary = MaterialThemePrimaryColor.DeepOrange900,
+ LightPrimary = MaterialThemePrimaryColor.DeepOrange500,
+ Accent = MaterialThemeAccent.DeepOrange200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Lime
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Lime800,
+ DarkPrimary = MaterialThemePrimaryColor.Lime900,
+ LightPrimary = MaterialThemePrimaryColor.Lime500,
+ Accent = MaterialThemeAccent.Lime200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme LightBlue
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.LightBlue800,
+ DarkPrimary = MaterialThemePrimaryColor.LightBlue900,
+ LightPrimary = MaterialThemePrimaryColor.LightBlue500,
+ Accent = MaterialThemeAccent.LightBlue200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Indigo
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Indigo800,
+ DarkPrimary = MaterialThemePrimaryColor.Indigo900,
+ LightPrimary = MaterialThemePrimaryColor.Indigo500,
+ Accent = MaterialThemeAccent.Indigo200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Grey
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Grey800,
+ DarkPrimary = MaterialThemePrimaryColor.Grey900,
+ LightPrimary = MaterialThemePrimaryColor.Grey500,
+ Accent = MaterialThemeAccent.Teal200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+
+ public static MaterialColorScheme Cyan
+ {
+ get
+ {
+ return new MaterialColorScheme()
+ {
+ Primary = MaterialThemePrimaryColor.Cyan800,
+ DarkPrimary = MaterialThemePrimaryColor.Cyan900,
+ LightPrimary = MaterialThemePrimaryColor.Cyan500,
+ Accent = MaterialThemeAccent.Cyan200,
+
+ TextShade = MaterialThemeTextShade.White,
+ };
+ }
+ }
+ }
+}