Removing Svelte Color Picker

This commit is contained in:
Conor_Mack 2020-05-26 15:08:59 +01:00
parent 9dc65eef98
commit 9f42b80977
2 changed files with 4 additions and 5 deletions

View File

@ -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"
}
}

View File

@ -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>
<!--