superhighfives / pika

An open-source colour picker app for macOS
https://superhighfives.com/pika
MIT License
1.71k stars 55 forks source link

Custom output format #104

Open YuGe opened 1 year ago

YuGe commented 1 year ago

Is your feature request related to a problem? Please describe. The latex xcolor package define color by the syntax like \definecolor{normal}{RGB}{0, 0, 0}, I need to manually change () to {} if I copy the RGB format.

Describe the solution you'd like Add an option to use custom format.

Additional context Maybe somthing like this.

Pika
superhighfives commented 1 year ago

Thanks for creating this, @YuGe. I'm not sure how defining the custom wrapper would work, but it's an interesting problem. I think it's beyond the scope of the app currently, but I'd be happy to check out a PR if anyone was interested in taking a pass at it.

In the meantime, you can set the export in preferences to be unformatted, which can make it easier to use the output in different ways:

image