Skip to content

Commit 3f2580c

Browse files
committed
fix(stepper-motor): body opacity
1 parent 41d7683 commit 3f2580c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/stepper-motor-element.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class StepperMotorElement extends LitElement {
2727
>
2828
<defs>
2929
<linearGradient
30-
id="linearGradient3777"
30+
id="motor-body"
3131
x1="17.567"
3232
x2="197.27"
3333
y1="171.8"
@@ -36,7 +36,7 @@ export class StepperMotorElement extends LitElement {
3636
gradientUnits="userSpaceOnUse"
3737
>
3838
<stop stop-color="#666" offset="0" />
39-
<stop stop-color="#666" stop-opacity="0" offset="1" />
39+
<stop stop-color="#fff" offset="1" />
4040
</linearGradient>
4141
<linearGradient
4242
id="linearGradient5454"
@@ -59,8 +59,8 @@ export class StepperMotorElement extends LitElement {
5959
gradientUnits="userSpaceOnUse"
6060
>
6161
<stop stop-color="#9d9d9d" offset="0" />
62-
<stop stop-color="#fdfafa" stop-opacity=".99216" offset=".29501" />
63-
<stop stop-opacity=".98039" offset="1" />
62+
<stop stop-color="#fdfafa" offset=".29501" />
63+
<stop offset="1" />
6464
</linearGradient>
6565
</defs>
6666
@@ -74,8 +74,7 @@ export class StepperMotorElement extends LitElement {
7474
height="55.731"
7575
rx="4.7308"
7676
ry="4.6584"
77-
fill="url(#linearGradient3777)"
78-
opacity=".62"
77+
fill="url(#motor-body)"
7978
stroke="#000"
8079
stroke-width=".3245"
8180
/>
@@ -89,7 +88,7 @@ export class StepperMotorElement extends LitElement {
8988
stroke-linejoin="round"
9089
stroke-width=".47984"
9190
/>
92-
<ellipse cx="65.704" cy="88.613" rx="1.0232" ry=".99314" fill="#e6e6e6" opacity=".73" />
91+
<ellipse cx="65.704" cy="88.613" rx="1.0232" ry=".99314" fill="#e6e6e6" />
9392
<circle
9493
cx="66.278"
9594
cy="133.65"
@@ -99,7 +98,7 @@ export class StepperMotorElement extends LitElement {
9998
stroke-linejoin="round"
10099
stroke-width=".47984"
101100
/>
102-
<ellipse cx="66.25" cy="133.54" rx="1.0232" ry=".99314" fill="#e6e6e6" opacity=".73" />
101+
<ellipse cx="66.25" cy="133.54" rx="1.0232" ry=".99314" fill="#e6e6e6" />
103102
<circle
104103
cx="19.6"
105104
cy="133.13"
@@ -109,8 +108,8 @@ export class StepperMotorElement extends LitElement {
109108
stroke-linejoin="round"
110109
stroke-width=".47984"
111110
/>
112-
<ellipse cx="19.572" cy="133.16" rx="1.0232" ry=".99314" fill="#ccc" opacity=".73" />
113-
<ellipse cx="20.378" cy="88.702" rx="1.0232" ry=".99314" fill="#ccc" opacity=".73" />
111+
<ellipse cx="19.572" cy="133.16" rx="1.0232" ry=".99314" fill="#ccc" />
112+
<ellipse cx="20.378" cy="88.702" rx="1.0232" ry=".99314" fill="#ccc" />
114113
115114
<!-- Rotator -->
116115
<circle

0 commit comments

Comments
 (0)