Skip to content

Search

Start typing to search.


Show all pages

Documentation

type

Prose

Styles long-form content written in plain HTML, such as articles and guides.

CSS onlyPlain classes; no JavaScript in any stack.

Usage

Put ca-prose on the element around the content. Headings, paragraphs, lists, links, quotes and code inside it are styled without classes.

Your first lesson

Your instructor picks you up at the address you chose. Bring your provisional licence and glasses if you need them.

  • Getting to know the car
  • Starting, steering and stopping
  • A short drive on quiet roads
Most students drive on a real road within twenty minutes.

Questions? Search for first lesson in the app.

HTML

Examples

Guidance and accessibility

When to use

  • Use prose for content from Markdown or a CMS, where you cannot add classes to every element.
  • Keep components out of prose, or give them their own classes; prose styles only plain elements.

Accessibility

  • Prose keeps lines near 70 characters and adds space between blocks, so long text is easy to follow.
  • Links are underlined, so they do not rely on color.
  • Every rule sits in :where(), so a utility on one element always wins.

Classes

Generated from the component contract. Parts use __, modifiers use --.

Classes of the prose component
ClassKindUse it for
ca-proseComponentReadable line length and styles for the HTML inside: headings, lists, links, quotes and code.

Skins

The same markup, dressed by each skin. Structure and behavior stay the same; only the look changes.

Base skin

Neutral grayscale starting point; product skins extend it and change what differs.

Your first lesson

Your instructor picks you up at the address you chose. Bring your provisional licence and glasses if you need them.

  • Getting to know the car
  • Starting, steering and stopping
  • A short drive on quiet roads
Most students drive on a real road within twenty minutes.

Questions? Search for first lesson in the app.

Calaca skin

The Calaca UI brand: hueso paper and tinta ink, cempasúchil marigold, rosa and jade.

Your first lesson

Your instructor picks you up at the address you chose. Bring your provisional licence and glasses if you need them.

  • Getting to know the car
  • Starting, steering and stopping
  • A short drive on quiet roads
Most students drive on a real road within twenty minutes.

Questions? Search for first lesson in the app.

Proof skin

Pilot skin pushed far from base: square, heavy, offset shadows, larger targets.

Your first lesson

Your instructor picks you up at the address you chose. Bring your provisional licence and glasses if you need them.

  • Getting to know the car
  • Starting, steering and stopping
  • A short drive on quiet roads
Most students drive on a real road within twenty minutes.

Questions? Search for first lesson in the app.

Crossview skin

The CrossView proofing table: cool ground, bond-paper sheets, rule-grey hairlines, one red mark.

Your first lesson

Your instructor picks you up at the address you chose. Bring your provisional licence and glasses if you need them.

  • Getting to know the car
  • Starting, steering and stopping
  • A short drive on quiet roads
Most students drive on a real road within twenty minutes.

Questions? Search for first lesson in the app.

Framework notes

Link the prebuilt stylesheet of your skin next to your brand theme. No build step.

HTML
<link rel="stylesheet" href="theme.css" />
<link rel="stylesheet" href="ca-base.css" />