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

/// Margin around the message box.
/// @group messagebox
$kendo-message-box-margin: 0 0 k-spacing(3) 0 !default;
/// Horizontal padding of the message box.
/// @group messagebox
$kendo-message-box-padding-x: k-spacing(3) !default;
/// Vertical padding of the message box.
/// @group messagebox
$kendo-message-box-padding-y: k-spacing(2) !default;
/// Border width of the message box.
/// @group messagebox
$kendo-message-box-border-width: 0 !default;
/// Border style of the message box.
/// @group messagebox
$kendo-message-box-border-style: solid !default;
/// Font family of the message box.
/// @group messagebox
$kendo-message-box-font-family: var( --kendo-font-family, inherit ) !default;
/// Font size of the message box.
/// @group messagebox
$kendo-message-box-font-size: var( --kendo-font-size-sm, inherit ) !default;
/// Line height of the message box.
/// @group messagebox
$kendo-message-box-line-height: var( --kendo-line-height-sm, normal ) !default;

/// Font style of the message box links.
/// @group messagebox
$kendo-message-box-link-font-style: normal !default;
/// Text decoration of the message box links.
/// @group messagebox
$kendo-message-box-link-decoration: underline !default;
/// Text color of the message box links.
/// @group messagebox
$kendo-message-box-link-text: k-color(primary) !default;
/// Hover text color of the message box links.
/// @group messagebox
$kendo-message-box-link-hover-text: k-color(primary-hover) !default;

$kendo-messagebox-theme-colors: (
    primary: (
        text: k-color(primary-emphasis),
        bg: k-color(primary-subtle),
        border: k-color(primary-subtle),
    ),
    info: (
        text: k-color(info-on-surface),
        bg: k-color(info-subtle),
        border: k-color(info-subtle),
    ),
    success: (
        text: k-color(success-on-surface),
        bg: k-color(success-subtle),
        border: k-color(success-subtle),
    ),
    warning: (
        text: k-color(warning-on-surface),
        bg: k-color(warning-subtle),
        border: k-color(warning-subtle),
    ),
    error: (
        text: k-color(error-on-surface),
        bg: k-color(error-subtle),
        border: k-color(error-subtle),
    ),
) !default;
