basic logic
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Xamarin.Forms;
|
||||
using Billing.UI;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Billing.Themes;
|
||||
|
||||
@ -20,12 +21,14 @@ public class Dark : BaseTheme
|
||||
private void InitColors()
|
||||
{
|
||||
Add(WindowBackgroundColor, Color.Black);
|
||||
Add(OptionTintColor, Color.FromRgb(28, 28, 28));
|
||||
Add(PromptBackgroundColor, Color.FromRgb(0x1f, 0x1f, 0x1f));
|
||||
Add(TabBarBackgroundColor, Color.Black);
|
||||
Add(TabBarUnselectedColor, Color.FromRgb(0x82, 0x82, 0x82));
|
||||
Add(OutRangeDayColor, Color.DarkGray);
|
||||
Add(TextColor, Color.FromRgb(0xcc, 0xcc, 0xcc));
|
||||
Add(WeekendColor, Color.FromRgb(211, 5, 5));
|
||||
Add(SecondaryTextColor, Color.LightGray);
|
||||
Add(RedColor, Color.FromRgb(211, 5, 5));
|
||||
|
||||
Add(new Style(typeof(TabBar))
|
||||
{
|
||||
@ -36,5 +39,12 @@ public class Dark : BaseTheme
|
||||
new Setter { Property = Shell.TabBarUnselectedColorProperty, Value = Color.FromRgb(0x82, 0x82, 0x82) }
|
||||
}
|
||||
});
|
||||
Add(new Style(typeof(TableView))
|
||||
{
|
||||
Setters =
|
||||
{
|
||||
new Setter { Property = VisualElement.BackgroundColorProperty, Value = Color.Black }
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user