Releases: albi005/MaterialColorUtilities
Releases · albi005/MaterialColorUtilities
v0.3.0
This release includes the new tone-based surface color roles: https://m3.material.io/styles/color/overview#fb46760e-a96a-4d05-9ca6-2b6754ddfb73
Breaking change: Surface
is now tone 98 instead of 99, making it a bit darker.
Updated default tone mappings:
- light: https://github.com/albi005/MaterialColorUtilities/blob/7d8f8be147cd15bc649e61e4e42c8c3c4eb20d58/MaterialColorUtilities/Schemes/LightSchemeMapper.cs#L54..L65
- dark: https://github.com/albi005/MaterialColorUtilities/blob/7d8f8be147cd15bc649e61e4e42c8c3c4eb20d58/MaterialColorUtilities/Schemes/DarkSchemeMapper.cs#L54..L65
The old elevation-based surface colors (Surface1-5) are still available.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Breaking Changes
Core
- Colors are now stored using uint instead of int
- Added support for styles, CorePalette.ContentOf has been replaced
Maui
- Initialization has been refactored to improve startup performance, check the README
- Renames:
- DynamicColorService -> MaterialColorService
- UseDynamicColor -> UseMaterialColors
Non-breaking changes
- Nullable reference types have been enabled
- Added Enumerate method to Scheme that enumerates the colors in the scheme as name-value pairs
Pull requests
- Refactor MAUI by @albi005 in #24
- Use uint to store colors by @albi005 in #25
- Improve Blazor playground by @albi005 in #26
- Enable nullable reference types by @albi005 in #27
- Refactor CorePalette, add support for more strategies by @albi005 in #28
- Add style support to MAUI by @albi005 in #29
- Add Scheme.Enumerate, rename Scheme.Convert by @albi005 in #30
- Refactor MaterialColorService initialization by @albi005 in #31
Full Changelog: v0.1.2...v0.2.0
v0.1.2
v0.1.1
Library changes
Added elevated Surface colors (docs).
Other stuff
We have a new package for .NET MAUI that handles dynamic theming. Also, there are new sample projects for MAUI and Blazor (live version) in the Playground folder. More info in README
Full Changelog: v0.1.0...v0.1.1
0.1.0
What's Changed
- Rename from Monet to MaterialColorUtilities in #5
- Scheme can now be easily extended with new colors and mappings. Check README for examples. #6
After 0.0.7:
- Add new changes from the original repo in #7
- Add CI/CD in #8
- Add unit tests in #9
- Add new changes from the original repo in #10
- Add/clean up XML documentation in #11
Full Changelog: https://github.com/albi005/MaterialColorUtilities/commits/v0.1.0