3.0.0 • Published 4 years ago
svelte-color-well v3.0.0
svelte color well
A color picker.
Install it
npm i svelte-color-well
Use it
<script>
// import it to your component/app
import ColorWell from 'svelte-color-well'
// your color
let yourColor
</script>
<!-- use the component initializes with a random color -->
<ColorWell/>
<!-- initialize color and use rbg sliders -->
<ColorWell
color='red'
type='rgb'
/>
<!-- bind color to variable -->
<ColorWell bind:color={yourColor} />
<!-- see it in action -->
<h1>{yourColor}</h1>
TODO
- text input
3.0.0
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.6
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago