Skip to content

Commit

Permalink
chore: improve labels
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Sep 25, 2024
1 parent 8c136e8 commit 7b00568
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function IconControlGroup() {
onChange={(color) => updateSvgSetting("svgColor", color)}
/>
<ControlSlider
label="Fill Opacity"
label="Icon fill Opacity"
min={0}
max={1}
step={0.01}
Expand Down Expand Up @@ -149,15 +149,15 @@ function IconControlGroup() {
}
/>
<ControlSlider
label="Shadow Offset X"
label="Inner Shadow Offset (X)"
min={-20}
max={20}
step={1}
value={[svgSettings.innerShadowX]}
onValueChange={(value) => updateSvgSetting("innerShadowX", value[0])}
/>
<ControlSlider
label="Inner Shadow Offset Y"
label="Inner Shadow Offset (Y)"
min={-20}
max={20}
step={1}
Expand Down Expand Up @@ -185,7 +185,7 @@ function IconControlGroup() {
</ControlGroup>
<ControlGroup label="Icon Position">
<ControlSlider
label="Icon Position X"
label="Icon Position (X)"
min={-100}
max={100}
step={1}
Expand All @@ -198,7 +198,7 @@ function IconControlGroup() {
}
/>
<ControlSlider
label="Icon Position Y"
label="Icon Position (Y)"
min={-100}
max={100}
step={1}
Expand All @@ -213,15 +213,15 @@ function IconControlGroup() {
</ControlGroup>
<ControlGroup label="Icon Skew">
<ControlSlider
label="Icon Skew X"
label="Icon Skew (X)"
min={-100}
max={100}
step={0.2}
value={[svgSettings.skewX]}
onValueChange={(value) => updateSvgSetting("skewX", value[0])}
/>
<ControlSlider
label="Icon Skew Y"
label="Icon Skew (Y)"
min={-100}
max={100}
step={1}
Expand Down Expand Up @@ -273,15 +273,15 @@ function BackgroundControlGroup() {
onValueChange={(value) => updateSvgSetting("shadowBlur", value[0])}
/>
<ControlSlider
label="Shadow Offset X"
label="Background Shadow Offset (X)"
min={-20}
max={20}
step={1}
value={[svgSettings.shadowOffsetX]}
onValueChange={(value) => updateSvgSetting("shadowOffsetX", value[0])}
/>
<ControlSlider
label="Shadow Offset Y"
label="Background Shadow Offset (Y)"
min={-20}
max={20}
step={1}
Expand Down

0 comments on commit 7b00568

Please sign in to comment.