MaterialColorUtilities.Maui
0.2.0
See the version list below for details.
dotnet add package MaterialColorUtilities.Maui --version 0.2.0
NuGet\Install-Package MaterialColorUtilities.Maui -Version 0.2.0
<PackageReference Include="MaterialColorUtilities.Maui" Version="0.2.0" />
paket add MaterialColorUtilities.Maui --version 0.2.0
#r "nuget: MaterialColorUtilities.Maui, 0.2.0"
// Install MaterialColorUtilities.Maui as a Cake Addin #addin nuget:?package=MaterialColorUtilities.Maui&version=0.2.0 // Install MaterialColorUtilities.Maui as a Cake Tool #tool nuget:?package=MaterialColorUtilities.Maui&version=0.2.0
MaterialColorUtilities
C# implementation of Google's Material color utilities
Features
- HCT: a color space similar to HSL but with perceptually accurate colors
- Quantize and score: extract the best colors from an image for theming
- Scheme: turn a single color into a palette for theming
Features not in Google's version:
- Style: different ways to generate palettes, available from Android 13
- A generic scheme that supports different color types and adding type-safe custom colors
MaterialColorUtilities.Maui
A library for adding Material You colors to your .NET MAUI app
Features
- Dynamic theming on every platform (except iOS)
- Light/dark theme support
- Automatically storing and reapplying seed color/dark mode/style preferences
All of these can be turned on/off at any time.
Samples
There are sample projects for the console, Blazor and .NET MAUI in the Playground folder. These showcase different ways to use the two libraries.
Questions
You can ask questions under the Discussions tab. Don't forget to check the source code when trying to solve a problem.
Contributing
If you have found a bug or want a new feature, open a new issue. Pull requests are welcome but please open an issue before, so we can talk about it.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-android31.0 is compatible. net6.0-ios was computed. net6.0-ios16.0 is compatible. net6.0-maccatalyst was computed. net6.0-maccatalyst15.4 is compatible. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows10.0.19041 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- MaterialColorUtilities (>= 0.2.0)
-
net6.0-android31.0
- MaterialColorUtilities (>= 0.2.0)
-
net6.0-ios16.0
- MaterialColorUtilities (>= 0.2.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-maccatalyst15.4
- MaterialColorUtilities (>= 0.2.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
-
net6.0-windows10.0.19041
- MaterialColorUtilities (>= 0.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MaterialColorUtilities.Maui:
Package | Downloads |
---|---|
RichMvvm.MAUI
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.