proseHeading5XlStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeading4XlStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeading3XlStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeading2XlStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeadingXlStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeadingLgStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeadingMdStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeadingSmStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeadingXsStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseHeading2XsStyle<h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.proseText5XlStyle<p>, <ul>, <ol>, <blockquote> tags.proseText4XlStyle<p>, <ul>, <ol>, <blockquote> tags.proseText3XlStyle<p>, <ul>, <ol>, <blockquote> tags.proseText2XlStyle<p>, <ul>, <ol>, <blockquote> tags.proseTextXlStyle<p>, <ul>, <ol>, <blockquote> tags.proseTextLgStyle<p>, <ul>, <ol>, <blockquote> tags.proseTextMdStyle<p>, <ul>, <ol>, <blockquote> tags.proseTextSmStyle<p>, <ul>, <ol>, <blockquote> tags.proseTextXsStyle<p>, <ul>, <ol>, <blockquote> tags.proseText2XsStyle<p>, <ul>, <ol>, <blockquote> tags.fontPorscheNext'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-seriffontPorscheNextJa'Porsche Next', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Arial Narrow', Arial, sans-seriffontPorscheNextKo'Porsche Next', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Arial Narrow', Arial, sans-seriffontPorscheNextZhHans'Porsche Next', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Arial Narrow', Arial, sans-seriffontPorscheNextZhHant'Porsche Next', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', 'Arial Narrow', Arial, sans-seriffontWeightNormal400fontWeightSemibold600fontWeightBold700leadingNormalcalc(6px + 2.125ex)typescale2Xs.75remtypescaleXs.875remtypescaleSm1remtypescaleMdclamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)typescaleLgclamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)typescaleXlclamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)typescale2Xlclamp(1.6rem, 1.56vw + 1.29rem, 3.16rem)typescale3Xlclamp(1.8rem, 2.41vw + 1.32rem, 4.21rem)typescale4Xlclamp(2.03rem, 3.58vw + 1.31rem, 5.61rem)typescale5Xlclamp(2.28rem, 5.2vw + 1.24rem, 7.48rem)getCJKFontFamilyStyle() helper on any style object that sets fontFamily to automatically swap to the
locale-specific Porsche Next font stack for Simplified Chinese, Traditional Chinese, Japanese or
Korean based on the nearest lang attribute (typically set on <html>).getCJKFontFamilyStylelang attribute.import { style } from '@vanilla-extract/css';
import {
fontPorscheNext,
getCJKFontFamilyStyle,
} from '@porsche-design-system/components-{js|angular|react|vue}/vanilla-extract';
export const headline = style({
fontFamily: fontPorscheNext,
...getCJKFontFamilyStyle(),
});
proseHeading* and proseText* style objects already include this :lang() logic, so when you compose styles with
them you can skip the spread. Reach for the per-language tokens (fontPorscheNextZhHans, …) only when you intentionally
need to pin a specific CJK family regardless of the document's language.