Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ExamplesUsageAPI
Typography Table of Contents Classes Tailwind @utility CSS classDescription.prose-display-lgApplies the large variant of extra-large typography primarily to <h1> tags..prose-display-mdApplies the medium variant of extra-large typography primarily to <h1> tags..prose-display-smApplies the small variant of extra-large typography primarily to <h1> tags..prose-heading-2xlApplies the 2x-large heading typography variant primarily to <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags..prose-heading-xlApplies the x-large heading typography variant primarily to <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags..prose-heading-lgApplies the large heading typography variant primarily to <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags..prose-heading-mdApplies the medium heading typography variant primarily to <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags..prose-heading-smApplies the small heading typography variant primarily to <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags..prose-text-xlApplies the x-large text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags..prose-text-lgApplies the large text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags..prose-text-mdApplies the medium text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags..prose-text-smApplies the small text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags..prose-text-xsApplies the x-small text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags..prose-text-2xsApplies the 2x-small text typography variant primarily to <p>, <ul>, <ol>, <blockquote> tags. Variables Tailwind CSS variableTailwind CSS classDescription--font-porsche-next.font-porsche-nextApplies the Porsche Next font family along with fallback fonts.--font-weight-normal.font-normalApplies the regular font weight optimized for the Porsche Next typeface.--font-weight-semibold.font-semiboldApplies the semi-bold font weight optimized for the Porsche Next typeface.--font-weight-bold.font-boldApplies the bold font weight optimized for the Porsche Next typeface.--leading-normal.leading-normalApplies a dynamic default line height specifically optimized for the Porsche Next typeface.--text-2xs (--leading).text-2xsApplies the 2x-small font size and line height optimized for the Porsche Next typeface.--text-xs (--leading).text-xsApplies the x-small font size and line height optimized for the Porsche Next typeface.--text-sm (--leading).text-smApplies the small font size and line height optimized for the Porsche Next typeface.--text-md (--leading).text-mdApplies the medium font size and line height optimized for the Porsche Next typeface.--text-lg (--leading).text-lgApplies the large font size and line height optimized for the Porsche Next typeface.--text-xl (--leading).text-xlApplies the x-large font size and line height optimized for the Porsche Next typeface.--text-2xl (--leading).text-2xlApplies the 2x-large font size and line height optimized for the Porsche Next typeface.
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%