<commit_before>/*------------------------------------*\
    #GEL TYPOGRAPHY
\*------------------------------------*/

/**
 * GEL Typography proposes using four groups to apply a scale appropriately across
 * a range of devices. We take a `Touch First` approach to typography, adjustments
 * are then made based on if a primary input other than touch has been detected
 *
 */


// We need to check that the GEL settings are available globally
$gel-settings-available: false !default;
@if ($gel-settings-available == false) {
    @warn "Missing Dependency: Have you included the GEL settings?";
}


// import the local dependancies
@import 'settings';
@import 'tools';


// define some output control variables
$core: true !default;
$enhanced: true !default;


// Output the typography styles for the 4 groups
@if $gel-type-enable--markup-output {

    @if $core {
        @include gel-output-type-group('group-a');
    }

    @if $enhanced {
        @include mq($from: gel-bp-type-b) {
            @include gel-output-type-group('group-b');
        }

        @include mq($from: gel-bp-type-c) {
            @include gel-output-type-group('group-c');
            @include gel-output-type-group('group-d');
        }
    }

}


@if $gel-type-enable--font-family {

    /**
     * Barlesque will set the correct font-family on the <body> tag but if you're working on a project
     * without Barlesque you might want to enable this flag
     */
    body {
        font-family: Arial, Helvetica, freesans, sans-serif;
    }

}


@if $gel-type-enable--base-elements {

    /**
     * Map the GEL Typography classes to the relevant
     * HTML elements
     */
    h1 { @extend %gel-trafalgar; }
    h2 { @extend %gel-double-pica; }
    h3 { @extend %gel-great-primer; }
    h4 { @extend %gel-minion; }

    p,
    ul,
    ol {
        @extend %gel-pica;
    }

    figcaption { @extend %gel-long-primer; }
    time { @extend %gel-brevier; }
}<commit_msg>Update extend logic #2<commit_after>/*------------------------------------*\
    #GEL TYPOGRAPHY
\*------------------------------------*/

/**
 * GEL Typography proposes using four groups to apply a scale appropriately across
 * a range of devices. We take a `Touch First` approach to typography, adjustments
 * are then made based on if a primary input other than touch has been detected
 *
 */


// We need to check that the GEL settings are available globally
$gel-settings-available: false !default;
@if ($gel-settings-available == false) {
    @warn "Missing Dependency: Have you included the GEL settings?";
}


// import the local dependancies
@import 'settings';
@import 'tools';


// define some output control variables
$core: true !default;
$enhanced: true !default;


// Output the typography styles for the 4 groups
@if $gel-type-enable--markup-output {

    @if $core {
        @include gel-output-type-group('group-a');
    }

    @if $enhanced {
        @include mq($from: gel-bp-type-b) {
            @include gel-output-type-group('group-b');
        }

        @include mq($from: gel-bp-type-c) {
            @include gel-output-type-group('group-c');
            @include gel-output-type-group('group-d');
        }
    }

}


@if $gel-type-enable--font-family {

    /**
     * Barlesque will set the correct font-family on the <body> tag but if you're working on a project
     * without Barlesque you might want to enable this flag
     */
    body {
        font-family: Arial, Helvetica, freesans, sans-serif;
    }

}


@if $gel-type-enable--base-elements {

    /**
     * Map the GEL Typography classes to the relevant
     * HTML elements
     */
    h1 { @extend %#{$gel-type-namespace}trafalgar; }
    h2 { @extend %#{$gel-type-namespace}double-pica; }
    h3 { @extend %#{$gel-type-namespace}great-primer; }
    h4 { @extend %#{$gel-type-namespace}pica; }

}
{'fraction_non_alphanumeric': 0.16254232873144048, 'fraction_numerical': 0.0028653295128939827, 'mean_word_length': 2.270868824531516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '458009', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1160, 'n_words': 362}