Skip to main content
Neighborhood Design System v5.1.0

Typography

Global typography foundation tokens. These are the font sizes, weights, and line heights that are used throughout the design system.

Components set type through the text style tokens below. Each style maps to base family, size, weight and line height tokens, so brand themes can change a brand’s type without touching component styles. The Action and Eyebrow styles also set letter spacing.

.eyebrow {
  font-family: var(--nbhd-typography-eyebrow-fontFamily);
  font-size: var(--nbhd-typography-eyebrow-fontSize);
  font-weight: var(--nbhd-typography-eyebrow-fontWeight);
  letter-spacing: var(--nbhd-typography-eyebrow-letterSpacing);
  line-height: var(--nbhd-typography-eyebrow-lineHeight);
}

Typescale

  1. 10pxA Supercharged Growth Opportunity
  2. 11pxA Supercharged Growth Opportunity
  3. 12pxA Supercharged Growth Opportunity
  4. 13pxA Supercharged Growth Opportunity
  5. 14pxA Supercharged Growth Opportunity
  6. 16pxA Supercharged Growth Opportunity
  7. 18pxA Supercharged Growth Opportunity
  8. 20pxA Supercharged Growth Opportunity
  9. 24pxA Supercharged Growth Opportunity
  10. 28pxA Supercharged Growth Opportunity
  11. 32pxA Supercharged Growth Opportunity
  12. 34pxA Supercharged Growth Opportunity
  13. 36pxA Supercharged Growth Opportunity
  14. 40pxA Supercharged Growth Opportunity
  15. 46pxA Supercharged Growth Opportunity
  16. 48pxA Supercharged Growth Opportunity
  17. 55pxA Supercharged Growth Opportunity
  18. 64pxA Supercharged Growth Opportunity
  19. 88pxA Supercharged Growth Opportunity

Font Family

TokenCSS VariableValue
base.font.family.sansvar(--nbhd-base-font-family-sans)sans-serif

Font Size

TokenCSS VariableValue
base.font.size.10var(--nbhd-base-font-size-10)0.625rem (10px)
base.font.size.11var(--nbhd-base-font-size-11)0.6875rem (11px)
base.font.size.12var(--nbhd-base-font-size-12)0.75rem (12px)
base.font.size.13var(--nbhd-base-font-size-13)0.8125rem (13px)
base.font.size.14var(--nbhd-base-font-size-14)0.875rem (14px)
base.font.size.16var(--nbhd-base-font-size-16)1rem (16px)
base.font.size.18var(--nbhd-base-font-size-18)1.125rem (18px)
base.font.size.20var(--nbhd-base-font-size-20)1.25rem (20px)
base.font.size.24var(--nbhd-base-font-size-24)1.5rem (24px)
base.font.size.28var(--nbhd-base-font-size-28)1.75rem (28px)
base.font.size.32var(--nbhd-base-font-size-32)2rem (32px)
base.font.size.34var(--nbhd-base-font-size-34)2.125rem (34px)
base.font.size.36var(--nbhd-base-font-size-36)2.25rem (36px)
base.font.size.40var(--nbhd-base-font-size-40)2.5rem (40px)
base.font.size.46var(--nbhd-base-font-size-46)2.875rem (46px)
base.font.size.48var(--nbhd-base-font-size-48)3rem (48px)
base.font.size.55var(--nbhd-base-font-size-55)3.4375rem (55px)
base.font.size.64var(--nbhd-base-font-size-64)4rem (64px)
base.font.size.88var(--nbhd-base-font-size-88)5.5rem (88px)

Font Weight

TokenCSS VariableValue
base.font.weight.100var(--nbhd-base-font-weight-100)100
base.font.weight.200var(--nbhd-base-font-weight-200)200
base.font.weight.300var(--nbhd-base-font-weight-300)300
base.font.weight.400var(--nbhd-base-font-weight-400)400
base.font.weight.500var(--nbhd-base-font-weight-500)500
base.font.weight.600var(--nbhd-base-font-weight-600)600
base.font.weight.700var(--nbhd-base-font-weight-700)700
base.font.weight.800var(--nbhd-base-font-weight-800)800

Line Height

TokenCSS VariableValue
base.font.lineHeight.100var(--nbhd-base-font-lineHeight-100)1
base.font.lineHeight.120var(--nbhd-base-font-lineHeight-120)1.2
base.font.lineHeight.125var(--nbhd-base-font-lineHeight-125)1.25
base.font.lineHeight.130var(--nbhd-base-font-lineHeight-130)1.3
base.font.lineHeight.140var(--nbhd-base-font-lineHeight-140)1.4
base.font.lineHeight.150var(--nbhd-base-font-lineHeight-150)1.5
base.font.lineHeight.200var(--nbhd-base-font-lineHeight-200)2

Text Styles

StyleFamilySizeLarge screensWeightLine heightLetter spacing
Display var(--nbhd-typography-display-fontFamily) 3rem — 700 1.2 —
Headline var(--nbhd-typography-headline-fontFamily) 1.5rem 2.125rem 700 1.2 —
Subheading var(--nbhd-typography-subheading-fontFamily) 1.125rem — 700 1.3 —
Eyebrow var(--nbhd-typography-eyebrow-fontFamily) 0.8125rem — 700 1.4 5px
Body var(--nbhd-typography-body-fontFamily) 1rem — 400 1.5 —
Body Small var(--nbhd-typography-bodySmall-fontFamily) 0.875rem — 400 1 —
Label var(--nbhd-typography-label-fontFamily) 1rem — 600 1 —
Supporting var(--nbhd-typography-supporting-fontFamily) 0.8125rem — 400 1 —
Action var(--nbhd-typography-action-fontFamily) 0.6875rem 0.6875rem 700 1 2px
Control var(--nbhd-typography-control-fontFamily) 1.125rem — 500 1 —
Badge var(--nbhd-typography-badge-fontFamily) 0.625rem — 700 1 —
Esc
↑ ↓ to move↵ to open