index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/design/sounds.mdx | ---
title: Sounds
description: We use sound to communicate information and to enhance how merchants experience the Shopify admin. Sound patterns make interactions easier and more predictable.
order: 11
keywords:
- audio
- sonic
- noise
icon: SoundMajor
---

At Shopify, we often s... | 627 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/getting-started/index.mdx | ---
title: Getting Started
navTitle: Getting started
description: 'Polaris is the design system for the Shopify admin. If you’re just starting out with Polaris, here’s a list of recommended resources and guidance to get you started.'
showTOC: true
keywords:
- about
- polaris
- design system
- system
- getting... | 628 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/getting-started/polaris-101.mdx | ---
title: Polaris 101
description: The Polaris design system is used by designers and developers to build world-class Shopify admin experiences.
keywords:
- polaris
- shopify admin
order: 0
---
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
## What’s the Shopify admin?
Merchants set up their stor... | 629 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns-legacy/loading.mdx | ---
title: Loading
description: Navigating the Shopify admin should be fast, meaningful, and focused. Intentional loading states deliver a continuous flow for merchants.
icon: RefreshMajor
noIndex: true
url: /patterns-legacy/loading
keywords:
- page loading
- loading
- load
- performance
- web performance
-... | 630 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns-legacy/new-badge.mdx | ---
title: New badge
description: The New badge can be used to inform merchants about the release of a feature that creates new value. It should be used sparingly and for a short time frame.
icon: StarFilledMinor
noIndex: true
url: /patterns-legacy/new-badge
keywords:
- new badge
- new features
- new feature anno... | 631 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns-legacy/pickers.mdx | ---
title: Pickers
description: Picker experiences help merchants browse, find, and select from multiple options. Use them for selecting locations, customer segments, and more.
icon: LocationMajor
noIndex: true
url: /patterns-legacy/pickers
keywords:
- customer segments
- locations
- location picker
- multisele... | 632 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns-legacy/text-fields.mdx | ---
title: Text fields
description: Text fields combine the field label (the title) and the input area. Inputs can vary from typed text to URLs to date pickers.
icon: FormsMajor
noIndex: true
url: /patterns-legacy/text-fields
keywords:
- text fields
- search
- placeholder text
---
Text fields can be grouped in a... | 633 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/index.mdx | ---
title: Patterns
description: Preferred solutions to common merchant goals in the admin.
icon: BehaviorMajor
order: 6
newSection: true
---
<Stack gap="800">
<div>
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<StatusBanner status={frontmatter.status}>
The pattern documentation... | 634 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/variant.md.template | ---
title: {title - optional when only 1 variant}
slug: {slug - optional when only 1 variant}
hideFromNav: true
---
<!-- Optional when only 1 variant -->
{description}
<HowItHelps>
## How it helps merchants
{image}
{ordered list}
<DefinitionTable>
### Use when merchants need to:
<!-- Use the Description List fo... | 635 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/app-settings-layout/index.mdx | ---
title: App settings layout
description: Scan and find groups of settings in apps
lede: Lets merchants scan and find groups of settings in apps.
url: /patterns/app-settings-layout
previewImg: /images/patterns/app-settings-layout/pattern-thumbnail-app-settings.png
githubDiscussionsLink: https://github.com/Shopify/pol... | 636 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/app-settings-layout | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/app-settings-layout/variants/default.mdx | ---
hideFromNav: true
---
<HowItHelps>
## How it helps merchants

1. In the left column, glanceable labels and descriptions are listed to make it easier for merchants to scan the page and quickly find what they a... | 637 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/date-picking/index.mdx | ---
title: Date picking
description: Select a date or a date range
lede: Lets merchants select a date or a date range
url: /patterns/date-picking
previewImg: /images/patterns/date-picking/pattern-thumbnail-date-picking.png
githubDiscussionsLink: https://github.com/Shopify/polaris/discussions/7853
variants:
- 'variant... | 638 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/date-picking | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/date-picking/variants/date-list.mdx | ---
title: Date list
slug: date-list
hideFromNav: true
---
This enables merchants to select a date or a date range from a list of preset dates.
<HowItHelps>
## How it helps merchants

1. Providing multiple ways to select a date range gives merchan... | 640 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/date-picking | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/date-picking/variants/single-date.mdx | ---
title: Single date
slug: single-date
hideFromNav: true
---
This enables merchants to type a specific date or pick it from a calendar.
<HowItHelps>
## How it helps merchants

1. The text input gives merchant... | 641 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/new-features/index.mdx | ---
title: New features
description: Highlight new features for merchants
lede: Help merchants discover new and impactful features.
url: /patterns/new-features
previewImg: /images/patterns/new-feature/new-feature-cover.png
githubDiscussionsLink: https://github.com/Shopify/polaris/discussions/6751
variants:
- 'variant... | 642 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/new-features | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/new-features/variants/default.mdx | ---
hideFromNav: true
---
As the Shopify admin UI continues to evolve, it's natural for teams to want to draw attention to new features and improvements. However, we strongly advise against using "new" badges or blue pips to highlight these additions within individual sections like Products, Orders, and Customers.
##... | 643 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-details-layout/index.mdx | ---
title: Resource details layout
description: Create, view, and edit resource objects
lede: Lets merchants create, view, and edit resource objects.
url: /patterns/resource-details-layout
previewImg: /images/patterns/resource-details-layout/pattern-thumbnail-resource-details.png
githubDiscussionsLink: https://github.c... | 644 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-details-layout | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-details-layout/variants/default.mdx | ---
hideFromNav: true
---
<HowItHelps>
## How it helps merchants

1. The page header provides easy access to actions and navigation. It spans the full width of the page to show merchants that these actions represent the... | 645 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-index-layout/index.mdx | ---
title: Resource index layout
description: Organize and take action on resource objects
lede: Lets merchants organize and take action on resource objects.
url: /patterns/resource-index-layout
previewImg: /images/patterns/resource-index-layout/pattern-thumbnail-resource-index.png
githubDiscussionsLink: https://github... | 646 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-index-layout | petrpan-code/Shopify/polaris/polaris.shopify.com/content/patterns/resource-index-layout/variants/default.mdx | ---
hideFromNav: true
---
<HowItHelps>
## How it helps merchants

1. The resource index layout is based on a single column to create a clear top-to-bottom hierarchy of tasks and to provide horizontal space for resource data... | 647 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/index.mdx | ---
title: Tools
description: Extensions, plugins, and other tools to help build with Polaris.
icon: ToolsMajor
order: 11
---
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RichCardGrid cards={posts} category="tools" />
| 648 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/polaris-for-vscode.mdx | ---
title: Polaris for VS Code
navTitle: VS Code
description: Official VS Code extension for building with the Shopify Polaris design system.
icon: HintMajor
order: 1
---
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<picture>
<source
srcSet="/images/tools/polaris-for-vscode/polaris-for-vscode-p... | 649 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/polaris-migrator.mdx | ---
title: Polaris Migrator
navTitle: Migrator
description: Codemod transformations to help upgrade your Polaris codebase.
icon: ReplaceMajor
order: 3
---
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
[<img src="https://img.shields.io/npm/v/@shopify/polaris-migrator.svg?labelColor=f9f9f9&color=dcf5f0"... | 650 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/sandbox.mdx | ---
title: Sandbox
navTitle: Sandbox
description: Effortless prototyping with Polaris components.
order: 5
icon: SandboxMajor
url: /sandbox?code=N4Igxg9gJgpiBcIA8AZGBzAhmAngYUwCcoAdAOwAIKBnGSMqInAMQggBcZCBBMdgSwhlqAXmABtYBXqcy7eBRIgAIv2oBbNdSUUAvgF1d5KgAdC-dU1YcuvAULFSZMOQqUBRAB4mIhdhQAlGB8-HV0jMgA%2BYwpUDGx8IigAOgAJGE... | 651 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris.mdx | ---
title: Stylelint Polaris
navTitle: Stylelint
description: A configuration of Stylelint rules that promote adoption of the Polaris design system in consuming apps.
icon: WandMajor
collapseChildren: true
order: 4
keywords:
- stylelint
- dev tools
- developer tools
- tools
- tooling
- development
- plugi... | 652 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/_postamble.mdx | ## Contribute
Have you found that merchants benefit from styles or components that aren't in Polaris? We'd love to learn more. You can jumpstart a contribution to Polaris in GitHub by:
- Starting a [discussion](https://github.com/Shopify/polaris/discussions/6750) to collaborate with the community to find a solution
-... | 653 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/_preamble.mdx | Use <StylelintResourceLink category={category} /> instead of custom styles so that {category} <PresentTenseVerb>{category}</PresentTenseVerb> consistent across the Admin. This helps merchants have a coherent user experience and also ensures that {category} <PresentTenseVerb>{category}</PresentTenseVerb> in sync with th... | 654 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/border-at-rule-disallowed-list.mdx | ---
title: border/at-rule-disallowed-list
description: Disallows use of legacy Sass border mixins.
keywords:
- stylelint
- border
- border rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePre... | 655 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/border-custom-property-disallowed-list.mdx | ---
title: border/custom-property-disallowed-list
description: Disallows use of legacy border custom properties.
keywords:
- stylelint
- border
- border rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</L... | 656 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/border-declaration-property-unit-disallowed-list.mdx | ---
title: border/declaration-property-unit-disallowed-list
description: Disallows hard-coded `px`, `em`, and `rem` units in border property values.
keywords:
- stylelint
- border
- border rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}... | 657 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/border-function-disallowed-list.mdx | ---
title: border/function-disallowed-list
description: Disallows use of legacy Sass border functions.
keywords:
- stylelint
- border
- border rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<Rul... | 658 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-at-rule-disallowed-list.mdx | ---
title: color/at-rule-disallowed-list
description: Disallows use of legacy color mixins.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble cat... | 659 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-color-named.mdx | ---
title: color/color-named
description: Disallows named colors.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble category="color" />
```diff
... | 660 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-color-no-hex.mdx | ---
title: color/color-no-hex
description: Disallows hex colors.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble category="color" />
```diff
/... | 661 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-custom-property-disallowed-list.mdx | ---
title: color/custom-property-disallowed-list
description: Disallows use of legacy color custom properties.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>... | 662 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-function-disallowed-list.mdx | ---
title: color/function-disallowed-list
description: Disallows allows use of built in and legacy color functions.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</... | 663 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/color-global-disallowed-list.mdx | ---
title: color/global-disallowed-list
description: Disallows use of legacy color Sass APIs.
keywords:
- stylelint
- color
- color rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble c... | 664 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/conventions-custom-property-allowed-list.mdx | ---
title: conventions/custom-property-allowed-list
description: Allows definition of custom properties not using Polaris prefixes, flags declaration property values that are not valid Polaris tokens, flags declaration property values using private tokens.
keywords:
- stylelint
- conventions
- conventions rules
... | 665 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/conventions-selector-disallowed-list.mdx | ---
title: conventions/selector-disallowed-list
description: Disallows overrides of Polaris component styles.
keywords:
- stylelint
- conventions
- conventions rules
- selectors
---
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
Avoid overriding t... | 666 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/index.mdx | ---
title: Rules
description: 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 c... | 667 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-at-rule-disallowed-list.mdx | ---
title: layout/at-rule-disallowed-list
description: Disallows use of legacy Sass mixins.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble c... | 668 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-custom-property-disallowed-list.mdx | ---
title: layout/custom-property-disallowed-list
description: Disallows use of legacy layout custom properties.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</L... | 669 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-declaration-property-value-disallowed-list.mdx | ---
title: layout/declaration-property-value-disallowed-list
description: Disallows declaration of positioning and dimension property values with Polaris tokens.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {front... | 670 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-function-disallowed-list.mdx | ---
title: layout/function-disallowed-list
description: Disallows use of internal Sass layout functions.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<R... | 671 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-global-disallowed-list.mdx | ---
title: layout/global-disallowed-list
description: Disallows use of legacy layout Sass APIs.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamb... | 672 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/layout-property-disallowed-list.mdx | ---
title: layout/property-disallowed-list
description: Disallows declarations of layout properties.
keywords:
- stylelint
- layout
- layout rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RuleP... | 673 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/legacy-at-rule-disallowed-list.mdx | ---
title: legacy/at-rule-disallowed-list
description: Disallows use of legacy Sass mixins.
keywords:
- stylelint
- legacy
- legacy rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble c... | 674 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/legacy-function-disallowed-list.mdx | ---
title: legacy/function-disallowed-list
description: Disallows use off legacy Sass functions.
keywords:
- stylelint
- legacy
- legacy rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePream... | 675 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/legacy-global-disallowed-list.mdx | ---
title: legacy/global-disallowed-list
description: Disallows use of legacy custom properties and Sass mixin map data.
keywords:
- stylelint
- legacy
- legacy rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.descrip... | 676 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/media-queries-at-rule-disallowed-list.mdx | ---
title: media-queries/at-rule-disallowed-list
description: Disallows use of legacy breakpoint Sass mixins.
keywords:
- stylelint
- media queries
- media queries rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.desc... | 677 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/media-queries-function-disallowed-list.mdx | ---
title: media-queries/function-disallowed-list
description: Disallows use of legacy breakpoint sass functions.
keywords:
- stylelint
- media queries
- media queries rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.... | 678 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/media-queries-media-queries-allowed-list.mdx | ---
title: media-queries/media-queries-allowed-list
description: Allows declaration of `print` and `screen` `@media` queries, allows `@media` queries for `forced-colors` and `ms-high-contrast` features, allows `@media` queries using Polaris breakpoints.
keywords:
- stylelint
- media queries
- media queries rules
... | 679 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/motion-at-rule-disallowed-list.mdx | ---
title: motion/at-rule-disallowed-list
description: Disallows use of CSS @keyframes.
keywords:
- stylelint
- motion
- motion rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble categ... | 680 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/motion-custom-property-disallowed-list.mdx | ---
title: motion/custom-property-disallowed-list
description: Disallows use of legacy motion custom properties.
keywords:
- stylelint
- motion
- motion rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</L... | 681 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/motion-declaration-property-unit-disallowed-list.mdx | ---
title: motion/declaration-property-unit-disallowed-list
description: Disallows use of hard-coded millisecond `ms` and second `s` values on transition and animation properties.
keywords:
- stylelint
- motion
- motion rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamb... | 682 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/motion-function-disallowed-list.mdx | ---
title: motion/function-disallowed-list
description: Disallows use of legacy Sass motion functions.
keywords:
- stylelint
- motion
- motion rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<Rul... | 683 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/motion-global-disallowed-list.mdx | ---
title: motion/global-disallowed-list
description: Disallows use of legacy motion Sass APIs.
keywords:
- stylelint
- motion
- motion rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamb... | 684 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/shadow-custom-property-disallowed-list.mdx | ---
title: shadow/custom-property-disallowed-list
description: Disallows use of legacy shadow custom properties.
keywords:
- stylelint
- shadow
- shadow rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</L... | 685 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/shadow-declaration-property-unit-disallowed-list.mdx | ---
title: shadow/declaration-property-unit-disallowed-list
description: Disallows box-shadow declarations with hard coded px, rem, or em units.
keywords:
- stylelint
- shadow
- shadow rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<L... | 686 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/shadow-function-disallowed-list.mdx | ---
title: shadow/function-disallowed-list
description: Disallows use of built-in and legacy shadow functions.
keywords:
- stylelint
- shadow
- shadow rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Led... | 687 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/shadow-global-disallowed-list.mdx | ---
title: shadow/global-disallowed-list
description: Disallows use of legacy shadow Sass APIs.
keywords:
- stylelint
- shadow
- shadow rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamb... | 688 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/shadow-property-disallowed-list.mdx | ---
title: shadow/property-disallowed-list
description: Disallows text shadow property.
keywords:
- stylelint
- shadow
- shadow rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble categ... | 689 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/space-custom-property-disallowed-list.mdx | ---
title: space/custom-property-disallowed-list
description: Disallows use of legacy space custom properties.
keywords:
- stylelint
- space
- space rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>... | 690 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/space-declaration-property-unit-disallowed-list.mdx | ---
title: space/declaration-property-unit-disallowed-list
description: Disallows use of hard-coded px, em, and rem values on gap, margin, and padding properties.
keywords:
- stylelint
- space
- space rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontm... | 691 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/space-function-disallowed-list.mdx | ---
title: space/function-disallowed-list
description: Disallows use of legacy Sass space functions.
keywords:
- stylelint
- space
- space rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePre... | 692 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/space-global-disallowed-list.mdx | ---
title: space/global-disallowed-list
description: Disallows use of legacy spacing Sass APIs.
keywords:
- stylelint
- space
- space rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Lede>
<RulePreamble... | 693 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/typography-at-rule-disallowed-list.mdx | ---
title: typography/at-rule-disallowed-list
description: Disallows use of legacy Sass typography mixins.
keywords:
- stylelint
- typography
- typography rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}<... | 694 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/typography-declaration-property-unit-disallowed-list.mdx | ---
title: typography/declaration-property-unit-disallowed-list
description: Disallows hard-coded `px`, `em`, and `rem` values for font-size and line-height properties.
keywords:
- stylelint
- typography
- typography rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.... | 695 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/typography-declaration-property-value-disallowed-list.mdx | ---
title: typography/declaration-property-value-disallowed-list
description: Disallows hard-coded alphanumeric font-weight values.
keywords:
- stylelint
- typography
- typography rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{... | 696 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/typography-function-disallowed-list.mdx | ---
title: typography/function-disallowed-list
description: Disallows use of legacy Sass typography functions.
keywords:
- stylelint
- typography
- typography rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.descripti... | 697 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/typography-global-disallowed-list.mdx | ---
title: typography/global-disallowed-list
description: Disallows use of legacy typography Sass APIs.
keywords:
- stylelint
- typography
- typography rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description}</Le... | 698 |
0 | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris | petrpan-code/Shopify/polaris/polaris.shopify.com/content/tools/stylelint-polaris/rules/z-index-custom-property-disallowed-list.mdx | ---
title: z-index/custom-property-disallowed-list
description: Disallows use of legacy z-index custom properties.
keywords:
- stylelint
- z-index
- z-index rules
---
import RulePreamble from '../_preamble.mdx';
import RulePostamble from '../_postamble.mdx';
# {frontmatter.title}
<Lede>{frontmatter.description... | 699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.