:art: Vue Color Pickers for Sketch, Photoshop, Chrome & more http://vue-color.surge.sh
Twitter
color picker<twitter-picker v-model="colors"></twitter-picker>
see https://github.com/xiaokaike/vue-color/pull/195 for more Thanks to @proYang
Slider
supports saturation channelThe swatches in Slider
color picker now supports saturation channel, which was fixed at 0.5
const swatches = [
{ s: 0.5, l: 0.8 },
{ s: 0.5, l: 0.65 },
{ s: 0.5, l: 0.5 },
{ s: 0.5, l: 0.35 },
{ s: 0.5, l: 0.2 }
];
// or
const swatches = ['.80', '.65', '.50', '.35', '.20']; // saturation is fixed at 0.5
<slider-picker v-model="colors" 👍 swatches="swatches" />
see https://github.com/xiaokaike/vue-color/pull/214 for more Thanks to @AlexeyMinin
Improvements:
aria-labelledby
to all input elements (closes #160 )<!-- now `EditableInput` can accept `label-text` for customizing label text. -->
<EditableInput label-text="Textes shows in input label" label="hex" v-model="color.hex" @change="onChange" />
Slider.vue
supports black and white. (close #118 #134 )<Slider v-model="colors" :swatches="['1', '.80', '.65', '.50', '.35', '.20', '0']"></Slider>
Chrome.vue
and Sketch.vue
support 8-Digit Hex Codes. (close #141 )Photoshop.vue
has new properties(#135) :
acceptLabel
: Allows to customize the text on the validation button (defaulted to OK)cancelLabel
: Allows to customize the text on the cancel button (defaulted to Cancel)hasResetButton
: If true, would display a reset button below the input fields (defaulted to false)resetLabel
: Allows to customize the text on the reset button (defaulted to Reset)Sketch.vue
: add a transparent checkboard. (#148)Compact.vue
and Grayscale.vue
: support for color chosen with lowercased palette. (#151)aria-label
to inputs. (#125)