-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated statics and added sample app with reflection to show all colors
- Loading branch information
Showing
8 changed files
with
151 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Xamarin.Forms; | ||
|
||
namespace DIPS.Xamarin.UI.Resources.Colors | ||
{ | ||
public static class ColorPalette | ||
{ | ||
public static Color Dark = Color.FromHex("#000000"); | ||
public static Color DarkLight = Color.FromHex("#111111"); | ||
public static Color DarkAir = Color.FromHex("#3B3D3D"); | ||
|
||
public static Color Tertiary = Color.FromHex("#404040"); | ||
public static Color TertiaryLight = Color.FromHex("#4A4A4A"); | ||
public static Color TertiaryAir = Color.FromHex("#646464"); | ||
|
||
public static Color Quaternary = Color.FromHex("#76797A"); | ||
public static Color QuaternaryLight = Color.FromHex("#7F7F7F"); | ||
public static Color QuaternaryAir = Color.FromHex("#8C8C8C"); | ||
|
||
public static Color Quinary = Color.FromHex("#ACACAC"); | ||
public static Color QuinaryLight = Color.FromHex("#B2B2B2"); | ||
public static Color QuinaryAir = Color.FromHex("#D9D9D9"); | ||
|
||
public static Color Light = Color.FromHex("#EBEBEB"); | ||
public static Color LightLight = Color.FromHex("#F9F9F9"); | ||
public static Color LightAir = Color.FromHex("#FFFFFF"); | ||
|
||
public static Color Accent = Color.FromHex("#AB69BF"); | ||
public static Color AccentLight = Color.FromHex("#D297E3"); | ||
public static Color AccentAir = Color.FromHex("#F4DDFA"); | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/DIPS.Xamarin.UI/Resources/Colors/StatusColorPalette.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Xamarin.Forms; | ||
|
||
namespace DIPS.Xamarin.UI.Resources.Colors | ||
{ | ||
public static class StatusColorPalette | ||
{ | ||
public static Color DangerDark = Color.FromHex("#C9524D"); | ||
public static Color Danger = Color.FromHex("#F76D6D"); | ||
public static Color DangerLight = Color.FromHex("#E19D9A"); | ||
public static Color DangerAir = Color.FromHex("#FFDEDE"); | ||
|
||
public static Color WarningDark = Color.FromHex("#D29F0F"); | ||
public static Color Warning = Color.FromHex("#FFDC52"); | ||
public static Color WarningLight = Color.FromHex("#EDD5A6"); | ||
public static Color WarningAir = Color.FromHex("#F3E9BC"); | ||
|
||
public static Color SuccessDark = Color.FromHex("#006700"); | ||
public static Color Success = Color.FromHex("#5CB85C"); | ||
public static Color SuccessLight = Color.FromHex("#9FD99F"); | ||
public static Color SuccessAir = Color.FromHex("#CCEBCC"); | ||
|
||
public static Color InfoDark = Color.FromHex("#266B89"); | ||
public static Color Info = Color.FromHex("#337AB7"); | ||
public static Color InfoLight = Color.FromHex("#7FAFD8"); | ||
public static Color InfoAir = Color.FromHex("#C4DBEF"); | ||
|
||
public static Color IdleDark = Color.FromHex("#697577"); | ||
public static Color Idle = Color.FromHex("#92A1A3"); | ||
public static Color IdleLight = Color.FromHex("#B1BEBF"); | ||
public static Color IdleAir = Color.FromHex("#D3DDDE"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Xamarin.Forms; | ||
|
||
namespace DIPS.Xamarin.UI.Resources.Colors | ||
{ | ||
public static class Theme | ||
{ | ||
public static Color TealPrimary = Color.FromHex("#047F89"); | ||
public static Color TealPrimaryLight = Color.FromHex("#65868F"); | ||
public static Color TealPrimaryAir = Color.FromHex("#98B2AE"); | ||
public static Color TealSecondary = Color.FromHex("#97C8CD"); | ||
public static Color TealSecondaryLight = Color.FromHex("#ECF3F4"); | ||
public static Color TealSecondaryAir = Color.FromHex("#F0F5F7"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters