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.
Quellinformationen
equinor
Repository equinor/component-contracts
- Letzte Quellaktivität
- 14. September 2026 um 08:41
- Erkannte Sprache von SKILL.md
- Englisch
- Sterne
- 0
- Forks
- 1
Installationsoptionen
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
SKILL.md wird angezeigt
| 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. |