Skip to content

Commit

Permalink
[Slider]: Remove visual zero state from thumb
Browse files Browse the repository at this point in the history
The spec does not show any visual difference between thumbs at zero and
non-zero values. Zero values now allow different thumb colors depending
on state (i.e. enabled sliders appeared to be disabled).
  • Loading branch information
eps1lon committed Jul 22, 2018
1 parent c65d419 commit f24fbab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/material-ui-lab/src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ export const styles = theme => {
height: 9,
backgroundColor: colors.disabled,
},
'&$zero': {
border: `2px solid ${colors.disabled}`,
backgroundColor: 'transparent',
},
'&$focused$zero': {
border: `2px solid ${colors.focused}`,
backgroundColor: fade(colors.focused, 0.34),
Expand Down

0 comments on commit f24fbab

Please sign in to comment.