Skip to content
Halorav0.1.0

Components

Section heading

The three-part heading every section starts with.

Left aligned#

Projects

Things I built

A few products and experiments, from side projects to client work.

HTML
<div class="ha-section-heading">
  <p class="ha-eyebrow">Projects</p>
  <h2 class="ha-h1">Things I built</h2>
  <p class="ha-lede">A few products and experiments, from side projects to client work.</p>
</div>

Centered#

Skills

What I work with

Tools I reach for every week.

HTML
<div class="ha-section-heading ha-section-heading--center">
  <p class="ha-eyebrow ha-eyebrow--plain">Skills</p>
  <h2 class="ha-h1">What I work with</h2>
  <p class="ha-lede">Tools I reach for every week.</p>
</div>

Type roles#

Display

Heading 1

Heading 2

Heading 3

Lede, 18px or more.

Body, 16px.

Small, 15px.

Caption, 13px at weight 500, for metadata.

HTML
<p class="ha-display">Display</p>
<p class="ha-h1">Heading 1</p>
<p class="ha-h2">Heading 2</p>
<p class="ha-h3">Heading 3</p>
<p class="ha-lede">Lede, 18px or more.</p>
<p class="ha-body">Body, 16px.</p>
<p class="ha-small">Small, 15px.</p>
<p class="ha-caption">Caption, 13px at weight 500, for metadata.</p>

These classes set the look only. Choose the element for the document outline: one h1 per page, then h2 and h3 in order.

ClassPurpose
ha-sectionTop padding of --ha-section between landing sections.
ha-section-heading, --centerThe stack.
ha-eyebrow, --plainMono label. Uppercase by default.
ha-display, ha-h1, ha-h2, ha-h3, ha-lede, ha-body, ha-small, ha-captionType roles.
ha-hlGradient highlight for a word in a heading.

Do

  • Keep the eyebrow to a few words.
  • Let headings balance. They use text-wrap: balance.

Don't

  • Use faint for the lede. Use muted.
  • Put a gradient highlight on more than a word or two.

Edit this page on GitHub

Type to search.