<commit_before>// =====================================================
// ------------------ Megatype config ------------------
// =====================================================
// @author <NAME> <<EMAIL>>
// Megatype: https://github.com/StudioThick/megatype
// =====================================================



// ===================================
// Colors
// ===================================

// colors
$palettes: (
    white:          #ffffff,
    black:          #000000
) !default;

$site-color-names: map-keys($palettes) !default;



// ===================================
// Debugging
// ===================================

// debug grid columns, grid, type baseline, & breakpoints
$debug-columns: true !default;
$debug-grid: true !default;
$debug-baseline: true !default;
$debug-breakpoints: true !default;

// debug colors
$debug-base: #f54848 !default;
$debug-color: #f54848 !default;
$debug-type: yellow !default;
$debug-spacing: turquoise !default;

// size of debug text
$debug-size: 12px !default;

// grid opacity, for debugging columns
$grid-opacity: 0.1 !default;

// limit where baseline will report warnings
$debug-tolerance: 1px;



// ===================================
// Breakpoints & Grid
// ===================================

// Available susy settings
// these are direct aliases for the $susy config map, but allow us better override control
// $susy config map should not be modified directly: instead use these settings
$susy-math: fluid !default;
$susy-container-position: center !default;
$susy-global-box-sizing: border-box !default;
$susy-gutter-position: inside-static !default;
$susy-debug-color: transparentize($debug-color,$grid-opacity) !default;


// enable responsive baseline & type scaling.
// increases root font size from each breakpoint, starting from the min size specified in $rootsizes below
$baseline-scaling: false !default;

// enable formal baseline grid
// snaps all type to the baseline grid
// for best results, declare spacing and leading using unitless numbers in typeset mixin
// can be disabled per-typeset mixin by passing last paramter ($snap) as false
$baseline-snap: true !default;

// map for flexible retrieval of breakpoint info
$breakpoint-map: (
    0: (
        cols:       3,
        start:      0px,
        max:        420px,
        rootsize:   12px,
        gutter:     1rem
    ),
    1: (
        cols:       3,
        start:      480px,
        max:        560px,
        rootsize:   14px,
        gutter:     1rem
    ),
    2: (
        cols:       6,
        start:      768px,
        max:        840px,
        rootsize:   16px,
        gutter:     1.5rem
    ),
    3: (
        cols:       9,
        start:      980px,
        max:        1080px,
        rootsize:   18px,
        gutter:     2rem
    ),
    4: (
        cols:       12,
        start:      1280px,
        max:        1440px,
        rootsize:   20px,
        gutter:     2rem
    )
) !default;

// optional: set a minimum size for all typeset typography
$min-font-size: false !default;

// breakpoint count
$breakpoint-count: length(map-keys($breakpoint-map)) !default;

// breakpoint names
$breaks: map-keys($breakpoint-map) !default;

// set the initial breakpoint information referenced by type mixins
// you can use these to retrieve current breakpoint info within breakpoint mixins
$current-breakpoint: 0 !default;
$current-rootsize: map-get(map-get($breakpoint-map, 0), rootsize) !default;





// ===================================
// Typefaces
// ===================================

// Set cap height to set to the baseline.
// Here are some cap-height sizes to get you started:
// Georgia: 0.66, Times / Times New Roman: 0.65, Palatino: 0.52
// Lucida Grande: 0.72, Helvetica: 0.65, Helvetica Neue: 0.71, Verdana: 0.76, Tahoma: 0.76
$sans: (
    font-family: '"Helvetica Neue", Arial, sans-serif',
    regular: normal,
    bold: bold,
    cap-height: 0.71
) !default;

$serif: (
    font-family: 'Georgia, serif',
    regular: normal,
    bold: bold,
    cap-height: 0.69
) !default;

$monospace: (
    font-family: 'Menlo, Courier, monospace',
    regular: 400,
    cap-height: 0.68
) !default;


// ===================================
// Read-only
// ===================================
// These values override defaults and should not be edited directly in your project

// Available Susy settings - overrides Susy default config
// To affect this setup access the custom $susy variables instead (under "Breakpoints & Grid")
$susy: (
    math: $susy-math,
    global-box-sizing: $susy-global-box-sizing,
    gutter-position: $susy-gutter-position,
    container-position: $susy-container-position,
    debug: (
        color: $susy-debug-color
    )
);
<commit_msg>added config for links and type measure<commit_after>// =====================================================
// ------------------ Megatype config ------------------
// =====================================================
// @author <NAME> <<EMAIL>>
// Megatype: https://github.com/StudioThick/megatype
// =====================================================



