/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use 'sass:map';
@use '../../theme';
@use '../../shape';
@use '../../utils';

$tokens: (
  track-height: utils.module-val(slider, track-height, 4px),
  active-track-color: utils.module-val(slider, active-track-color, theme.variable(primary)),
  active-track-height: utils.module-ref(slider, active-track-height, track-height),
  active-track-shape: utils.module-val(slider, active-track-shape, shape.variable(full)),
  disabled-active-track-color: utils.module-val(slider, disabled-active-track-color, theme.variable(surface-container-high)),
  disabled-active-track-opacity: utils.module-val(slider, disabled-active-track-opacity, theme.emphasis(medium-low)),
  disabled-handle-color: utils.module-val(slider, disabled-handle-color, theme.variable(surface-container-high)),
  disabled-inactive-track-color: utils.module-val(slider, disabled-inactive-track-color, theme.variable(surface-container-high)),
  disabled-inactive-track-opacity: utils.module-val(slider, disabled-inactive-track-opacity, theme.emphasis(lower)),
  focus-handle-color: utils.module-val(slider, focus-handle-color, theme.variable(primary)),
  handle-color: utils.module-val(slider, handle-color, theme.variable(primary)),
  handle-height: utils.module-val(slider, handle-height, 20px),
  handle-shape: utils.module-val(slider, handle-shape, shape.variable(round)),
  handle-width: utils.module-val(slider, handle-width, 20px),
  hover-handle-color: utils.module-val(slider, hover-handle-color, theme.variable(primary)),
  inactive-track-color: utils.module-val(slider, inactive-track-color, theme.variable(primary-container)),
  inactive-track-height: utils.module-ref(slider, inactive-track-height, track-height),
  inactive-track-shape: utils.module-val(slider, inactive-track-shape, shape.variable(full)),
  label-container-shape: utils.module-val(slider, label-container-shape, shape.variable(full)),
  label-container-color: utils.module-val(slider, label-container-color, theme.variable(primary)),
  label-container-height: utils.module-val(slider, label-container-height, 28px),
  label-text-color: utils.module-val(slider, label-text-color, theme.variable(on-primary)),
  pressed-handle-color: utils.module-val(slider, pressed-handle-color, theme.variable(primary)),
  state-layer-size: utils.module-val(slider, state-layer-size, 40px),
  with-overlap-handle-outline-color: utils.module-val(slider, with-overlap-handle-outline-color, theme.variable(on-primary)),
  with-overlap-handle-outline-width: utils.module-val(slider, with-overlap-handle-outline-width, 1px),
  with-tick-marks-active-container-color: utils.module-val(slider, with-tick-marks-active-container-color, theme.variable(on-primary)),
  with-tick-marks-container-size: utils.module-val(slider, with-tick-marks-container-size, 2px),
  with-tick-marks-disabled-active-container-color: utils.module-val(slider, with-tick-marks-disabled-active-container-color, theme.variable(on-surface-container-high)),
  with-tick-marks-disabled-inactive-container-color: utils.module-val(slider, with-tick-marks-disabled-inactive-container-color, theme.variable(on-surface-container-high)),
  with-tick-marks-inactive-container-color: utils.module-val(slider, with-tick-marks-inactive-container-color, theme.variable(primary))
) !default;

@function get($key) {
  @return map.get($tokens, $key);
}
