useSliderStyle = (props) => {
  const { theme, colorMode, trackPercent, size, color } = props
  const { trackHeight, thumb: thumbSize } = sizes[size]

  const _props = {
    trackHeight,
    thumbSize,
    theme,
    trackPercent,
    color,
    colorMode
  }
  return {
    rootStyle,
    trackStyle: trackStyle(_props),
    filledTrackStyle: filledTrackStyle(_props),
    thumbStyle: thumbStyle(_props)
  }
}
Generates slider style props
@param {{theme: Object, colorMode: String, trackPercent: String, size: String, color: String}} props Style props
@returns {Object} Slider styles