Porsche Design System
You are currently viewing an earlier release of the Porsche Design System.Switch to the latest Porsche Design System documentation.
SearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
Font Tokens Font Family TokenDescriptionValuefontPorscheNextHolds the Porsche Next font family along with fallback fonts.'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif Font Size TokenDescriptionValuetypescale2XsHolds the 2x-small font size optimized for the Porsche Next typeface..75remtypescaleXsHolds the x-small font size optimized for the Porsche Next typeface..875remtypescaleSmHolds the small font size optimized for the Porsche Next typeface.1remtypescaleMdHolds the medium font size optimized for the Porsche Next typeface.clamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)typescaleLgHolds the large font size optimized for the Porsche Next typeface.clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)typescaleXlHolds the x-large font size optimized for the Porsche Next typeface.clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)typescale2XlHolds the 2x-large font size optimized for the Porsche Next typeface.clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem)typescale3XlHolds the 3x-large font size optimized for the Porsche Next typeface.clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem)typescale4XlHolds the 4x-large font size optimized for the Porsche Next typeface.clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem)typescale5XlHolds the 5x-large font size optimized for the Porsche Next typeface.clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem) Line Height TokenDescriptionValueleadingNormalHolds a dynamic default line height specifically optimized for the Porsche Next typeface.calc(6px + 2.125ex) Font Weight TokenDescriptionValuefontWeightNormalHolds the normal font weight optimized for the Porsche Next typeface.400fontWeightSemiboldHolds the semibold font weight optimized for the Porsche Next typeface.600fontWeightBoldHolds the bold font weight optimized for the Porsche Next typeface.700
Global settingsColor SchemeAll color tokens use the light-dark() CSS function. Set the theme via the CSS color-scheme property: light for light mode, dark for dark mode, or light dark to follow the user's system preference.LightDarkLight DarkDirectionThe dir global attribute in HTML changes the direction of text and other content within an element. It's most often used on the <html> tag to set the entire page's direction, which is crucial for supporting languages that are written from right to left (RTL), such as Arabic and Hebrew. For example, using <html dir="rtl"> makes the entire page display from right to left, adjusting the layout and text flow accordingly.LTR (left-to-right)RTL (right-to-left)Text ZoomTo ensure accessibility and comply with WCAG 2.2 AA standards, it is mandatory for web content to support text resizing up to at least 200% without loss of content or functionality. Using relative units like rem is a best practice for achieving this, as they allow the text to scale uniformly based on the user's browser settings.100%130%150%200%