Skip to content

Add Option to Explicitly Set Level of Color #59

@maclong9

Description

@maclong9

Describe the feature

Sometimes I have design tokens for a couple of shades of the same color, it would be nice if I could explicitly set those and have the rest generated, example syntax below:

const green = getColors({
  "400": "#61BD93",
  "500": "#127749",
  "600": "#006039",
})

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions