<commit_before>@import '../shape/tooltip';

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

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

        text-color: (
            igx-color: ('grays', 700),
            hexrgba: (),
            rgba: .9,
            text-contrast: ()
        ),

        roundness: rem(4px)
    )
);

/// Generates a light fluent tooltip schema.
/// @type {Map}
/// @property {map} background [igx-color: 'surface'] - The background color of the tooltip.
/// @prop {Number} border-radius [2px] - The border radius fraction, between 0-1 to be used for the tooltip component.
/// @requires {function} extend
/// @requires $_light-tooltip
/// @requires $_fluent-shape-tooltip
$_fluent-tooltip: extend(
    $_light-tooltip,
    $_fluent-shape-tooltip,
    (
        background: (
            igx-color: 'surface'
        )
    )
);

/// Generates a bootstrap tooltip schema.
/// @type {Map}
/// @requires {function} extend
/// @requires $_light-tooltip
$_bootstrap-tooltip: extend(
    $_light-tooltip,
    $_bootstrap-shape-tooltip,
    (
        background: (
            igx-color: ('grays', 900)
        ),
        text-color: (
            igx-contrast-color: ('grays', 900)
        ),
    )
);
<commit_msg>fix(tooltip): make tooltip visible in fluent theme<commit_after>@import '../shape/tooltip';

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

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

        text-color: (
            igx-color: ('grays', 700),
            hexrgba: (),
            rgba: .9,
            text-contrast: ()
        ),

        roundness: rem(4px)
    )
);

/// Generates a light fluent tooltip schema.
/// @type {Map}
/// @property {map} background [igx-color: 'surface'] - The background color of the tooltip.
/// @prop {Number} border-radius [2px] - The border radius fraction, between 0-1 to be used for the tooltip component.
/// @requires {function} extend
/// @requires $_light-tooltip
/// @requires $_fluent-shape-tooltip
$_fluent-tooltip: extend(
    $_light-tooltip,
    $_fluent-shape-tooltip,
    (
        background: (
            igx-color: ('grays', 900)
        ),
        text-color: (
            igx-contrast-color: ('grays', 900)
        )
    )
);

/// Generates a bootstrap tooltip schema.
/// @type {Map}
/// @requires {function} extend
/// @requires $_light-tooltip
$_bootstrap-tooltip: extend(
    $_light-tooltip,
    $_bootstrap-shape-tooltip,
    (
        background: (
            igx-color: ('grays', 900)
        ),
        text-color: (
            igx-contrast-color: ('grays', 900)
        ),
    )
);

{'fraction_non_alphanumeric': 0.1747843734145104, 'fraction_numerical': 0.017250126839167934, 'mean_word_length': 2.126883425852498, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5137193', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1227, 'n_words': 333}