<commit_before>///
/// This file regroups the website design rules.
///

$-seen: ();
$-font-numbers: (
    $o-theme-font-number,
    $o-theme-headings-font-number,
    $o-theme-buttons-font-number,
    $o-theme-navbar-font-number
);
@each $-number in $-font-numbers {
    @if index($-seen, $-number) == null {
        $-seen: append($-seen, $-number);
        $-theme-font: nth($o-theme-font-urls, $-number);
        @if $-theme-font {
            @import url("https://fonts.googleapis.com/css?family=#{unquote($-theme-font)}");
        }
    }
}

:root {
    // The theme customize modal JS will need to know the value of some scss
    // variables used to render the user website, and those may have been
    // customized by themes, the user or anything else (so there is no file to
    // parse to get them). Those will be printed here as CSS variables.

    // 1) Handle default values
    --header-font-size: #{$font-size-base};

    // 2) The values in the $theme-colors map are already printed by Bootstrap.

    // 3) The values in the $colors map are also printed by Bootstrap.

    // 4) The Odoo values map, $o-website-values, must be printed.
    @each $key, $value in $o-website-values {
        --#{$key}: #{$value};
    }

    // 5) Use final value used by the theme
    $-h1-color: if($headings-color == inherit, $body-color, $headings-color);
    $-h2-color: if(color('h2'), color('h2'), $-h1-color);
    $-h3-color: if(color('h3'), color('h3'), $-h2-color);
    $-h4-color: if(color('h4'), color('h4'), $-h3-color);
    $-h5-color: if(color('h5'), color('h5'), $-h4-color);
    $-h6-color: if(color('h6'), color('h6'), $-h5-color);

    --body: #{$body-bg};
    --text: #{$body-color};
    --h1: #{$-h1-color};
    --h2: #{$-h2-color};
    --h3: #{$-h3-color};
    --h4: #{$-h4-color};
    --h5: #{$-h5-color};
    --h6: #{$-h6-color};

    --logo-height: #{$o-theme-navbar-logo-height};
}

#wrapwrap {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

    @if ($o-theme-layout == 'boxed') {
        @include media-breakpoint-up(md) {
            padding: 0 7.5%;<commit_msg>[FIX] website: restore default h1 color in customize dialog<commit_after>///
/// This file regroups the website design rules.
///

$-seen: ();
$-font-numbers: (
    $o-theme-font-number,
    $o-theme-headings-font-number,
    $o-theme-buttons-font-number,
    $o-theme-navbar-font-number
);
@each $-number in $-font-numbers {
    @if index($-seen, $-number) == null {
        $-seen: append($-seen, $-number);
        $-theme-font: nth($o-theme-font-urls, $-number);
        @if $-theme-font {
            @import url("https://fonts.googleapis.com/css?family=#{unquote($-theme-font)}");
        }
    }
}

:root {
    // The theme customize modal JS will need to know the value of some scss
    // variables used to render the user website, and those may have been
    // customized by themes, the user or anything else (so there is no file to
    // parse to get them). Those will be printed here as CSS variables.

    // 1) Handle default values
    --header-font-size: #{$font-size-base};

    // 2) The values in the $theme-colors map are already printed by Bootstrap.

    // 3) The values in the $colors map are also printed by Bootstrap.

    // 4) The Odoo values map, $o-website-values, must be printed.
    @each $key, $value in $o-website-values {
        --#{$key}: #{$value};
    }

    // 5) Use final value used by the theme
    $-h1-color: if($headings-color == inherit or not $headings-color, $body-color, $headings-color);
    $-h2-color: if(color('h2'), color('h2'), $-h1-color);
    $-h3-color: if(color('h3'), color('h3'), $-h2-color);
    $-h4-color: if(color('h4'), color('h4'), $-h3-color);
    $-h5-color: if(color('h5'), color('h5'), $-h4-color);
    $-h6-color: if(color('h6'), color('h6'), $-h5-color);

    --body: #{$body-bg};
    --text: #{$body-color};
    --h1: #{$-h1-color};
    --h2: #{$-h2-color};
    --h3: #{$-h3-color};
    --h4: #{$-h4-color};
    --h5: #{$-h5-color};
    --h6: #{$-h6-color};

    --logo-height: #{$o-theme-navbar-logo-height};
}

#wrapwrap {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;

    @if ($o-theme-layout == 'boxed') {
        @include media-breakpoint-up(md) {
            padding: 0 7.5%;
{'fraction_non_alphanumeric': 0.20081503282771113, 'fraction_numerical': 0.018791034638895178, 'mean_word_length': 2.514717581543357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '241593', 'n_tokens_mistral': 1583, 'n_tokens_neox': 1526, 'n_words': 408}