/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use '@material/theme/theme-color' as mdc-theme-color;

$theme-values: (
  background: transparent
);

$field: (
  height: (
    roomy: 3.5rem,
    default: 3rem,
    dense: 1.5rem
  )
) !default;

$outline: (
  background-color: (
    default: transparent
  ),
  border-radius: (
    default: 4px,
    shape-rounded: 28px
  ),
  border-width: (
    default: 1px,
    focused: 2px
  )
) !default;

// No label at dense size
$label: (
  font-size: (
    roomy: 1rem,
    default: 1rem
  ),
  top: (
    roomy: 1.285rem,
    default: 1rem
  ),
  left: (
    default: 12px,
    leading: 44px,
    shape-rounded: 32px
  ),
  padding: (
    right: (
      default: 12px,
      shape-rounded: 32px
    )
  ),
  float-y: (
    roomy: 0.8rem,
    default: 0.62rem,
    scale-roomy: 0.72rem,
    scale-default: 0.54rem
  ),
  float-scale: (
    default: 0.8125
  )
) !default;

$input: (
  font-size: (
    roomy: 1rem,
    default: 1rem,
    dense: 0.875rem
  ),
  padding: (
    default: 0 12px,
    top: (
      roomy: 29px,
      default: 24px
    ),
    bottom: (
      roomy: 8px,
      default: 3px
    ),
    left: (
      leading: 0,
      shape-rounded: 32px
    ),
    right: (
      trailing: 0,
      shape-rounded: 32px
    ),
  )
) !default;

$leading: (
  margin: (
    default: 0 4px
  ),
  padding: (
    default: 6px
  )
) !default;

$trailing: (
  margin: (
    default: 0 4px
  ),
  padding: (
    default: 6px
  )
) !default;

$helper-text: (
  margin-left: (
    default: 12px,
    shape-rounded: 32px
  ),
  font-size: (
    roomy: 0.875rem,
    default: 0.75rem,
    dense: 0.75rem
  )
) !default;

$required-asterisk-margin: 4px !default;
