Add project files.

This commit is contained in:
2024-04-22 16:48:36 +02:00
parent 35c4a91ec6
commit 086cb833f6
45 changed files with 1330 additions and 0 deletions

69
MonkeyFinder/App.xaml Normal file
View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:MonkeyFinder"
x:Class="MonkeyFinder.App">
<Application.Resources>
<ResourceDictionary>
<Color x:Key="Primary">#FFC107</Color>
<Color x:Key="PrimaryDark">#FFA000</Color>
<Color x:Key="Accent">#00BCD4</Color>
<Color x:Key="LightBackground">#FAF9F8</Color>
<Color x:Key="DarkBackground">Black</Color>
<Style TargetType="Page" ApplyToDerivedTypes="True">
<Setter Property="BackgroundColor"
Value="{StaticResource LightBackground}" />
</Style>
<Style ApplyToDerivedTypes="True" TargetType="NavigationPage">
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource LightBackground}, Dark={StaticResource DarkBackground}}" />
<Setter Property="BarBackgroundColor" Value="{StaticResource Primary}" />
<Setter Property="BarTextColor" Value="White" />
</Style>
<Style TargetType="Label" x:Key="BaseLabel">
<Setter Property="FontFamily" Value="OpenSansRegular" />
<Setter Property="TextColor" Value="#1F1F1F" />
</Style>
<Style x:Key="MicroLabel" BasedOn="{StaticResource BaseLabel}" TargetType="Label">
<Setter Property="FontSize" Value="10"/>
</Style>
<Style x:Key="SmallLabel" BasedOn="{StaticResource BaseLabel}" TargetType="Label">
<Setter Property="FontSize" Value="12"/>
</Style>
<Style x:Key="MediumLabel" BasedOn="{StaticResource BaseLabel}" TargetType="Label">
<Setter Property="FontSize" Value="16"/>
</Style>
<Style x:Key="LargeLabel" BasedOn="{StaticResource BaseLabel}" TargetType="Label">
<Setter Property="FontSize" Value="20"/>
</Style>
<Style TargetType="RefreshView" ApplyToDerivedTypes="True">
<Setter Property="RefreshColor" Value="{StaticResource Primary}" />
</Style>
<Style x:Key="ButtonOutline" TargetType="Button">
<Setter Property="Background" Value="{StaticResource LightBackground}"/>
<Setter Property="TextColor" Value="{StaticResource Primary}"/>
<Setter Property="BorderColor" Value="{StaticResource Primary}"/>
<Setter Property="BorderWidth" Value="2"/>
<Setter Property="HeightRequest" Value="40"/>
<Setter Property="CornerRadius" Value="20"/>
</Style>
<Style x:Key="CardView" TargetType="Frame">
<Setter Property="BorderColor" Value="#DDDDDD"/>
<Setter Property="HasShadow" Value="{OnPlatform iOS=false, MacCatalyst=false, Default=true}"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="Background" Value="{StaticResource LightBackground}"/>
<Setter Property="CornerRadius" Value="10"/>
<Setter Property="IsClippedToBounds" Value="True"/>
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>