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

using two palettes #99

Open
lfrodrigues opened this issue Jul 4, 2013 · 6 comments
Open

using two palettes #99

lfrodrigues opened this issue Jul 4, 2013 · 6 comments

Comments

@lfrodrigues
Copy link

Hi,

I need to have two palettes. One for selectable colours and another one for the colours that are being used already. Is it possible to do it?

@bgrins
Copy link
Owner

bgrins commented Jul 4, 2013

Take a look at the "Full Example" colorpicker here: http://jsfiddle.net/bgrins/ctkY3/. The to palette is for selectable colors, and the bottom keeps track of current selection. Is this what you are looking for?

@lfrodrigues
Copy link
Author

Thanks for the fast reply. No it's not the same thing. I want to just use the palette. I've configured a list of colors that are available, the user selects different control and changes its the color. I want to add this list of used colors since they will repeat the same color multiple times.

Ideally I would have two palettes: one with the list of configure colors, a lina dividing, another palette with the frequent used colors.

Hope I managed to explain what I need.

@bgrins
Copy link
Owner

bgrins commented Jul 5, 2013

So you want to share the frequently used palette (aka selectionPalette) across multiple colorpickers?

@lfrodrigues
Copy link
Author

one color picker, which is only show a palette, and the last selected colors from that palette

@bgrins
Copy link
Owner

bgrins commented Jul 5, 2013

Ah, so you want to allow colors that are already on the predefined palette to also show up in the last selected palette?

@lfrodrigues
Copy link
Author

Yes but all in the same widget. Just click the color selector and have like a line separating the two colors sets

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

No branches or pull requests

2 participants