Skip to content

[Feature] 🎨 Color Picker 🎨 #24

@ryanraposo

Description

@ryanraposo

Using an external color picker is annoying and VS Code's built-in picker is restricted to text editing:

the-text-editor-way

Priorities:

  • Implement a color picker view
  • Make every attempt to mirror VS Code's overall design and style.
  • Respond to user activity (ex: color-picker updates to reflect the color of a selected element).
  • Add CodeUI extension settings/commands where appropriate

Additional context

Use color-picker branch for work on this feature.

Updates

  • (12/1/21): The color picker now updates to reflect selection in the Elements view. Thinking about a reversed, toggle-able, "paint" mode where you can apply the picker's colour to elements just by clicking on them.

picker-updates-crop

  • (12/10/2020) : New approach. Added a statusBarItem that updates according to the hex and hue of the selection. Triggers copy-to-clipboard command on click. Removes any need to clutter the view with more widgets. Also, looks pretty cool.

status-bar-color

  • (12/09/2020): Simple copy-to-clipboard functionality added. Not the minimum-viable-product we need, but a start. Very interested in help/feedback. Two rules, though! 1) no frumpy webview abuse and 2) keep it simple :)

  • (11/27/2020) : A new view 'Color' with a picker has been added. No way to access the selection yet.

colors-screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions