@use "../core/_index.scss" as *;

/// Width of the border around the popup.
/// @group popup
$kendo-popup-border-width: 1px !default;
/// Border radius of the popup.
/// @group popup
$kendo-popup-border-radius: k-border-radius(xl) !default;

/// Font size of the popup.
/// @group popup
$kendo-popup-font-size: var( --kendo-font-size, inherit ) !default;
/// Line height of the popup.
/// @group popup
$kendo-popup-line-height: var( --kendo-line-height, normal ) !default;

/// Horizontal padding of the popup content.
/// @group popup
$kendo-popup-content-padding-x: k-spacing(2) !default;
/// Vertical padding of the popup content.
/// @group popup
$kendo-popup-content-padding-y: k-spacing(2) !default;

/// Background color of the popup.
/// @group popup
$kendo-popup-bg: k-translucency-bg(k-elevation-bg(2, k-color(surface-alt))) !default;
/// Text color of the popup.
/// @group popup
$kendo-popup-text: k-color(on-app-surface) !default;
/// Border color of the popup.
/// @group popup
$kendo-popup-border: k-color(border) !default;
/// Box shadow of the popup.
/// @group popup
$kendo-popup-shadow: k-elevation(2) !default;

/// Vertical spacing between the popup and the element it is anchored to.
/// @group popup
$kendo-popup-spacing-y: k-spacing(0.5) !default;

@forward "@progress/kendo-theme-core/scss/components/popup/_variables.scss" with (
    $kendo-popup-border-width: $kendo-popup-border-width,
    $kendo-popup-border-radius: $kendo-popup-border-radius,
    $kendo-popup-font-size: $kendo-popup-font-size,
    $kendo-popup-line-height: $kendo-popup-line-height,
    $kendo-popup-content-padding-x: $kendo-popup-content-padding-x,
    $kendo-popup-content-padding-y: $kendo-popup-content-padding-y,
    $kendo-popup-bg: $kendo-popup-bg,
    $kendo-popup-text: $kendo-popup-text,
    $kendo-popup-border: $kendo-popup-border,
    $kendo-popup-shadow: $kendo-popup-shadow,
    $kendo-popup-spacing-y: $kendo-popup-spacing-y
);
