@use '../../../../../utils/map' as *;
@use '../../../../../typography/functions' as *;
@use '../../light/calendar/picker' as *;

/// Generates a dark material month/year picker schema.
/// @type Map
/// @prop {Map} navigation-hover-color [color: ('secondary', 200)] - The :hover color of the icon button responsible for month navigation.
/// @prop {Map} navigation-focus-color [color: ('secondary', 200)] - The :focus color of the icon button responsible for month navigation.
/// @prop {Map} picker-hover-foreground [color: ('secondary', 200)] - The :hover foreground color of the month and year pickers.
/// @prop {Map} picker-focus-foreground [color: ('secondary', 200)] - The :focus foreground color of the month and year pickers.
/// @requires $material-picker
$dark-material-picker: extend(
    $material-picker,
    (
        navigation-hover-color: (
            color: (
                'secondary',
                200,
            ),
        ),
        navigation-focus-color: (
            color: (
                'secondary',
                200,
            ),
        ),
        picker-hover-foreground: (
            color: (
                'secondary',
                200,
            ),
        ),
        picker-focus-foreground: (
            color: (
                'secondary',
                200,
            ),
        ),
    )
);

/// Generates a dark fluent month/year picker schema.
/// @type Map
/// @prop {Map} picker-hover-foreground [color: ('primary', 200)] - The :hover foreground color of the month and year pickers.
/// @prop {Map} picker-focus-foreground [color: ('primary', 200)] - The :focus foreground color of the month and year pickers.
/// @prop {Map} navigation-hover-color [color: ('primary', 200)] - The :hover color of the buttons responsible for navigation.
/// @prop {Map} navigation-focus-color [color: ('primary', 200)] - The :focus color of the buttons responsible for navigation.
/// @requires $fluent-picker
$dark-fluent-picker: extend(
    $fluent-picker,
    (
        picker-hover-foreground: (
            color: (
                'primary',
                200,
            ),
        ),
        picker-focus-foreground: (
            color: (
                'primary',
                200,
            ),
        ),
        navigation-hover-color: (
            color: (
                'primary',
                200,
            ),
        ),
        navigation-focus-color: (
            color: (
                'primary',
                200,
            ),
        ),
    )
);

/// Generates a dark bootstrap month/year picker schema.
/// @type Map
/// @prop {Map} picker-hover-foreground [color: ('secondary', 200)] - The :hover foreground color of the month and year pickers.
/// @prop {Map} picker-focus-foreground [color: ('secondary', 200)] - The :focus foreground color of the month and year pickers.
/// @prop {Map} navigation-hover-color [color: ('secondary', 200)] - The :hover color of the buttons responsible for navigation.
/// @prop {Map} navigation-focus-color [color: ('secondary', 200)] - The :focus color of the buttons responsible for navigation.
/// @requires $bootstrap-picker
$dark-bootstrap-picker: extend(
    $bootstrap-picker,
    (
        picker-hover-foreground: (
            color: (
                'secondary',
                200,
            ),
        ),
        picker-focus-foreground: (
            color: (
                'secondary',
                200,
            ),
        ),
        navigation-hover-color: (
            color: (
                'secondary',
                200,
            ),
        ),
        navigation-focus-color: (
            color: (
                'secondary',
                200,
            ),
        ),
    )
);

/// Generates a dark indigo month/year picker schema.
/// @type Map
/// @prop {Map} picker-background [color: ('gray', 50)] - The background color of the month and year pickers.
/// @prop {Map} picker-hover-foreground [color: ('primary', 300)] - The :hover foreground color of the month and year pickers.
/// @prop {Map} picker-focus-foreground [color: ('primary', 300)] - The :focus foreground color of the month and year pickers.
/// @prop {Map} navigation-hover-color [color: ('primary', 300)] - The :hover color of the icon button responsible for month navigation.
/// @prop {Map} navigation-focus-color [color: ('primary', 300)] - The :focus color of the icon button responsible for month navigation.
/// @requires $indigo-picker
$dark-indigo-picker: extend(
    $indigo-picker,
    (
        picker-background: (
            color: (
                'gray',
                50,
            ),
        ),
        picker-hover-foreground: (
            color: (
                'primary',
                300,
            ),
        ),
        picker-focus-foreground: (
            color: (
                'primary',
                300,
            ),
        ),
        navigation-hover-color: (
            color: (
                'primary',
                300,
            ),
        ),
        navigation-focus-color: (
            color: (
                'primary',
                300,
            ),
        ),
    )
);
