Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Option to Explicitly Set Level of Color #59

Open
1 task done
maclong9 opened this issue Nov 23, 2024 · 0 comments
Open
1 task done

Add Option to Explicitly Set Level of Color #59

maclong9 opened this issue Nov 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@maclong9
Copy link

maclong9 commented Nov 23, 2024

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?
@maclong9 maclong9 added the enhancement New feature or request label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant