<commit_before>/**
 * Copyright IBM Corp. 2018, 2018
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

import { breakpoint, breakpoints, px, rem } from '@carbon/layout';
import { fluid } from './fluid';
import { fontFamilies } from './fontFamily';
import { fontWeights } from './fontWeight';
import { scale } from './scale';

export const caption01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const label01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const helperText01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontStyle: 'italic',
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const bodyShort01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(18),
  letterSpacing: px(0.16),
};

export const bodyLong01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(20),
  letterSpacing: px(0.16),
};

export const bodyShort02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(22),
  letterSpacing: 0,
};

export const bodyLong02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(24),
  letterSpacing: 0,
};

export const code01 = {
  fontFamily: fontFamilies.mono,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const code02 = {
  fontFamily: fontFamilies.mono,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(20),
  letterSpacing: px(0.32),
};

export const heading01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.semibold,
  lineHeight: rem(18),
  letterSpacing: px(0.16),
};

export const heading02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.semibold,
  lineHeight: rem(22),
  letterSpacing: 0,
};

export const heading03 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[4]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(26),
  letterSpacing: 0,
};

export const productiveHeading04 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[5]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(30),
  letterSpacing: 0,
};

export const productiveHeading05 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[7]),
  fontWeight: fontWeights.light,
  lineHeight: rem(40),
  letterSpacing: 0,
};

export const expressiveHeading04 = fluid({
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[5]),
  fontWeight: fontWeights.regular,
  lineHeight: '130%',
  letterSpacing: 0,
  breakpoints: {
    md: {
      fontSize: rem(scale[5]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.regular,
      lineHeight: rem(26),
      letterSpacing: 0,
    },
    lg: {
      fontSize: rem(scale[6]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '125%',
      letterSpacing: 0,
    },
    xlg: {
      fontSize: rem(scale[6]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '129%',
      letterSpacing: 0,
    },
    max: {
      fontSize: rem(scale[7]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '125%',
      letterSpacing: 0,
    },
  },
});

export const expressiveHeading05 = fluid({
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[6]),
  fontWeight: fontWeights.light,
  lineHeight: '129%',
  letterSpacing: 0,
  breakpoints: {
    md: {
      fontSize: rem(scale[8]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '122%',
      letterSpacing: 0,
    },
    lg: {
      fontSize: rem(scale[9]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '119%',
      letterSpacing: 0,
    },
    xlg: {
      fontSize: rem(scale[10]),
      fontFamily: fontFamilies.sans,<commit_msg>Update weights on certain headings (#230)<commit_after>/**
 * Copyright IBM Corp. 2018, 2018
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

import { breakpoint, breakpoints, px, rem } from '@carbon/layout';
import { fluid } from './fluid';
import { fontFamilies } from './fontFamily';
import { fontWeights } from './fontWeight';
import { scale } from './scale';

export const caption01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const label01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const helperText01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[0]),
  fontStyle: 'italic',
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const bodyShort01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(18),
  letterSpacing: px(0.16),
};

export const bodyLong01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(20),
  letterSpacing: px(0.16),
};

export const bodyShort02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(22),
  letterSpacing: 0,
};

export const bodyLong02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(24),
  letterSpacing: 0,
};

export const code01 = {
  fontFamily: fontFamilies.mono,
  fontSize: rem(scale[0]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(16),
  letterSpacing: px(0.32),
};

export const code02 = {
  fontFamily: fontFamilies.mono,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(20),
  letterSpacing: px(0.32),
};

export const heading01 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[1]),
  fontWeight: fontWeights.semibold,
  lineHeight: rem(18),
  letterSpacing: px(0.16),
};

export const heading02 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[2]),
  fontWeight: fontWeights.semibold,
  lineHeight: rem(22),
  letterSpacing: 0,
};

export const heading03 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[4]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(26),
  letterSpacing: 0,
};

export const productiveHeading04 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[5]),
  fontWeight: fontWeights.regular,
  lineHeight: rem(30),
  letterSpacing: 0,
};

export const productiveHeading05 = {
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[7]),
  fontWeight: fontWeights.light,
  lineHeight: rem(40),
  letterSpacing: 0,
};

export const expressiveHeading04 = fluid({
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[5]),
  fontWeight: fontWeights.regular,
  lineHeight: '130%',
  letterSpacing: 0,
  breakpoints: {
    md: {
      fontSize: rem(scale[5]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.regular,
      lineHeight: rem(26),
      letterSpacing: 0,
    },
    lg: {
      fontSize: rem(scale[6]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.regular,
      lineHeight: '125%',
      letterSpacing: 0,
    },
    xlg: {
      fontSize: rem(scale[6]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.regular,
      lineHeight: '129%',
      letterSpacing: 0,
    },
    max: {
      fontSize: rem(scale[7]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.regular,
      lineHeight: '125%',
      letterSpacing: 0,
    },
  },
});

export const expressiveHeading05 = fluid({
  fontFamily: fontFamilies.sans,
  fontSize: rem(scale[6]),
  fontWeight: fontWeights.regular,
  lineHeight: '129%',
  letterSpacing: 0,
  breakpoints: {
    md: {
      fontSize: rem(scale[8]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '122%',
      letterSpacing: 0,
    },
    lg: {
      fontSize: rem(scale[9]),
      fontFamily: fontFamilies.sans,
      fontWeight: fontWeights.light,
      lineHeight: '119%',
      letterSpacing: 0,
    },
    xlg: {
      fontSize: rem(scale[10]),
      fontFamily: fontFamilies.sans,
{'fraction_non_alphanumeric': 0.13432666060054596, 'fraction_numerical': 0.03560054595086442, 'mean_word_length': 3.8260153677277717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4010304', 'n_tokens_mistral': 3302, 'n_tokens_neox': 3099, 'n_words': 672}