Skip to content

Body

Base styles applied directly to the <body> element. No class required.

Sets font-family, font-size, line-height, text color, background, and resets margin/padding.


Styling

PropertyValue
font-familyvar(--font-family-base)
font-sizevar(--font-size-base)
line-heightvar(--line-height-normal)
colorvar(--color-text)
background-colorvar(--color-background)
margin0
padding0

Preview

This text inherits body base styles: font-family, font-size, line-height, color, and background.


Usage

These styles are applied automatically — no class or configuration needed. Override with utility classes or page-level styles as needed:

html
<body>
  <!-- All text inherits base typography from body -->
  <p>Hello world</p>
</body>