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

Slider extra colors (black and white) #118

Closed
sajen87 opened this issue Feb 28, 2018 · 2 comments
Closed

Slider extra colors (black and white) #118

sajen87 opened this issue Feb 28, 2018 · 2 comments

Comments

@sajen87
Copy link

sajen87 commented Feb 28, 2018

Hello,

I'm wondering if there is any chance to add black and white color to bottom tiles maybe by any chance??

@phivk
Copy link

phivk commented Apr 24, 2018

Slider.vue defines the swatches array as part of the data function. You could include luminosity values 1 for white and 0 for black:

data () {
  return {
    swatches: ['1', '.65', '.50', '.35', '0']
  }
},

screen shot 2018-04-24 at 10 03 00

@xiaokaike It might be nice if this could be controlled (via a prop?) when including the slider-picker component.

@linx4200
Copy link
Collaborator

fix in v2.6.0, which will be released soon.

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

3 participants