diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e6acf1..3d367ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,6 @@ jobs: - name: Test run: | yarn install --immutable - yarn sync yarn test lint: @@ -72,5 +71,4 @@ jobs: - name: Lint run: | yarn install --immutable - yarn sync yarn lint:ci diff --git a/src/lib/components/colors/Sliders.svelte b/src/lib/components/colors/Sliders.svelte index d5b64bc..25a6810 100644 --- a/src/lib/components/colors/Sliders.svelte +++ b/src/lib/components/colors/Sliders.svelte @@ -67,38 +67,36 @@
-
- {#each sliders as slider (slider.id)} -
- - handleInput(e, slider.index)} - /> -
- {/each} + {#each sliders as slider (slider.id)}
- + handleInput(e)} + min={slider.range[0]} + max={slider.range[1]} + step={getStep(slider.range)} + style={`--stops: ${slider.gradient}`} + value={$color.coords[slider.index]} + oninput={(e) => handleInput(e, slider.index)} />
-
+ {/each} +
+ + handleInput(e)} + /> +