Rules

There are over 40 rules configured in Stylelint Polaris to help you avoid errors and follow stylistic and non-stylistic conventions while building for the Shopify admin. These rules are grouped into categories that help us measure the Polaris design system's coverage in the Shopify admin code base.

Border

Color

Conventions

Layout

Legacy

Media queries

Motion

Shadow

Space

Typography

Z-index

    On this page