border-divider-patterns
Installation
SKILL.md
Border Divider Patterns
Separation Methods
| Method | When | Example |
|---|---|---|
| White space | Default, sufficient for most cases | Section gaps |
| Background change | Large sections, obvious grouping | Alternating row colors |
| Border/line | Tight spaces, clear delineation needed | Table rows, list items |
| Shadow | Overlapping elements, elevation | Cards on a surface |
| Color band | Strong visual break, decorative | Section dividers |
Border Rules
- 1px is usually enough. 2px for emphasis only.
- Use semantic color tokens. --color-border-default, --color-border-strong.
- Don't border everything. White space often works better.
- Consistent style. Solid throughout, or dashed for a specific meaning (drag targets, optional areas).
- Radius matches the system. Don't mix sharp and rounded borders.