// ===================================
// Colors
// ===================================

// colors
$palettes: (
    blue:           #169dbf,
    white:          #ffffff,
    black:          #000000
) !default;

$site-color-names: map-keys($palettes) !default;



// ===================================
// Debugging
// ===================================

// debug grid columns, grid, type baseline, & breakpoints
$debug-columns: true !default;
$debug-grid: true !default;
$debug-baseline: true !default;
$debug-breakpoints: true !default;

// debug colors
$debug-base: #f54848 !default;
$debug-color: #f54848 !default;
$debug-type: yellow !default;
$debug-spacing: turquoise !default;

// size of debug text
$debug-size: 12px !default;

// grid opacity, for debugging columns
$grid-opacity: 0.1 !default;

// limit where baseline will report warnings
$debug-tolerance: 1px;



// ===================================
// Breakpoints & Grid
// ===================================

// Available susy settings
// these are direct aliases for the $susy config map, but allow us better override control
// $susy config map should not be modified directly: instead use these settings
$susy-math: fluid !default;
$susy-container-position: center !default;
$susy-global-box-sizing: border-box !default;
$susy-gutter-position: inside-static !default;
$susy-debug-color: transparentize($debug-color,$grid-opacity) !default;


// enable responsive baseline & type scaling.
// increases root font size from each breakpoint, starting from the min size specified in $rootsizes below
$baseline-scaling: false !default;

// enable formal baseline grid
// snaps all type to the baseline grid
// for best results, declare spacing and leading using unitless numbers in typeset mixin
// can be disabled per-typeset mixin by passing last paramter ($snap) as false
$baseline-snap: true !default;

// map for flexible retrieval of breakpoint info
$breakpoint-map: (
    0: (
        cols:       3,
        start:      0px,
        max:        420px,
        rootsize:   12px,
        gutter:     1rem
    ),
    1: (
        cols:       3,
        start:      480px,
        max:        560px,
        rootsize:   14px,
        gutter:     1rem
    ),
    2: (
        cols:       6,
        start:      768px,
        max:        840px,
        rootsize:   16px,
        gutter:     1.5rem
    ),
    3: (
        cols:       9,
        start:      980px,
        max:        1080px,
        rootsize:   18px,
        gutter:     2rem
    ),
    4: (
        cols:       12,
        start:      1280px,
        max:        1440px,
        rootsize:   20px,
        gutter:     2rem
    )
) !default;

// optional: set a minimum size for all typeset typography
$min-font-size: false !default;

// typographic measure for paragraphs, lists, and headings
$type-measure: 40rem;

// link offset from baseline
$link-offset: 2px;

// breakpoint count
$breakpoint-count: length(map-keys($breakpoint-map)) !default;

// breakpoint names
$breaks: map-keys($breakpoint-map) !default;

// set the initial breakpoint information referenced by type mixins
// you can use these to retrieve current breakpoint info within breakpoint mixins
$current-breakpoint: 0 !default;
$current-rootsize: map-get(map-get($breakpoint-map, 0), rootsize) !default;





// ===================================
// Typefaces
// ===================================

// Set cap height to set to the baseline.
// Here are some cap-height sizes to get you started:
// Georgia: 0.66, Times / Times New Roman: 0.65, Palatino: 0.52
// Lucida Grande: 0.72, Helvetica: 0.65, Helvetica Neue: 0.71, Verdana: 0.76, Tahoma: 0.76
$sans: (
    font-family: '"Helvetica Neue", Arial, sans-serif',
    regular: normal,
    bold: bold,
    cap-height: 0.71
) !default;

$serif: (
    font-family: 'Georgia, serif',
    regular: normal,
    bold: bold,
    cap-height: 0.66
) !default;

$monospace: (
    font-family: 'Menlo, Courier, monospace',
    regular: 400,
    cap-height: 0.68
) !default;


// ===================================
// Read-only
// ===================================
// These values override defaults and should not be edited directly in your project

// Available Susy settings - overrides Susy default config
// To affect this setup access the custom $susy variables instead (under "Breakpoints & Grid")
$susy: (
    math: $susy-math,
    global-box-sizing: $susy-global-box-sizing,
    gutter-position: $susy-gutter-position,
    container-position: $susy-container-position,
    debug: (
        color: $susy-debug-color
    )
);

{'fraction_non_alphanumeric': 0.21939406430338004, 'fraction_numerical': 0.0247320692497939, 'mean_word_length': 2.85731319554849, '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': '7518795', 'n_tokens_mistral': 3076, 'n_tokens_neox': 2799, 'n_words': 863}