Skip to content

Conversation

@eps1lon
Copy link
Member

@eps1lon eps1lon commented Jul 23, 2018

As mentioned in #12242:
The spec only displays two different colors for different states (disabled and not-disabled). Track before and after thumb only varies in opacity.

The spec specifies an explicit color code with .24 opacity after thumb whereas the Crane theme uses secondary color from the palette with .38 opacity. I'm not sure what the best choice would be. I'm leaning towards using the same approach as the Crane theme but went with the primary color and .24 to be as close to the spec as possible while sticking to the previous color theme.

The spec only displays two different colors for
different states (disabled and not-disabled). Track before and after
thumb only varies in opacity.
@eps1lon eps1lon changed the title [Slider]: Make colors spec conformant [Slider]: Increase color specification conformance Jul 23, 2018
@eps1lon eps1lon changed the title [Slider]: Increase color specification conformance [Slider] Increase color specification conformance Jul 23, 2018
@mbrookes mbrookes merged commit 4eb6628 into mui:master Jul 23, 2018
@mbrookes
Copy link
Member

@eps1lon Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: slider Changes related to the slider.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants