$uai-border-width-default: 1px; // Border width 1px. Default for every border: inputs, selects, checkboxes, cards and dividers, including the solid focus border of inputs.
$uai-border-width-none: 0px; // Border width 0px. Use: removing a border explicitly.
$uai-border-width-thick: 2px; // Border width 2px. Use: focus rings and halos, the checked radio border and emphasis borders.
$uai-control-height-compact: 1.5rem; // Control height 24px. Compact controls: 24px icon-only buttons and the compact uai-button, toolbars and dense tables. Pair: radius/md and caption text. Avoid: primary actions and form fields in regular forms. Avoid: spacing tokens for heights.
$uai-control-height-large: 3.5rem; // Control height 56px. Large controls: 56px buttons for prominent single actions, such as hero or empty-state calls to action. Pair: radius/lg and spacing/md horizontal padding. Avoid: dense forms and tables. Avoid: spacing tokens for heights.
$uai-control-height-medium: 2.5rem; // Control height 40px. Default control height: buttons, inputs, selects, datepickers and header actions. Pair: radius/lg, spacing/sm horizontal padding and body/base text. Use this size when unsure. Avoid: spacing tokens for heights.
$uai-control-height-short: 2rem; // Control height 32px. Short controls: 32px buttons, inputs and selects in dense areas such as filters, table toolbars and breadcrumb items. Pair: radius/lg and body/base text. Avoid: spacing tokens for heights.
$uai-opacity-disabled: 0.5; // Opacity of a disabled control: 50 percent in Figma, unitless 0.5 in web outputs. Use only where the component contract dims the whole control, such as uai-button. Avoid: inputs and selection controls, which use content/disabled colors instead.
$uai-opacity-focus-ring: 0.3; // Opacity of the supplementary outer focus halo: 30 percent in Figma, unitless 0.3 in web outputs. Apply only to the halo layer and keep a solid border/ring focus indicator. Avoid: the whole control, or the halo as the only focus cue.
$uai-radius-2xl: 1.5rem; // Corner radius 24px. Reserved for very large surfaces; no UAI component uses it yet. Confirm with design before applying.
$uai-radius-full: 624.9375rem; // Fully rounded corners (pill or circle). Use: avatars, radio buttons, the radio hover halo, badges and pill-shaped chips.
$uai-radius-lg: 0.75rem; // Corner radius 12px. Default for controls and the panels they open: inputs, selects, buttons (32 to 56px), dropdown and listbox panels, menu items, datepicker day cells and header actions.
$uai-radius-md: 0.5rem; // Corner radius 8px. Use: compact 24px controls, such as the compact uai-button, and other small interactive elements.
$uai-radius-none: 0rem; // Corner radius 0px. Use: square corners on full-bleed surfaces, table cells and edges that touch other elements.
$uai-radius-sm: 0.25rem; // Corner radius 4px. Use: checkboxes, chip remove buttons, small badges and other small inner elements.
$uai-radius-xl: 1rem; // Corner radius 16px. Reserved for large surfaces; no UAI component uses it yet. Confirm with design before applying.
$uai-radius-xs: 0.125rem; // Corner radius 2px. Use: tiny inner marks and indicators. Avoid: controls and containers.
$uai-sizing-2xl: 2.5rem; // Fixed size 40px. Use: small avatar and square icon containers. Avoid: control heights of buttons, inputs and selects; use control-height/medium.
$uai-sizing-2xs: 0.5rem; // Fixed size 8px. Use: the tooltip arrow, notification dots on header actions and other very small indicators. Avoid: padding and gaps; use spacing/*.
$uai-sizing-3xl: 3rem; // Fixed size 48px. Use: standard avatar.
$uai-sizing-4xl: 4rem; // Fixed size 64px. Use: large avatar.
$uai-sizing-5xl: 4.5rem; // Fixed size 72px. Use: extra-large avatar.
$uai-sizing-lg: 1.5rem; // Fixed size 24px. Use: default icons (uai-icon size medium) and the micro avatar. Avoid: control heights; use control-height/compact.
$uai-sizing-md: 1.25rem; // Fixed size 20px. Use: small icons (uai-icon size small), checkbox and radio controls.
$uai-sizing-sm: 1rem; // Fixed size 16px. Use: x-small icons (uai-icon size x-small), such as the header breadcrumb chevrons.
$uai-sizing-xl: 2rem; // Fixed size 32px. Use: extra-small avatar, the radio hover halo and datepicker day cells. Avoid: control heights; use control-height/short.
$uai-sizing-xs: 0.75rem; // Fixed size 12px. Use: status dots, tiny indicators and the selected radio dot. Avoid: padding and gaps; use spacing/*.
$uai-spacing-2xl: 2.5rem; // Spacing 40px. Layout spacing between large page regions. Avoid: control heights; use control-height/medium.
$uai-spacing-2xs: 0.25rem; // Spacing 4px. Smallest gap between related items: label to field and field to message in inputs, and the offset of a dropdown or popover from its trigger.
$uai-spacing-3xl: 3rem; // Spacing 48px. Layout spacing between large page regions.
$uai-spacing-3xs: 0.125rem; // Spacing 2px. Hairline gaps and offsets inside small elements, such as the side padding of avatar initials. Avoid: widths and heights; use sizing/*.
$uai-spacing-4xl: 3.5rem; // Spacing 56px. Layout spacing for page margins and large regions. Avoid: control heights; use control-height/large.
$uai-spacing-5xl: 4rem; // Spacing 64px. Layout spacing for page margins and large regions.
$uai-spacing-6xl: 4.5rem; // Spacing 72px. Layout spacing for page margins and large regions. Avoid: the header height, which comes from its content and padding.
$uai-spacing-7xl: 5rem; // Spacing 80px. Layout spacing for page margins and hero areas.
$uai-spacing-8xl: 5.5rem; // Spacing 88px. Layout spacing for page margins and hero areas.
$uai-spacing-9xl: 6rem; // Spacing 96px. Largest layout spacing, for hero and landing areas.
$uai-spacing-lg: 1.5rem; // Spacing 24px. Gap between groups of content and between navigation bar items (uai-navbar).
$uai-spacing-md: 1rem; // Spacing 16px. Default padding of containers such as the app header, cards and dropdown search rows. The header height comes from sizing/2xl content plus this padding above and below.
$uai-spacing-none: 0rem; // Spacing 0px. Use: removing gaps or padding explicitly.
$uai-spacing-sm: 0.75rem; // Spacing 12px. Horizontal padding of buttons and other controls.
$uai-spacing-xl: 2rem; // Spacing 32px. Layout spacing between page sections.
$uai-spacing-xs: 0.5rem; // Spacing 8px. Gap between an icon and its label, between a checkbox or radio and its label, and between header actions; minimum distance from the viewport edge for floating panels and the tooltip offset from its trigger.
