Rhythm

Enforce vertical spacing rhythm. Ensures consistent vertical flow using a baseline grid approach.

dragoon0x f90ecb1 573 B Updated

File contents

/rhythm — Vertical Rhythm

Check that vertical spacing follows a rhythm:

  1. Define the baseline unit (typically line-height of body text, e.g., 24px)
  2. Every vertical space should be a multiple of this unit
  3. Heading margin-top and margin-bottom should maintain rhythm
  4. Section padding should be multiples of the baseline
  5. Images and other blocks should have heights that are multiples

Report violations and suggest corrections.

dragoon0x/optik/tree/main/source/skills/rhythm commit f90ecb1bff

Frequently asked questions

npx skillmds@latest add dragoon0x/rhythm