Skip to content

Add migration to increase Color coverage #7215

@lgriffee

Description

@lgriffee

Write a new @shopify/polaris-migrator script to increase Shape coverage. The migration should walk the following declaration and apply passing values.

{
    "color:",
    "box-shadow:",
    "background:",
    "background-color:",
    "border:",
    "border-color:",
    "border-top:",
    "border-right:",
    "border-bottom:",
    "border-left:",
    "border-top-color:",
    "border-right-color:",
    "border-bottom-color:",
    "border-left-color:",
    "border-block-start-color:",
    "border-block-end-color:",
    "outline:",
    "outline-color:",
    "text-decoration:",
    "text-decoration-color:",
    "text-shadow:",
    "caret-color:",
    "column-rule-color:",
    "fill:",
    "stroke:",
    "opacity:",
    "filter:",
}

Failing lines

Review failures and determine what is possible to migrate:

  • Note values that are easily replaced
  • Otherwise, discuss replacement values with team

Related Legacy API

Data

Related PRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions