Skip to content

adding unit tests for custom swatch colors#4025

Merged
Keboo merged 3 commits intoMaterialDesignInXAML:masterfrom
MovGP0:master
Apr 3, 2026
Merged

adding unit tests for custom swatch colors#4025
Keboo merged 3 commits intoMaterialDesignInXAML:masterfrom
MovGP0:master

Conversation

@MovGP0
Copy link
Copy Markdown
Contributor

@MovGP0 MovGP0 commented Mar 25, 2026

Motivation

For a project I needed custom swatch colors derived from ISO 3864 colors:
- Error
- Warning (High & Low)
- Info
- Success

Content of the PR

This PR adds an unit tests that shows how to implement those custom swatches

MovGP0 and others added 2 commits March 30, 2026 11:45
Co-authored-by: Kevin B <Keboo@users.noreply.github.com>
The test method was using a nested loop that shadowed the `isDark` parameter, causing redundant executions. This change removes the inner loop and uses the parameter directly.
@Keboo Keboo enabled auto-merge (squash) April 3, 2026 04:51
@Keboo Keboo added this to the 5.3.2 milestone Apr 3, 2026
@Keboo Keboo merged commit fa6b1cc into MaterialDesignInXAML:master Apr 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants