What problem does it solve?
It prevents inconsistent or non-compliant Fusion UI styling by providing authoritative, machine-readable Equinor Design System rules for tokens, typography, spacing, elevation, icons, and portal layout zones.
Core Features & Use Cases
- Color token correctness: Enforces use of EDS CSS custom properties and prohibits raw hex/rgb/named colors for semantic UI layers.
- Typography compliance: Guides correct
variant usage via @equinor/eds-core-react and blocks manual font sizing or font-family overrides.
- Spacing and layout conventions: Standardizes padding/gap via EDS spacing tokens and aligns with Fusion Portal three-zone shell constraints.
- Elevation and icon rules: Directs when to use
Paper for elevation and how to render EDS icons safely with accessibility-friendly title.
Quick Start
Ask the agent to look up the required token and variant for your specific UI element (e.g., “Use the correct spacing and text/icon colors for a right-side detail panel in a Fusion Portal page, with hover and disabled states”).