@use "sass:map";
@use "../core/_index.scss" as *;

/// The width of the border around the Upload.
/// @group upload
$kendo-upload-border-width: 1px !default;
/// The font family of the Upload.
/// @group upload
$kendo-upload-font-family: var( --kendo-font-family, inherit ) !default;
/// The font size of the Upload.
/// @group upload
$kendo-upload-font-size: var( --kendo-font-size, inherit ) !default;
/// The line height of the Upload.
/// @group upload
$kendo-upload-line-height: var( --kendo-line-height, normal ) !default;
/// The maximum height of the list with uploaded items.
/// @group upload
$kendo-upload-max-height: 300px !default;

/// The text color of the Upload.
/// @group upload
$kendo-upload-text: var( --kendo-component-text, initial ) !default;
/// The background color of the Upload.
/// @group upload
$kendo-upload-bg: var( --kendo-component-bg, initial ) !default;
/// The border color of the Upload.
/// @group upload
$kendo-upload-border: var( --kendo-component-border, initial ) !default;

/// The horizontal padding of the Upload dropzone.
/// @group upload
$kendo-upload-dropzone-padding-x: k-spacing(2) !default;
/// The vertical padding of the Upload dropzone.
/// @group upload
$kendo-upload-dropzone-padding-y: k-spacing(2) !default;
/// The text color of the Upload dropzone.
/// @group upload
$kendo-upload-dropzone-text: if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) !default;
/// The background color of the Upload dropzone.
/// @group upload
$kendo-upload-dropzone-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
/// The border color of the Upload dropzone.
/// @group upload
$kendo-upload-dropzone-border: if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) !default;
/// The background color of the hovered Upload dropzone.
/// @group upload
$kendo-upload-dropzone-hover-bg: var( --kendo-hover-bg, inherit ) !default;

/// The text color of the Upload status message.
/// @group upload
$kendo-upload-status-text: var( --kendo-subtle-text, inherit ) !default;
/// The opacity of the Upload status message.
/// @group upload
$kendo-upload-status-text-opacity: null !default;

/// The horizontal padding of an uploaded item.
/// @group upload
$kendo-upload-item-padding-x: k-spacing(2) !default;
/// The vertical padding of an uploaded item.
/// @group upload
$kendo-upload-item-padding-y: k-spacing(2) !default;

/// The vertical spacing between uploaded batch items.
/// @group upload
$kendo-upload-multiple-items-spacing: k-spacing(4) !default;

/// The font size of the Upload validation message.
/// @group upload
$kendo-upload-validation-font-size: var( --kendo-font-size-xs, inherit ) !default;
/// The horizontal spacing of the Upload status icon.
/// @group upload
$kendo-upload-icon-spacing: var( --kendo-icon-spacing, .5rem ) !default;
/// The color of the uploaded items icon.
/// @group upload
$kendo-upload-icon-color: var( --kendo-subtle-text, inherit ) !default;

/// The thickness of the Upload progress bar.
/// @group upload
$kendo-upload-progress-thickness: 2px !default;
/// The background color of the Upload progress bar.
/// @group upload
$kendo-upload-progress-bg: if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) !default;

/// The success text color of the Upload.
/// @group upload
$kendo-upload-success-text: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;
/// The success background color of the Upload progress bar.
/// @group upload
$kendo-upload-success-bg: if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) !default;

/// The error text color of the Upload.
/// @group upload
$kendo-upload-error-text: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;
/// The error background color of the Upload progress bar.
/// @group upload
$kendo-upload-error-bg: if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) !default;

/// The shadow of the focused Upload button, actions and uploaded items.
/// @group upload
$kendo-upload-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
