forked from AvaloniaCommunity/Material.Avalonia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
312 changed files
with
14,204 additions
and
14,897 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 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<Styles xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
x:Class="Material.Avalonia.MaterialAvaloniaTemplates"> | ||
<StyleInclude Source="avares://Material.Styles/MaterialToolKit.xaml" /> | ||
</Styles> | ||
<StyleInclude Source="avares://Material.Styles/MaterialToolKit.xaml" /> | ||
</Styles> |
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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
namespace Material.Avalonia | ||
{ | ||
public class MaterialAvaloniaTemplates : global::Avalonia.Styling.Styles | ||
{ | ||
namespace Material.Avalonia { | ||
public class MaterialAvaloniaTemplates : global::Avalonia.Styling.Styles { | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,54 +1,54 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<LangVersion>8</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<NoWarn>NU5104, NU1507</NoWarn> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<LangVersion>8</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<NoWarn>NU5104, NU1507</NoWarn> | ||
|
||
<Title>Material.Avalonia</Title> | ||
<Authors>Larymar,SKProCH,Appleneko2001</Authors> | ||
<Description>This repository is a set of styles that will help you customize your application in an appropriate material design.</Description> | ||
<PackageProjectUrl>https://github.com/AvaloniaCommunity/Material.Avalonia</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/AvaloniaCommunity/Material.Avalonia</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>avalonia xaml material design theme colour color ui ux material-design google-material</PackageTags> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageIcon>FavIcon.png</PackageIcon> | ||
<VersionPrefix>3.0.0-avalonia11-preview4</VersionPrefix> | ||
<PackageReleaseNotes> | ||
This is UNSTABLE version, I think what many things do not work properly here, report all bugs to issues at GitHub. | ||
- Avalonia 11 Preview 6 support | ||
- Removes workaround for theme changing | ||
- Fixes and reformat sliders #217 | ||
- Migrate from DirectProperties to StylesProperties in Scroller. Fixes TabControl styles #217 | ||
- Exclude DatePicker from styles collection | ||
- Add Flyout styles, migrate TextBox tooltip to flyout | ||
- Make MaterialDesignLightTheme and MaterialDesignDarkTheme internal sealed, rename ThemeChanged to ThemeChangedEnd | ||
- Add ActualBaseTheme property to MaterialTheme, allowing to adapt to Application | ||
- Removes the shadow hint for ContextMenu. Fixes #219 | ||
- Add AreVerticalSnapPointsRegular and AreHorizontalSnapPointsRegular for ListBox and ItemsControl templates | ||
</PackageReleaseNotes> | ||
</PropertyGroup> | ||
<Title>Material.Avalonia</Title> | ||
<Authors>Larymar,SKProCH,Appleneko2001</Authors> | ||
<Description>This repository is a set of styles that will help you customize your application in an appropriate material design.</Description> | ||
<PackageProjectUrl>https://github.com/AvaloniaCommunity/Material.Avalonia</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/AvaloniaCommunity/Material.Avalonia</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>avalonia xaml material design theme colour color ui ux material-design google-material</PackageTags> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageIcon>FavIcon.png</PackageIcon> | ||
<VersionPrefix>3.0.0-avalonia11-preview4</VersionPrefix> | ||
<PackageReleaseNotes> | ||
This is UNSTABLE version, I think what many things do not work properly here, report all bugs to issues at GitHub. | ||
- Avalonia 11 Preview 6 support | ||
- Removes workaround for theme changing | ||
- Fixes and reformat sliders #217 | ||
- Migrate from DirectProperties to StylesProperties in Scroller. Fixes TabControl styles #217 | ||
- Exclude DatePicker from styles collection | ||
- Add Flyout styles, migrate TextBox tooltip to flyout | ||
- Make MaterialDesignLightTheme and MaterialDesignDarkTheme internal sealed, rename ThemeChanged to ThemeChangedEnd | ||
- Add ActualBaseTheme property to MaterialTheme, allowing to adapt to Application | ||
- Removes the shadow hint for ContextMenu. Fixes #219 | ||
- Add AreVerticalSnapPointsRegular and AreHorizontalSnapPointsRegular for ListBox and ItemsControl templates | ||
</PackageReleaseNotes> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="../README.md" Pack="true" PackagePath="/"/> | ||
<None Include="../wiki/FavIcon.png" Pack="true" PackagePath="/"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="../README.md" Pack="true" PackagePath="/"/> | ||
<None Include="../wiki/FavIcon.png" Pack="true" PackagePath="/"/> | ||
</ItemGroup> | ||
|
||
<!--For nightly versions--> | ||
<PropertyGroup> | ||
<Version Condition="'$(PatchNumber)' != ''">$(VersionPrefix).$(PatchNumber)</Version> | ||
</PropertyGroup> | ||
<!--For nightly versions--> | ||
<PropertyGroup> | ||
<Version Condition="'$(PatchNumber)' != ''">$(VersionPrefix).$(PatchNumber)</Version> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<AvaloniaResource Include="**\*.xaml"> | ||
<SubType>Designer</SubType> | ||
</AvaloniaResource> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<AvaloniaResource Include="**\*.xaml"> | ||
<SubType>Designer</SubType> | ||
</AvaloniaResource> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Material.Styles\Material.Styles.csproj"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Material.Styles\Material.Styles.csproj"/> | ||
</ItemGroup> | ||
</Project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
namespace Material.Colors.ColorManipulation | ||
{ | ||
public struct Hsb | ||
{ | ||
namespace Material.Colors.ColorManipulation { | ||
public struct Hsb { | ||
public double Hue { get; } | ||
public double Saturation { get; } | ||
public double Brightness { get; } | ||
|
||
public Hsb(double hue, double saturation, double brightness) | ||
{ | ||
public Hsb(double hue, double saturation, double brightness) { | ||
Hue = hue; | ||
Saturation = saturation; | ||
Brightness = brightness; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.