Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albi005/MaterialColorUtilities
Material You color algorithms for .NET
https://github.com/albi005/MaterialColorUtilities
color-scheme csharp dotnet dotnet-standard material material-design material-you monet theme
Last synced: 30 days ago
JSON representation
Material You color algorithms for .NET
- Host: GitHub
- URL: https://github.com/albi005/MaterialColorUtilities
- Owner: albi005
- License: apache-2.0
- Created: 2021-12-12T17:31:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-04T14:41:28.000Z (about 1 year ago)
- Last Synced: 2024-11-09T11:51:46.957Z (about 1 month ago)
- Topics: color-scheme, csharp, dotnet, dotnet-standard, material, material-design, material-you, monet, theme
- Language: C#
- Homepage: https://albi005.github.io/MaterialColorUtilities/
- Size: 131 MB
- Stars: 72
- Watchers: 6
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dotnet-maui - MaterialColorUtilities.Maui - square)](https://github.com/albi005/MaterialColorUtilities/stargazers)|[![GitHub last-commit](https://img.shields.io/github/last-commit/albi005/MaterialColorUtilities?style=flat-square)](https://github.com/albi005/MaterialColorUtilities/commits) (Plugins)
README
# MaterialColorUtilities [![NuGet](https://img.shields.io/nuget/v/MaterialColorUtilities.svg)](https://www.nuget.org/packages/MaterialColorUtilities)
*C# implementation of Google's [Material color utilities](https://github.com/material-foundation/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
- **Style**: different ways to generate palettes, available from Android 13
- **Generic scheme**: color schemes can be easily converted to use the color type you need[GET STARTED](MaterialColorUtilities/README.md#walkthrough)
## MaterialColorUtilities.Maui [![NuGet](https://img.shields.io/nuget/v/MaterialColorUtilities.Maui.svg)](https://www.nuget.org/packages/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 preferencesAll of these can be turned on/off at any time.
[GET STARTED](MaterialColorUtilities.Maui/README.md#getting-started)
## 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](https://github.com/albi005/MaterialColorUtilities/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](https://github.com/albi005/MaterialColorUtilities/issues). Before creating a pull request open an issue so that we can discuss your ideas.