MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
7.22k stars 1.18k forks source link

MudColor: Make H, S, L readonly #8823

Closed ScarletKuro closed 2 weeks ago

ScarletKuro commented 2 weeks ago

Description

Just small improvement that makes MudColor truly safe immutable, Before you could accidentally change HSL values because of private set, now they are protected against unexpected modifications.

Type of Changes

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.09%. Comparing base (28bc599) to head (25273d3). Report is 118 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #8823 +/- ## ========================================== + Coverage 89.82% 90.09% +0.26% ========================================== Files 412 421 +9 Lines 11878 12211 +333 Branches 2364 2409 +45 ========================================== + Hits 10670 11002 +332 + Misses 681 666 -15 - Partials 527 543 +16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.