extends ../../layouts/LayoutComponent include ../../mixins/components/Typography append variables - var pageHeader = { title: 'Typography', description: 'Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.', url: `https://getbootstrap.com/docs/${bootstrapVersion}/content/typography/`, linkText: 'Typography on Bootstrap' } block component +PageHeader(pageHeader) +ComponentCard({ title: 'Font Family', descriptionEl: `

You have three font-family helper classes available to use.

`, anchor: true }).mb-3 +TypographyFontFamilyDemo +ComponentCard({ title: 'Headings', descriptionEl:`

All HTML headings, h1 through h6, are available.

`, anchor: true }).mb-3 +TypographyHeadingDemo +ComponentCard({ title: 'Headings with classes', descriptionEl: `

.h1 through .h6 classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.

`, anchor: true }).mb-3 +TypographyHeadingClassDemo +ComponentCard({ title: 'Customizing headings', descriptionEl: `

Use the included utility classes to recreate the small secondary heading text from Bootstrap 3.

`, anchor: true }).mb-3 +TypographyCustomizeHeadingDemo +ComponentCard({ title: 'Font Weights', anchor: true }).mb-3 +TypographyFontWeightsDemo +ComponentCard({ title: 'Display headings', descriptionEl: `

Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading —a larger, slightly more opinionated heading style.

`, anchor: true }).mb-3 +TypographyDisplayHeadingDemo +ComponentCard({ title: 'Colors', descriptionEl: `

Use the following colors to change the text color

`, anchor: true }).mb-3 +TypographyColorsDemo +ComponentCard({ title: 'Responsive classes', descriptionEl: `

If you want different sizes of fonts, you may use the following classes. If you want responsive fonts size, use fs-{sm|md|lg|xl|xxl}-{value} classes.

`, anchor: true }).mb-3 +TypographySizeDemo +ComponentCard({ title: 'Text Transformation', descriptionEl: `

Transform text in components with text capitalization classes.

`, anchor: true }).mb-3 +TextTransformationDemo +ComponentCard({ title: 'Lead', descriptionEl: `

Make a paragraph stand out by adding .lead

`, anchor: true }).mb-3 +TypographyLeadDemo +ComponentCard({ title: 'Dropcap', descriptionEl: `

Make a paragraph stand out by adding .dropcap class.

`, anchor: true, descriptionClass:'mt-2' }) +TypographyDropcapDemo