@use '../../../../utils/map' as *;
@use '../light/tooltip' as *;
@use '../elevation/tooltip' as *;

////
/// @package theming
/// @group schemas
/// @access public
////

/// Generates a base dark tooltip schema.
/// @access private
/// @type Map
$dark-base-tooltip: (
    _meta: (
        name: 'tooltip',
        variant: 'dark',
    ),
);

/// Generates a dark material tooltip schema.
/// @type Map
/// @requires $material-tooltip
$dark-material-tooltip: extend($material-tooltip, $dark-base-tooltip);

/// Generates a dark fluent tooltip schema.
/// @type Map
/// @requires $fluent-tooltip
$dark-fluent-tooltip: extend($fluent-tooltip, $dark-base-tooltip);

/// Generates a dark bootstrap tooltip schema.
/// @type Map
/// @requires $bootstrap-tooltip
$dark-bootstrap-tooltip: extend($bootstrap-tooltip, $dark-base-tooltip);

/// Generates a dark indigo tooltip schema.
/// @type Map
/// @prop {Map} background [color: ('gray', 300, .9)] - The background color of the tooltip.
/// @prop {Map} text-color [contrast-color: ('gray', 50)] - The text color of the tooltip.
/// @prop {Number} elevation [9] - The elevation level, between 0-24, to be used for the tooltip.
/// @requires $indigo-tooltip
$dark-indigo-tooltip: extend(
    $indigo-tooltip,
    $dark-base-tooltip,
    (
        background: (
            color: (
                'gray',
                300,
                0.9,
            ),
        ),
        text-color: (
            contrast-color: (
                'gray',
                50,
            ),
        ),
    )
);
