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

/// The vertical spacing of the ExpansionPanel.
/// @group expander
$kendo-expander-margin-y: var( --kendo-expander-margin-y, k-spacing(2) ) !default;
/// The width of the border around the ExpansionPanel.
/// @group expander
$kendo-expander-border-width: var( --kendo-expander-border-width, 1px ) !default;
/// The font family of the ExpansionPanel.
/// @group expander
$kendo-expander-font-family: var( --kendo-expander-font-family, var(--kendo-font-family, inherit) ) !default;
/// The font size of the ExpansionPanel.
/// @group expander
$kendo-expander-font-size: var( --kendo-expander-font-size, var(--kendo-font-size, inherit) ) !default;
/// The hine height of the ExpansionPanel.
/// @group expander
$kendo-expander-line-height: var( --kendo-expander-line-height, var(--kendo-line-height, normal) ) !default;

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

/// The background color of the expanded ExpansionPanel.
/// @group expander
$kendo-expander-expanded-bg: var( --kendo-expander-expanded-bg, k-color(surface-alt) ) !default;

/// The text color of the disabled ExpansionPanel.
/// @group expander
$kendo-expander-disabled-text: var( --kendo-expander-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;


/// The offset of the focused ExpansionPanel.
/// @group expander
$kendo-expander-focus-offset: var( --kendo-expander-focus-offset, 2px ) !default;
/// The outline width of the focused ExpansionPanel.
/// @group expander
$kendo-expander-focus-outline-width: var( --kendo-expander-focus-outline-width, 2px ) !default;
/// The outline style of the focused ExpansionPanel.
/// @group expander
$kendo-expander-focus-outline-style: var( --kendo-expander-focus-outline-style, solid ) !default;
/// The outline color of the focused ExpansionPanel.
/// @group expander
$kendo-expander-focus-outline: var( --kendo-expander-focus-outline, inherit ) !default;
/// The box shadow of the focused ExpansionPanel.
/// @group expander
$kendo-expander-focus-shadow: var( --kendo-expander-focus-shadow, none ) !default;

/// The horizontal padding of the ExpansionPanel header.
/// @group expander
$kendo-expander-header-padding-x: var( --kendo-expander-header-padding-x, k-spacing(3) ) !default;
/// The vertical padding of the ExpansionPanel header.
/// @group expander
$kendo-expander-header-padding-y: var( --kendo-expander-header-padding-y, k-spacing(3) ) !default;

/// The text color of the ExpansionPanel header.
/// @group expander
$kendo-expander-header-text: var( --kendo-expander-header-text, k-color(on-app-surface) ) !default;
/// The background color of the ExpansionPanel header.
/// @group expander
$kendo-expander-header-bg: var( --kendo-expander-header-bg, inherit ) !default;

/// The background color of the hovered ExpansionPanel header.
/// @group expander
$kendo-expander-header-hover-bg: var( --kendo-expander-header-hover-bg, k-color(base-hover) ) !default;

/// The text color of the ExpansionPanel title.
/// @group expander
$kendo-expander-title-text: var( --kendo-expander-title-text, k-color(on-app-surface) ) !default;

/// The text color of the ExpansionPanel sub-title.
/// @group expander
$kendo-expander-header-sub-title-text: var( --kendo-expander-header-sub-title-text, k-color(subtle) ) !default;

/// The horizontal margin of the ExpansionPanel indicator.
/// @group expander
$kendo-expander-indicator-margin-x: var( --kendo-expander-indicator-margin-x, k-spacing(2) ) !default;
/// The text color of the ExpansionPanel indicator.
/// @group expander
$kendo-expander-indicator-text: var( --kendo-expander-indicator-text, k-color(subtle) ) !default;

/// The horizontal padding of the ExpansionPanel content.
/// @group expander
$kendo-expander-content-padding-x: var( --kendo-expander-content-padding-x, k-spacing(3) ) !default;
/// The vertical padding of the ExpansionPanel content.
/// @group expander
$kendo-expander-content-padding-y: var( --kendo-expander-content-padding-y, k-spacing(3) ) !default;

@forward "@progress/kendo-theme-core/scss/components/expansion-panel/_variables.scss" with (
    $kendo-expander-border-width: $kendo-expander-border-width,
    $kendo-expander-font-family: $kendo-expander-font-family,
    $kendo-expander-font-size: $kendo-expander-font-size,
    $kendo-expander-line-height: $kendo-expander-line-height,
    $kendo-expander-text: $kendo-expander-text,
    $kendo-expander-bg: $kendo-expander-bg,
    $kendo-expander-border: $kendo-expander-border,
    $kendo-expander-focus-shadow: $kendo-expander-focus-shadow,
    $kendo-expander-header-padding-x: $kendo-expander-header-padding-x,
    $kendo-expander-header-padding-y: $kendo-expander-header-padding-y,
    $kendo-expander-header-text: $kendo-expander-header-text,
    $kendo-expander-header-bg: $kendo-expander-header-bg,
    $kendo-expander-header-hover-bg: $kendo-expander-header-hover-bg,
    $kendo-expander-title-text: $kendo-expander-title-text,
    $kendo-expander-header-sub-title-text: $kendo-expander-header-sub-title-text,
    $kendo-expander-indicator-margin-x: $kendo-expander-indicator-margin-x,
    $kendo-expander-content-padding-x: $kendo-expander-content-padding-x,
    $kendo-expander-content-padding-y: $kendo-expander-content-padding-y
);
