Removing Svelte Color Picker
This commit is contained in:
parent
9dc65eef98
commit
9f42b80977
|
@ -79,8 +79,7 @@
|
|||
"rollup-plugin-svelte": "^5.0.3",
|
||||
"rollup-plugin-terser": "^4.0.4",
|
||||
"rollup-plugin-url": "^2.2.2",
|
||||
"svelte": "^3.0.0",
|
||||
"svelte-color-picker": "^1.0.7"
|
||||
"svelte": "^3.0.0"
|
||||
},
|
||||
"gitHead": "115189f72a850bfb52b65ec61d932531bf327072"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import { onMount } from "svelte"
|
||||
import { HsvPicker } from "svelte-color-picker"
|
||||
// import { HsvPicker } from "svelte-color-picker"
|
||||
|
||||
// export let initialValue = "#ffffff"
|
||||
export let onChange = color => {}
|
||||
|
@ -68,7 +68,7 @@
|
|||
<div class="colorpicker" {style}>
|
||||
<div class="overlay" on:click|self={() => toggleColorpicker(false)} />
|
||||
<div class="cp" style={pickerStyle}>
|
||||
<HsvPicker on:colorChange={onColourChange} startColor={value} />
|
||||
<!-- <HsvPicker on:colorChange={onColourChange} startColor={value} /> -->
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue