Foundations

Typography

KitFront starter kits include responsive body text, heading sizes, and line heights. Choose the tab that matches your starter.

Body font sizes

Bootstrap typography tokens are defined in assets/css/core.css.

ScreenTokenDefault
Large Desktop--kf-font-body-large-desktop18px
Desktop--kf-font-body-desktop18px
Tablet--kf-font-body-tablet17px
Mobile--kf-font-body-mobile16px

Heading sizes

Headings use responsive CSS variables for each breakpoint.

HeadingMobileTabletDesktopLarge Desktop
H140px45px50px50px
H232px36px40px40px
H324px28px32px32px
H422px24px28px28px
H520px22px24px24px
H618px20px20px20px

Heading tokens

Use this token pattern when you need to adjust one heading level for one breakpoint.

HeadingMobile TokenTablet TokenDesktop TokenLarge Desktop Token
H1--kf-font-h1-mobile--kf-font-h1-tablet--kf-font-h1-desktop--kf-font-h1-large-desktop
H2--kf-font-h2-mobile--kf-font-h2-tablet--kf-font-h2-desktop--kf-font-h2-large-desktop
H3--kf-font-h3-mobile--kf-font-h3-tablet--kf-font-h3-desktop--kf-font-h3-large-desktop
H4--kf-font-h4-mobile--kf-font-h4-tablet--kf-font-h4-desktop--kf-font-h4-large-desktop
H5--kf-font-h5-mobile--kf-font-h5-tablet--kf-font-h5-desktop--kf-font-h5-large-desktop
H6--kf-font-h6-mobile--kf-font-h6-tablet--kf-font-h6-desktop--kf-font-h6-large-desktop

Line heights

TextTokenDefault
Body--kf-line-height-body1.6
H1--kf-line-height-h11.2
H2--kf-line-height-h21.2
H3--kf-line-height-h31.3
H4--kf-line-height-h41.3
H5--kf-line-height-h51.4
H6--kf-line-height-h61.4

Customize typography

Update typography tokens in assets/css/core.css. All sections using global heading and body styles will follow the new scale.

Section Used

...

Sections copied so far!