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.

Colors

Conventions

Depth

Layout

Legacy

Media queries

Motion

Shape

Spacing

Typography

Z-index