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

/// The width of the border around the Splitter.
/// @group splitter
$kendo-splitter-border-width: var( --kendo-splitter-border-width, 1px ) !default;
/// The font size of the Splitter.
/// @group splitter
$kendo-splitter-font-size: var( --kendo-splitter-font-size, var( --kendo-font-size, initial ) ) !default;
/// The line height of the Splitter.
/// @group splitter
$kendo-splitter-line-height: var( --kendo-splitter-line-height, var( --kendo-line-height, initial ) ) !default;
/// The font family of the Splitter.
/// @group splitter
$kendo-splitter-font-family: var( --kendo-splitter-font-family, var( --kendo-font-family, initial ) ) !default;

/// The background color of the Splitter.
/// @group splitter
$kendo-splitter-bg: var( --kendo-splitter-bg, k-color(surface-alt) ) !default;
/// The text color of the Splitter.
/// @group splitter
$kendo-splitter-text: var( --kendo-splitter-text, k-color(base-on-surface) ) !default;
/// The border color of the Splitter.
/// @group splitter
$kendo-splitter-border: var( --kendo-splitter-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;

/// The size of the Splitter split bar.
/// @group splitter
$kendo-splitter-splitbar-size: var( --kendo-splitter-splitbar-size, k-spacing(3) ) !default;
/// The length of the Splitter drag handle.
/// @group splitter
$kendo-splitter-drag-handle-length: var( --kendo-splitter-drag-handle-length, k-spacing(5) ) !default;
/// The thickness of the Splitter drag handle.
/// @group splitter
$kendo-splitter-drag-handle-thickness: var( --kendo-splitter-drag-handle-thickness, k-spacing(0.5) ) !default;
/// The margin of the Splitter drag handle icon.
/// @group splitter
$kendo-splitter-drag-icon-margin: var( --kendo-splitter-drag-icon-margin, k-spacing(2) ) !default;

/// The horizontal padding of the collapse icon in the Splitter.
/// @group splitter
$kendo-splitter-collapse-icon-padding-x: var( --kendo-splitter-collapse-icon-padding-x, null ) !default;
/// The vertical padding of the collapse icon in the Splitter.
/// @group splitter
$kendo-splitter-collapse-icon-padding-y: var( --kendo-splitter-collapse-icon-padding-y, k-spacing(.5) ) !default;

/// The background color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-bg: var( --kendo-splitbar-bg, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
/// The text color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-text: var( --kendo-splitbar-text, k-color(base-on-subtle) ) !default;

/// The hover background color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-hover-bg: var( --kendo-splitbar-hover-bg, color-mix( in srgb, k-color(border) 34%, transparent ) ) !default;
/// The hover text color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-hover-text: var( --kendo-splitbar-hover-text, $kendo-splitbar-text ) !default;

/// The selected background color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-selected-bg: var( --kendo-splitbar-selected-bg, k-color(primary) ) !default;
/// The selected text color of the Splitter split bar.
/// @group splitter
$kendo-splitbar-selected-text: var( --kendo-splitbar-selected-text, k-color(on-primary) ) !default;

/// The size of the Splitter static split bar.
/// @group splitter
$kendo-splitter-splitbar-static-size: var( --kendo-splitter-splitbar-static-size, k-spacing(0.5) ) !default;

@forward "@progress/kendo-theme-core/scss/components/splitter/_variables.scss" with (
    $kendo-splitter-border-width: $kendo-splitter-border-width,
    $kendo-splitter-font-family: $kendo-splitter-font-family,
    $kendo-splitter-font-size: $kendo-splitter-font-size,
    $kendo-splitter-line-height: $kendo-splitter-line-height,
    $kendo-splitter-bg: $kendo-splitter-bg,
    $kendo-splitter-text: $kendo-splitter-text,
    $kendo-splitter-border: $kendo-splitter-border,
    $kendo-splitter-splitbar-size: $kendo-splitter-splitbar-size,
    $kendo-splitter-drag-handle-length: $kendo-splitter-drag-handle-length,
    $kendo-splitter-drag-handle-thickness: $kendo-splitter-drag-handle-thickness,
    $kendo-splitter-drag-icon-margin: $kendo-splitter-drag-icon-margin,
    $kendo-splitter-collapse-icon-padding-x: $kendo-splitter-collapse-icon-padding-x,
    $kendo-splitter-collapse-icon-padding-y: $kendo-splitter-collapse-icon-padding-y,
    $kendo-splitbar-bg: $kendo-splitbar-bg,
    $kendo-splitbar-text: $kendo-splitbar-text,
    $kendo-splitbar-hover-bg: $kendo-splitbar-hover-bg,
    $kendo-splitbar-hover-text: $kendo-splitbar-hover-text,
    $kendo-splitbar-selected-bg: $kendo-splitbar-selected-bg,
    $kendo-splitbar-selected-text: $kendo-splitbar-selected-text
);
