{"componentChunkName":"component---src-pages-guidelines-typography-overview-mdx","path":"/guidelines/typography/overview/","result":{"pageContext":{"frontmatter":{"label":"Typography can help create clear hierarchies, organize information, and guide users through a product or experience.","title":"Typography","description":"Typography can help create clear hierarchies, organize information, and guide users through a product or experience.","tabs":["Overview","Productive","Expressive"]},"relativePagePath":"/guidelines/typography/overview.mdx","titleType":"prepend","MdxNode":{"id":"04e2634b-308d-5264-85d1-348c80107ae9","children":[],"parent":"d839ac1d-ae1c-5452-80e1-7678f03e2e70","internal":{"content":"---\nlabel: Typography can help create clear hierarchies, organize information, and guide users through a product or experience.\ntitle: Typography\ndescription: Typography can help create clear hierarchies, organize information, and guide users through a product or experience.\ntabs: ['Overview', 'Productive', 'Expressive']\n---\n\nimport TypeScaleTable from '../../../../src/components/TypeScaleTable';\nimport TypeWeight from '../../../../src/components/TypeWeight';\n\n<PageDescription>\n\nTypography can help create clear hierarchies, organize information, and guide\nusers through a product or experience.\n\n</PageDescription>\n\n<AnchorLinks>\n\n<AnchorLink>Type tokens and sets</AnchorLink>\n<AnchorLink>Typeface: IBM Plex</AnchorLink>\n<AnchorLink>Scale</AnchorLink>\n<AnchorLink>Style</AnchorLink>\n<AnchorLink>Type color</AnchorLink>\n\n</AnchorLinks>\n\n## Resources\n\n<Row className=\"resource-card-group\">\n<Column colMd={4} colLg={4} noGutterSm>\n  <ResourceCard\n    subTitle=\"Get the latest IBM Plex™ download on GitHub\"\n    href=\"https://github.com/ibm/plex/releases/latest\"\n    >\n\n<MdxIcon name=\"github\" />\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4}  noGutterSm>\n  <ResourceCard\n    subTitle=\"Visit the IBM Plex™ website to learn more\"\n    href=\"https://www.ibm.com/plex/\"\n    >\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4} noGutterSm>\n  <ResourceCard\n    subTitle=\"Elements package: Type\"\n    href=\"https://github.com/carbon-design-system/carbon/tree/master/packages/type\"\n    >\n\n<MdxIcon name=\"github\" />\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4}  noGutterSm>\n  <ResourceCard\n    subTitle=\"Type package preview\"\n    href=\"https://github.com/carbon-design-system/carbon/tree/master/packages/type\"\n    >\n\n<MdxIcon name=\"codesandbox\" />\n\n </ResourceCard>\n</Column>\n</Row>\n\n<br />\n\n<br />\n\n## Type tokens and sets\n\nCarbon uses type tokens and themes to manage typography. Type tokens are pre-set configurations of typographic elements such as font size, weight, or leading (line height) that are specifically calibrated for use alongside [IBM Plex](http://ibm.com/plex) in product. Selecting the appropriate type style is determined by layout or template structure. Layouts may have several levels of architecture or areas that require varying typographic hierarchies.\n\n### Productive vs. Expressive type sets\n\nProductive type is reserved for use in web-based product design, where the user needs to focus on tasks. The Productive styles are curated to create a series of clear user expectations about hierarchy. Expressive type, on the other hand, allows for a more dramatic, graphic use of type in editorial and marketing design — which many users would find distracting in product.\n\nThere are two heading sets, one Productive and one Expressive. The difference between the Productive and Expressive styles is mainly evident in the Headings. Aside from the token names, which are specifically calibrated for product vs. editorial designers (e.g. $label-01 vs. $caption-01) — the Supporting and Body styles have the same values in both the Productive and Expressive sets.\n\n## Typeface: IBM Plex\n\nCarbon uses the open-source typeface **IBM Plex**. It has been carefully designed to meet IBM's needs as a global technology company and reflect IBM's spirit, beliefs, and design principles. IBM Plex can be accessed and downloaded from the [Plex GitHub Repo](https://github.com/ibm/plex).\n\n<TypeWeight type=\"types\" />\n\n### Sans-serif font stack\n\n```scss\nfont-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;\n```\n\n### Serif font stack\n\n```scss\nfont-family: 'IBM Plex Serif', 'Georgia', Times, serif;\n```\n\n### Mono font stack\n\n```scss\nfont-family: 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono',\n  'Bitstream Vera Sans Mono', Courier, monospace;\n```\n\n## Scale\n\nThe IBM type scale is built on a single equation. The formula for our scale was created to provide hierarchy for all types of experiences. The formula assumes that y₀=12 px:\n\n<TypeScaleTable />\n\n```\nXn = Xn-1 + {INT[(n-2)/4] + 1} * 2\nXn: step n type size Xn-1: step n-1 type size\n```\n\n## Style\n\nTypography creates purposeful texture, guiding users to read and understand the hierarchy of information. The right typographic treatment and the controlled usage of type styles helps manage the display of content, keeping it useful, simple, and effective.\n\n### Weights\n\nFont weight is an important typographic variable that can add emphasis and differentiate content hierarchy. Font weight and size pairings must be carefully balanced. A bold weight will always have more emphasis than a lighter weight font of the same size. However, a lighter weight font can rank hierarchically higher than a bold font if the lighter weight type size is significantly larger than the bold one.\n\nWe suggest using IBM Plex Light, Regular, and SemiBold for digital experiences. The semibold weight is ideal for section headers, but should not be used for long text.\n\n<TypeWeight />\n\n### Italic\n\nEach weight has an italic style, which should only be used when you need to emphasize certain words in a sentence (titles of works, technical terms, names of devices, captions, etc.).\n\n<TypeWeight type=\"italic\" />\n\n## Type color\n\nType color should be carefully considered, with legibility and accessibility as paramount concerns. Keep type color neutral in running text. Use primary blue for primary actions.\n\n<DoDontRow>\n<DoDont>\n\n![Neutral color for text](images/Typography_overview_Type-color-1.svg)\n\n</DoDont>\n<DoDont type=\"dont\">\n\n![I'm a magenta sentence for no reason](images/Typography_overview_Type-color-2.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont color=\"dark\">\n\n![Neutral color for text](images/Typography_overview_Type-color-3.svg)\n\n</DoDont>\n<DoDont type=\"dont\" color=\"dark\">\n\n![Color is not for decoration](images/Typography_overview_Type-color-4.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont caption=\"Core blue colors are used for text links and primary actions\">\n\n![Link with icon](images/Typography_overview_Type-color-5.svg)\n\n</DoDont>\n<DoDont caption=\"Secondary actions use Gray 100 and icons\">\n\n![Download with icon](images/Typography_overview_Type-color-6.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont caption=\"Other use cases for colored type are code snippets, warnings, alerts, etc.\">\n\n![Oops, something went wrong! colored text](images/Typography_overview_Type-color-7.svg)\n\n</DoDont>\n<DoDont>\n\n![Code snippet with colored highlight type](images/Typography_overview_Type-color-8.svg)\n\n</DoDont>\n</DoDontRow>\n","type":"Mdx","contentDigest":"a0c4494665457396198f66c2b50914cf","counter":1671,"owner":"gatsby-plugin-mdx"},"frontmatter":{"title":"Typography","label":"Typography can help create clear hierarchies, organize information, and guide users through a product or experience.","description":"Typography can help create clear hierarchies, organize information, and guide users through a product or experience.","tabs":["Overview","Productive","Expressive"]},"exports":{},"rawBody":"---\nlabel: Typography can help create clear hierarchies, organize information, and guide users through a product or experience.\ntitle: Typography\ndescription: Typography can help create clear hierarchies, organize information, and guide users through a product or experience.\ntabs: ['Overview', 'Productive', 'Expressive']\n---\n\nimport TypeScaleTable from '../../../../src/components/TypeScaleTable';\nimport TypeWeight from '../../../../src/components/TypeWeight';\n\n<PageDescription>\n\nTypography can help create clear hierarchies, organize information, and guide\nusers through a product or experience.\n\n</PageDescription>\n\n<AnchorLinks>\n\n<AnchorLink>Type tokens and sets</AnchorLink>\n<AnchorLink>Typeface: IBM Plex</AnchorLink>\n<AnchorLink>Scale</AnchorLink>\n<AnchorLink>Style</AnchorLink>\n<AnchorLink>Type color</AnchorLink>\n\n</AnchorLinks>\n\n## Resources\n\n<Row className=\"resource-card-group\">\n<Column colMd={4} colLg={4} noGutterSm>\n  <ResourceCard\n    subTitle=\"Get the latest IBM Plex™ download on GitHub\"\n    href=\"https://github.com/ibm/plex/releases/latest\"\n    >\n\n<MdxIcon name=\"github\" />\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4}  noGutterSm>\n  <ResourceCard\n    subTitle=\"Visit the IBM Plex™ website to learn more\"\n    href=\"https://www.ibm.com/plex/\"\n    >\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4} noGutterSm>\n  <ResourceCard\n    subTitle=\"Elements package: Type\"\n    href=\"https://github.com/carbon-design-system/carbon/tree/master/packages/type\"\n    >\n\n<MdxIcon name=\"github\" />\n\n  </ResourceCard>\n</Column>\n<Column colMd={4} colLg={4}  noGutterSm>\n  <ResourceCard\n    subTitle=\"Type package preview\"\n    href=\"https://github.com/carbon-design-system/carbon/tree/master/packages/type\"\n    >\n\n<MdxIcon name=\"codesandbox\" />\n\n </ResourceCard>\n</Column>\n</Row>\n\n<br />\n\n<br />\n\n## Type tokens and sets\n\nCarbon uses type tokens and themes to manage typography. Type tokens are pre-set configurations of typographic elements such as font size, weight, or leading (line height) that are specifically calibrated for use alongside [IBM Plex](http://ibm.com/plex) in product. Selecting the appropriate type style is determined by layout or template structure. Layouts may have several levels of architecture or areas that require varying typographic hierarchies.\n\n### Productive vs. Expressive type sets\n\nProductive type is reserved for use in web-based product design, where the user needs to focus on tasks. The Productive styles are curated to create a series of clear user expectations about hierarchy. Expressive type, on the other hand, allows for a more dramatic, graphic use of type in editorial and marketing design — which many users would find distracting in product.\n\nThere are two heading sets, one Productive and one Expressive. The difference between the Productive and Expressive styles is mainly evident in the Headings. Aside from the token names, which are specifically calibrated for product vs. editorial designers (e.g. $label-01 vs. $caption-01) — the Supporting and Body styles have the same values in both the Productive and Expressive sets.\n\n## Typeface: IBM Plex\n\nCarbon uses the open-source typeface **IBM Plex**. It has been carefully designed to meet IBM's needs as a global technology company and reflect IBM's spirit, beliefs, and design principles. IBM Plex can be accessed and downloaded from the [Plex GitHub Repo](https://github.com/ibm/plex).\n\n<TypeWeight type=\"types\" />\n\n### Sans-serif font stack\n\n```scss\nfont-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;\n```\n\n### Serif font stack\n\n```scss\nfont-family: 'IBM Plex Serif', 'Georgia', Times, serif;\n```\n\n### Mono font stack\n\n```scss\nfont-family: 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono',\n  'Bitstream Vera Sans Mono', Courier, monospace;\n```\n\n## Scale\n\nThe IBM type scale is built on a single equation. The formula for our scale was created to provide hierarchy for all types of experiences. The formula assumes that y₀=12 px:\n\n<TypeScaleTable />\n\n```\nXn = Xn-1 + {INT[(n-2)/4] + 1} * 2\nXn: step n type size Xn-1: step n-1 type size\n```\n\n## Style\n\nTypography creates purposeful texture, guiding users to read and understand the hierarchy of information. The right typographic treatment and the controlled usage of type styles helps manage the display of content, keeping it useful, simple, and effective.\n\n### Weights\n\nFont weight is an important typographic variable that can add emphasis and differentiate content hierarchy. Font weight and size pairings must be carefully balanced. A bold weight will always have more emphasis than a lighter weight font of the same size. However, a lighter weight font can rank hierarchically higher than a bold font if the lighter weight type size is significantly larger than the bold one.\n\nWe suggest using IBM Plex Light, Regular, and SemiBold for digital experiences. The semibold weight is ideal for section headers, but should not be used for long text.\n\n<TypeWeight />\n\n### Italic\n\nEach weight has an italic style, which should only be used when you need to emphasize certain words in a sentence (titles of works, technical terms, names of devices, captions, etc.).\n\n<TypeWeight type=\"italic\" />\n\n## Type color\n\nType color should be carefully considered, with legibility and accessibility as paramount concerns. Keep type color neutral in running text. Use primary blue for primary actions.\n\n<DoDontRow>\n<DoDont>\n\n![Neutral color for text](images/Typography_overview_Type-color-1.svg)\n\n</DoDont>\n<DoDont type=\"dont\">\n\n![I'm a magenta sentence for no reason](images/Typography_overview_Type-color-2.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont color=\"dark\">\n\n![Neutral color for text](images/Typography_overview_Type-color-3.svg)\n\n</DoDont>\n<DoDont type=\"dont\" color=\"dark\">\n\n![Color is not for decoration](images/Typography_overview_Type-color-4.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont caption=\"Core blue colors are used for text links and primary actions\">\n\n![Link with icon](images/Typography_overview_Type-color-5.svg)\n\n</DoDont>\n<DoDont caption=\"Secondary actions use Gray 100 and icons\">\n\n![Download with icon](images/Typography_overview_Type-color-6.svg)\n\n</DoDont>\n</DoDontRow>\n\n<DoDontRow>\n<DoDont caption=\"Other use cases for colored type are code snippets, warnings, alerts, etc.\">\n\n![Oops, something went wrong! colored text](images/Typography_overview_Type-color-7.svg)\n\n</DoDont>\n<DoDont>\n\n![Code snippet with colored highlight type](images/Typography_overview_Type-color-8.svg)\n\n</DoDont>\n</DoDontRow>\n","fileAbsolutePath":"/zeit/3f757860/src/pages/guidelines/typography/overview.mdx"}}}}