@import '../shape/toast';

////
/// @group schemas
/// @access private
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
////

/// Generates a light toast schema.
/// @type {Map}
///
/// @property {map} background [igx-color: ('grays', 600)] - The background color used for the toast.
/// @property {map} text-color [igx-contrast-color: ('grays', 600)] - The text-color used for the toast.
/// @prop {Number} border-radius [.15] - The border radius fraction, between 0-1 to be used for the toast component.
///
/// @see $default-palette
$_light-toast: extend(
    $_default-shape-toast,
    (
        background: (
            igx-color: ('grays', 600)
        ),

        text-color: (
            igx-contrast-color: ('grays', 600)
        )
    )
);

/// Generates a fluent toast schema.
/// @type {Map}
/// @prop {Number} border-radius [2px] - The border radius fraction, between 0-1 to be used for the toast component.
/// @requires {function} extend
/// @requires $_light-toast
/// @requires $_fluent-shape-toast
$_fluent-toast: extend($_light-toast, $_fluent-shape-toast);
