[Slider] Add customization example
See original GitHub issueI’m reffering to the implementation code here: https://github.com/mui-org/material-ui/blob/next/packages/material-ui-lab/src/Slider/Slider.js
Check out this REPL: https://codesandbox.io/s/w65j3jmlr5
the Thumb -MuiSlider activated class is supposed to be rgba(84, 78, 93, 0.16)
but is returning as rgba(156, 39, 176, 0.16) (the primary color fade)
sliderThumb: {
backgroundColor: colors.primary,
"&$focused, &:hover": {
boxShadow: `0px 0px 0px ${conspressedOutlineRadius}px ${
colors.thumbOutline
}`
},
"&$activated": {
boxShadow: `0px 0px 0px ${conspressedOutlineRadius * 2}px ${
colors.thumbOutline
}`
},
"&$jumped": {
boxShadow: `0px 0px 0px ${conspressedOutlineRadius * 2}px ${
colors.thumbOutline
}`
}
}
return (
<MUISlider
classes={{
root: classes.slider,
thumb: classes.sliderThumb,
track: classes.sliderForeground
}}
min={min}
step={step}
// onChange={this.handleChange}
{...props}
/>
);
How do you override the &$activated class?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Custom Slider - Orthocare Innovations
You can split your custom slides into rows and columns as well as add custom elements to them. Here are some of the...
Read more >Design Custom Sliders - MATLAB & Simulink - MathWorks
You can design a custom slider using the toolbar or using the Design tab of the Property Inspector. This example uses both. Add...
Read more >Customize your Slider Using Template Builder - Supsystic
Documentation Customize your Slider Using Template Builder. Slider Plugin ... It allows to you change an appearance of slider and add to it...
Read more >[Slider] Add customization example · Issue #15269 · mui ...
component: slider This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation good ......
Read more >How To Create Range Sliders - W3Schools
Example ; none · /* Override default look */ appearance ; none · width ; 25px · /* Set a specific slider handle...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bh1505 It’s all yours 😃
@bh1505 thank you so much. @oliviertassinari sorry i didn’t get this too. Working at that startup was so crazy I didn’t have time to breath or do any of this good citizen stuff. New company is wicked cool and breezy, looking forward to next time!