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

I want to supply my own output format for color previews #157

Open
mirisuzanne opened this issue Sep 6, 2017 · 2 comments
Open

I want to supply my own output format for color previews #157

mirisuzanne opened this issue Sep 6, 2017 · 2 comments
Milestone

Comments

@mirisuzanne
Copy link
Member

Stacy was asking to get e.g. color(name) as part of the color-palette output, for easy copy/paste into a project. Since that's a custom syntax we use, I'd want it to be set per-project, using a string interpolation formula. Something like this:

  • input color(%s) => output color(brand-pink)
  • input $%s => output $brand-pink

This way it can be set flexibly.

@mirisuzanne mirisuzanne added this to the Herman 1.x Stretch Goals milestone Sep 6, 2017
@stacyk
Copy link
Member

stacyk commented Sep 20, 2022

I'd say for our internal use, this is not important anymore as many of the colors we will be using are variables which display as:
var(--colorname)

@mirisuzanne
Copy link
Member Author

Well, the same feature would allow us to say:

  • input var(--%s) => output var(--brand-pink)

Which might help clear up some of the confusion we ran into with our demos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants