optical-padding
Compute vertical padding for UI controls in the Equinor Design System so the control lands on the 4px grid while keeping an honest line-height. Use when styling any scanned control — button, chip, input, tab, badge, table header — or when a padding value looks "wrong" because it is not a multiple of 4. Do NOT use for prose; read text uses text-box trim instead.
Source facts
- Repository
- equinor/component-contracts
- Last source activity
- September 14, 2026 at 08:41
- Detected SKILL.md language
- English
- Stars
- 0
- Forks
- 1
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
| name | optical-padding |
|---|---|
| description | Compute vertical padding for UI controls in the Equinor Design System so the control lands on the 4px grid while keeping an honest line-height. Use when styling any scanned control — button, chip, input, tab, badge, table header — or when a padding value looks "wrong" because it is not a multiple of 4. Do NOT use for prose; read text uses text-box trim instead. |