Create the slider theme for md3 guideline #3432
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preface
Hello everyone and happy new year,
This is my first contribution to a GitHub project and I hope it's the right way to do it.
Feel free to give me some feedback or asking for changes if required.
Thanks you =)
Description
This pull request create a new slider to better match the MaterialDesign 3 guideline. It's a small change required in one of my project and I decided to share it as I think it's usefull. The only change is the height of the active track who need to match the track height. Here's the md3 slider spec :
I follow some guideline found here and there on this repo about handeling the version 3 of material design:
Result on the demo app :

Current master of the demo app :

Changes Made
Related Issues
None
Additional Notes
If theses changes are validate it could be possible to do the same for the range slider (on project
MaterialDesignThemes.MahApps
). But this project does not include a md3 theme so you'll have to decide if a default md3 theme file should be created or if the current RangeSlider should be updated.