-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat(slider): add feature targeting for styles #4871
feat(slider): add feature targeting for styles #4871
Conversation
packages/mdc-slider/_mixins.scss
Outdated
@include mdc-slider-track-marker_($query); | ||
@include mdc-slider-thumb_($query); | ||
@include mdc-slider-focus-ring_($query); | ||
@include mdc-slider-pin_($query); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that these were all under one huge selector. I broke them up into mixins so it's easier to follow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Here's the before and after output: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left 2 minor comments.
a204677
to
1c9d297
Compare
Adds support for style feature targeting to the `slider` package. Relates to material-components#4227.
1c9d297
to
b1d99b8
Compare
Addressed the feedback and rebased @abhiomkar. Can you take another look? |
Codecov Report
@@ Coverage Diff @@
## master #4871 +/- ##
=========================================
+ Coverage 98.86% 99.16% +0.3%
=========================================
Files 119 119
Lines 5650 5650
Branches 749 749
=========================================
+ Hits 5586 5603 +17
+ Misses 63 46 -17
Partials 1 1
Continue to review full report at Codecov.
|
Adds support for style feature targeting to the
slider
package.Relates to #4227.