battleaxedotco / brutalism

Battleaxe's component library for Adobe CEP panels
https://battleaxe.dev/brutalism-docs/
MIT License
88 stars 12 forks source link

Create a Color-Picker component that launches any native app color picker #19

Closed Inventsable closed 4 years ago

Inventsable commented 4 years ago

As a similar wrapper to File-Picker, allow something in the form:

<Color-Picker>
    <Button icon="palette" />
</Color-Picker>

Ideally on click this would do the following:

In the event we want to allow users to select colors within a panel, leaning on the native host dialogs could be the best UX, and taking measures to prevent the panel from interacting with their current document/project/comp during the color picker could be possible.

This may not be feasible since AI doesn't expose the native color picker that I can see, beyond the legacy OS via $.colorpicker. It wouldn't be hard to manually recreate each app color picker in HTML, but would make panel creation too complex by needing two extensions per panel.

Inventsable commented 4 years ago

Fully featured (for PS and AE) as a prototype via 3ccc89ce14e7c28136c9c844b0edefe45fec920e.

See the styles here, though only editable works in Browser and you must check in Photoshop or After Effects for full functionality.

Inventsable commented 4 years ago

Added Illustrator support via 44824890e113eb711100bcf9acec8a1e716d260e