refactor: update PreviewColor props to be optional and adjust layout in demos

This commit is contained in:
David Haz
2025-07-15 12:10:43 +03:00
parent 0421c6fd74
commit 114d544102
5 changed files with 15 additions and 20 deletions

View File

@@ -14,7 +14,7 @@
</div>
<Customize>
<div class="flex gap-4">
<div class="flex gap-2">
<PreviewColor
v-for="(color, index) in colorStops"
:key="index"
@@ -24,7 +24,7 @@
/>
</div>
<PreviewSlider title="Pixelation" v-model="pixelation" :min="0" :max="2000" :step="10" />
<PreviewSlider title="Pixelation" v-model="pixelation" :min="100" :max="2000" :step="10" />
<PreviewSwitch title="Enable Mouse Interaction" v-model="mouseInteractionEnabled" />