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

/// Returns a map containing all style properties related to the theming the watermark directive.
/// @param {Map} $palette [$default-palette] - The palette used as basis for styling the component.
/// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
///
/// @requires $default-palette
/// @requires $light-schema
/// @requires apply-palette
/// @requires extend
/// @requires text-contrast
/// @requires round-borders
///
/// @example scss Change the watermark background
///   $my-watermark-theme: igx-watermark-theme($background: magenta);
///   // Pass the theme to the igx-watermark component mixin
///   @include igx-watermark($my-checkbox-theme);
@function igx-watermark-theme(
    $palette: $default-palette,
    $schema: $light-schema,

    $border-radius: null,
    $background-image: null,
    $link-background: null,
    $color: null,
    $border-color: null,
) {
    $name: 'igx-watermark';
    $watermark-schema: ();

    @if map-has-key($schema, $name) {
        $watermark-schema: map-get($schema, $name);
    } @else {
        $watermark-schema: $schema;
    }

    $theme: apply-palette($watermark-schema, $palette);

    $border-radius: round-borders(
            if($border-radius, $border-radius, map-get($watermark-schema, 'border-radius')), 0, 16px
    );

    @return extend($theme, (
        name: $name,
        palette: $default-palette,
        background-image: $background-image,
        link-background: $link-background,
        border-radius: $border-radius,
        color: $color,<commit_msg>chore(*): fix stylelint error<commit_after>////
/// @group themes
/// @access privet
/// @author <a href="https://github.com/desig9stein" target="_blank"><NAME></a>
////

/// Returns a map containing all style properties related to the theming the watermark directive.
/// @param {Map} $palette [$default-palette] - The palette used as basis for styling the component.
/// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
///
/// @requires $default-palette
/// @requires $light-schema
/// @requires apply-palette
/// @requires extend
/// @requires text-contrast
/// @requires round-borders
///
/// @example scss Change the watermark background
///   $my-watermark-theme: igx-watermark-theme($background: magenta);
///   // Pass the theme to the igx-watermark component mixin
///   @include igx-watermark($my-checkbox-theme);
@function igx-watermark-theme(
    $palette: $default-palette,
    $schema: $light-schema,

    $border-radius: null,
    $background-image: null,
    $link-background: null,
    $color: null,
    $border-color: null,
) {
    $name: 'igx-watermark';
    $watermark-schema: ();

    @if map-has-key($schema, $name) {
        $watermark-schema: map-get($schema, $name);
    } @else {
        $watermark-schema: $schema;
    }

    $theme: apply-palette($watermark-schema, $palette);

    $border-radius: round-borders(
        if($border-radius, $border-radius, map-get($watermark-schema, 'border-radius')), 0, 16px
    );

    @return extend($theme, (
        name: $name,
        palette: $default-palette,
        background-image: $background-image,
        link-background: $link-background,
        border-radius: $border-radius,
        color: $color,
{'fraction_non_alphanumeric': 0.16656959813628422, 'fraction_numerical': 0.0023296447291788003, 'mean_word_length': 2.9482758620689653, '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': '4674390', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1079, 'n_words': 268}