$_("Font Sizes")
+$_("A 9-step t-shirt scale plus semantic tokens. Use semantic tokens in new code; primitives are escape hatches. Pick heading tokens by visual weight, not HTML element — \"--font-size-heading-md\" is a visual style, independent of
//etc.")
+
+
+ $_("Primitives")
+ $_("Raw scale steps. Prefer the semantic tokens below.")
+
+
+ --font-size-2xs
+ 0.6875rem · 11px
+ $_("The quick brown fox")
+
+
+ --font-size-xs
+ 0.75rem · 12px
+ $_("The quick brown fox")
+
+
+ --font-size-sm
+ 0.875rem · 14px
+ $_("The quick brown fox")
+
+
+ --font-size-base
+ 1rem · 16px
+ $_("The quick brown fox")
+
+
+ --font-size-md
+ 1.125rem · 18px
+ $_("The quick brown fox")
+
+
+ --font-size-lg
+ 1.5rem · 24px
+ $_("The quick brown fox")
+
+
+ --font-size-xl
+ 1.75rem · 28px
+ $_("The quick brown fox")
+
+
+ --font-size-2xl
+ 2rem · 32px
+ $_("The quick brown fox")
+
+
+ --font-size-3xl
+ 2.25rem · 36px
+ $_("The quick brown fox")
+
+
+
+
+
+ $_("Semantic — Headings")
+ $_("Visual heading hierarchy. Decoupled from HTML element: pick the heading level based on document outline, pick the token based on visual weight.")
+
+
+ --font-size-heading-xs
+ 14px
+ $_("Card titles, tiny section labels")
+
+
+ --font-size-heading-sm
+ 18px
+ $_("Small section headings")
+
+
+ --font-size-heading-md
+ 24px
+ $_("Section headings")
+
+
+ --font-size-heading-lg
+ 28px
+ $_("Page section headers")
+
+
+ --font-size-heading-xl
+ 32px
+ $_("Large page headings")
+
+
+ --font-size-heading-xxl
+ 36px
+ $_("Hero / banner")
+
+
+
+
+
+ $_("Semantic — Body")
+ $_("Paragraph text and prose.")
+
+
+ --font-size-body-small
+ 12px
+ $_("Small print, footnotes")
+
+
+ --font-size-body
+ 14px
+ $_("Default paragraph text")
+
+
+ --font-size-body-large
+ 16px
+ $_("Lead paragraph, prominent body")
+
+
+
+
+
+ $_("Semantic — UI")
+ $_("Controls, labels, and metadata.")
+
+
+ --font-size-meta
+ 12px
+ $_("Bylines, counts, timestamps")
+
+
+ --font-size-chip
+ 12px
+ $_("Pills, tags, badges")
+
+
+ --font-size-label
+ 14px
+ $_("Form labels")
+
+
+ --font-size-button
+ 14px
+ $_("Buttons, CTAs")
+
+
+ --font-size-code
+ 14px
+ const fox = "quick";
+
+
+
+
$_("Primitives")
+$_("Raw scale steps. Prefer the semantic tokens below.")
+--font-size-2xs
+ 0.6875rem · 11px
+ $_("The quick brown fox")
+ --font-size-xs
+ 0.75rem · 12px
+ $_("The quick brown fox")
+ --font-size-sm
+ 0.875rem · 14px
+ $_("The quick brown fox")
+ --font-size-base
+ 1rem · 16px
+ $_("The quick brown fox")
+ --font-size-md
+ 1.125rem · 18px
+ $_("The quick brown fox")
+ --font-size-lg
+ 1.5rem · 24px
+ $_("The quick brown fox")
+ --font-size-xl
+ 1.75rem · 28px
+ $_("The quick brown fox")
+ --font-size-2xl
+ 2rem · 32px
+ $_("The quick brown fox")
+ --font-size-3xl
+ 2.25rem · 36px
+ $_("The quick brown fox")
+ $_("Semantic — Headings")
+$_("Visual heading hierarchy. Decoupled from HTML element: pick the heading level based on document outline, pick the token based on visual weight.")
+--font-size-heading-xs
+ 14px
+ $_("Card titles, tiny section labels")
+ --font-size-heading-sm
+ 18px
+ $_("Small section headings")
+ --font-size-heading-md
+ 24px
+ $_("Section headings")
+ --font-size-heading-lg
+ 28px
+ $_("Page section headers")
+ --font-size-heading-xl
+ 32px
+ $_("Large page headings")
+ --font-size-heading-xxl
+ 36px
+ $_("Hero / banner")
+ $_("Semantic — Body")
+$_("Paragraph text and prose.")
+--font-size-body-small
+ 12px
+ $_("Small print, footnotes")
+ --font-size-body
+ 14px
+ $_("Default paragraph text")
+ --font-size-body-large
+ 16px
+ $_("Lead paragraph, prominent body")
+ $_("Semantic — UI")
+$_("Controls, labels, and metadata.")
+--font-size-meta
+ 12px
+ $_("Bylines, counts, timestamps")
+ --font-size-chip
+ 12px
+ $_("Pills, tags, badges")
+ --font-size-label
+ 14px
+ $_("Form labels")
+ --font-size-button
+ 14px
+ $_("Buttons, CTAs")
+ --font-size-code
+ 14px
+ const fox = "quick";
+