@use './color';

// Components
//
// Define common padding and border radius sizes and more.
$border-width: 1px !default;
$border-thick: 2px !default;
$border-color: color.$gray-20 !default;

$border-radius: 4px !default;
$border-radius-sm: $border-radius !default;
$border-radius-rg: $border-radius !default;
$border-radius-lg: $border-radius !default;
$border-radius-pill: 50rem !default;
$border-radius-round: 50% !default;

$outline-width: 2px !default;
$outline-color: #1976c8 !default;

$caret-width: 0.3em !default;

// Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.

$zindex-spinner: 990 !default; // Design System only
$zindex-header: 1020 !default;
$zindex-toast: 1080 !default;
$zindex-fixed: 1030 !default;

$zindex-map: (
  n1: -1,
  0: 0,
  1: 1,
  2: 2,
  3: 3,
);

$named-zindex-map: (
  'spinner': $zindex-spinner,
  'header': $zindex-header,
  'toast': $zindex-toast,
  'fixed': $zindex-fixed,
);
