Solarus Design system
Updated · 20 Nov 2026 solarus.run
Base · Layout

Section

A block of a screen: a header row with the ringed section title, then its content. Sections are separated by whitespace, not rules (Law 3 note).

Notes

  • .section (margin-top gap × d) > .sec-h (baseline row) > h2.sec-t (19px / 500, the orange ring — Law 1) + .sec-n note pushed right (11.5px, faint: counts and context, never essential text).
  • .kv is the key/value grid used in cards and drawers (150px keys in faint, 12.5px).
  • Consumer provides the title, the note and the content.
  • Not used in the Solarus app. Each canvas block is a Place with an uppercase label.

Code

/* HTML classes · bundle.css */
.section
.sec-h
.sec-t
.sec-n