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

Color picker replace preset colors with chosen colors once picked #603

Open
brauliodiez opened this issue Dec 7, 2024 · 1 comment
Open
Assignees

Comments

@brauliodiez
Copy link
Member

Right now the preset colors are shown by default

Captura de pantalla 2024-12-07 a las 11 24 37

It would be great if:

  • The preset transparent color is always visible and in the same position.
  • The rest of colors are being replaced as soon as the user picks color (first color picked, replace the index[1] of presets and so on.
  • We could use a circular approach, once we reach length index -1 start with position one.

We could add it to the Canvas context, even serialize it once we save the doc (this could be done in a separate stage).

@brauliodiez brauliodiez moved this to Backlog in QuickMock Dec 7, 2024
@brauliodiez brauliodiez moved this from Backlog to In Progress in QuickMock Dec 12, 2024
jsanzdev added a commit that referenced this issue Dec 14, 2024
- Created a personalised palette and the ability to save the palettes.
@jsanzdev
Copy link
Collaborator

I created a first draft of this feature. Now we can save custom colors. Currently there is no limit on how many palettes we can save, however the color picker doesn't have a shared state so custom colors will not be shared between all the color pickers.

image

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

When branches are created from issues, their pull requests are automatically linked.

2 participants