<commit_before>module.exports = {
    color(name, color) {
        return [
            { className: `c-${name}`,  prop: 'color',            value: color },
            { className: `bg-${name}`, prop: 'background-color', value: color },
            { className: `b-${name}`,  prop: 'border-color',     value: color },
        ]
    },

    colorVariants(name, color) {
        const normal = this.color(name, color)
        const dark = normal.map(({ className, prop, value }) => ({
            className: `${className}-dark`,
            prop,
            value: `darken(${value}, 10%)`,
        }))
        const light = normal.map(({ className, prop, value }) => ({
            className: `${className}-light`,
            prop,
            value: `lighten(${value}, 10%)`,
        }))
        return [].concat(light, dark)
    },

    responsive(rulesBlock) {
        const blockM = rulesBlock.map((rule) => {
            if (!rule.className) return rule
            const { className, prop, value } = rule
            return {
                className: `${className}-m`,
                breakpoint: '(min-width: 480px) and (max-width: 1024px)',
                prop,
                value,
            }
        })
        const blockL = rulesBlock.map((rule) => {
            if (!rule.className) return rule
            const { className, prop, value } = rule
            return {
                className: `${className}-l`,
                breakpoint: '(min-width: 1024px)',
                prop,
                value,
            }
        })
        return rulesBlock.concat(blockM, blockL)
    },
}
<commit_msg>🌈 Update to color function to match the Tachyons classes<commit_after>module.exports = {
    color(name, color) {
        return [
            { className: name, prop: 'color', value: color },
            { className: `bg-${name}`, prop: 'background-color', value: color },
            { className: `b--${name}`, prop: 'border-color', value: color },
        ]
    },

    colorVariants(name, color) {
        const normal = this.color(name, color)
        const dark = normal.map(({ className, prop, value }) => ({
            className: `${className}-dark`,
            prop,
            value: `darken(${value}, 10%)`,
        }))
        const light = normal.map(({ className, prop, value }) => ({
            className: `${className}-light`,
            prop,
            value: `lighten(${value}, 10%)`,
        }))
        return [].concat(light, dark)
    },

    responsive(rulesBlock) {
        const blockM = rulesBlock.map((rule) => {
            if (!rule.className) return rule
            const { className, prop, value } = rule
            return {
                className: `${className}-m`,
                breakpoint: '(min-width: 480px) and (max-width: 1024px)',
                prop,
                value,
            }
        })
        const blockL = rulesBlock.map((rule) => {
            if (!rule.className) return rule
            const { className, prop, value } = rule
            return {
                className: `${className}-l`,
                breakpoint: '(min-width: 1024px)',
                prop,
                value,
            }
        })
        return rulesBlock.concat(blockM, blockL)
    },
}

{'fraction_non_alphanumeric': 0.14853300733496333, 'fraction_numerical': 0.009168704156479218, 'mean_word_length': 1.5352439969016267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3694816', 'n_tokens_mistral': 923, 'n_tokens_neox': 872, 'n_words': 213}