adjust UI
This commit is contained in:
@ -27,9 +27,16 @@ namespace Gallery.Resources.Theme
|
||||
private void InitColors()
|
||||
{
|
||||
Add(StatusBarStyle, StatusBarStyles.WhiteText);
|
||||
Add(WindowColor, Color.Black);
|
||||
Add(TintColor, Color.FromRgb(0x94, 0x95, 0x9a));
|
||||
Add(TextColor, Color.White);
|
||||
Add(SubTextColor, Color.LightGray);
|
||||
Add(CardBackgroundColor, Color.FromRgb(0x33, 0x33, 0x33));
|
||||
Add(NavigationColor, Color.FromRgb(0x11, 0x11, 0x11));
|
||||
Add(NavigationSelectedColor, Color.FromRgb(0x22, 0x22, 0x22));
|
||||
Add(OptionBackColor, Color.Black);
|
||||
Add(OptionTintColor, Color.FromRgb(0x11, 0x11, 0x11));
|
||||
|
||||
Add(Primary, Color.FromRgb(33, 150, 243));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -27,9 +27,16 @@ namespace Gallery.Resources.Theme
|
||||
private void InitColors()
|
||||
{
|
||||
Add(StatusBarStyle, StatusBarStyles.DarkText);
|
||||
Add(WindowColor, Color.White);
|
||||
Add(TintColor, Color.FromRgb(0x87, 0x87, 0x8b)); // 0x7f, 0x99, 0xc6
|
||||
Add(TextColor, Color.Black);
|
||||
Add(SubTextColor, Color.DimGray);
|
||||
Add(CardBackgroundColor, Color.FromRgb(0xf3, 0xf3, 0xf3));
|
||||
Add(NavigationColor, Color.FromRgb(0xf0, 0xf0, 0xf0));
|
||||
Add(NavigationSelectedColor, Color.LightGray);
|
||||
Add(OptionBackColor, Color.FromRgb(0xf0, 0xf0, 0xf0));
|
||||
Add(OptionTintColor, Color.White);
|
||||
|
||||
Add(Primary, Color.FromRgb(33, 150, 243));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,15 @@ namespace Gallery.Resources.Theme
|
||||
public abstract class Theme : ResourceDictionary
|
||||
{
|
||||
public const string StatusBarStyle = nameof(StatusBarStyle);
|
||||
public const string WindowColor = nameof(WindowColor);
|
||||
public const string TintColor = nameof(TintColor);
|
||||
public const string TextColor = nameof(TextColor);
|
||||
public const string SubTextColor = nameof(SubTextColor);
|
||||
public const string CardBackgroundColor = nameof(CardBackgroundColor);
|
||||
public const string NavigationColor = nameof(NavigationColor);
|
||||
public const string NavigationSelectedColor = nameof(NavigationSelectedColor);
|
||||
public const string OptionBackColor = nameof(OptionBackColor);
|
||||
public const string OptionTintColor = nameof(OptionTintColor);
|
||||
|
||||
public const string IconLightFamily = nameof(IconLightFamily);
|
||||
public const string IconRegularFamily = nameof(IconRegularFamily);
|
||||
@ -16,8 +24,6 @@ namespace Gallery.Resources.Theme
|
||||
public const string IconClose = nameof(IconClose);
|
||||
public const string FontIconRefresh = nameof(FontIconRefresh);
|
||||
|
||||
public const string Primary = nameof(Primary);
|
||||
|
||||
protected void InitResources()
|
||||
{
|
||||
Add(IconLightFamily, Definition.IconLightFamily);
|
||||
|
Reference in New Issue
Block a user