Skip to content

Commit 480eb33

Browse files
committed
fix: simplify pushbutton svg
1 parent 9c1b4f8 commit 480eb33

File tree

1 file changed

+12
-28
lines changed

1 file changed

+12
-28
lines changed

src/pushbutton-element.ts

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -77,29 +77,13 @@ export class PushbuttonElement extends LitElement {
7777
<stop stop-color="#ffffff" offset="1" />
7878
</linearGradient>
7979
</defs>
80-
<rect
81-
x=".0034237"
82-
y=".001709"
83-
width="11.997"
84-
height="11.997"
85-
rx=".42093"
86-
ry=".42093"
87-
fill="#464646"
88-
/>
89-
<rect
90-
x=".69687"
91-
y=".73682"
92-
width="10.523"
93-
height="10.523"
94-
rx=".21047"
95-
ry=".21047"
96-
fill="#eaeaea"
97-
/>
80+
<rect x="0" y="0" width="12" height="12" rx=".44" ry=".44" fill="#464646" />
81+
<rect x=".75" y=".75" width="10.5" height="10.5" rx=".211" ry=".211" fill="#eaeaea" />
9882
<g fill="#1b1b1">
99-
<circle cx="1.767" cy="1.7916" r=".35301" />
100-
<circle cx="10.161" cy="1.7916" r=".35301" />
101-
<circle cx="10.161" cy="10.197" r=".35301" />
102-
<circle cx="1.767" cy="10.197" r=".35301" />
83+
<circle cx="1.767" cy="1.7916" r=".37" />
84+
<circle cx="10.161" cy="1.7916" r=".37" />
85+
<circle cx="10.161" cy="10.197" r=".37" />
86+
<circle cx="1.767" cy="10.197" r=".37" />
10387
</g>
10488
<g fill="#eaeaea">
10589
<path
@@ -116,15 +100,15 @@ export class PushbuttonElement extends LitElement {
116100
/>
117101
</g>
118102
<g class="clickable-element">
119-
<circle class="button-circle" cx="5.9725" cy="6.0016" r="3.8267" fill="url(#grad-up)" />
103+
<circle class="button-circle" cx="6" cy="6" r="3.822" fill="url(#grad-up)" />
120104
<circle
121-
cx="5.9825"
122-
cy="6.0116"
123-
r="2.9019"
105+
cx="6"
106+
cy="6"
107+
r="2.9"
124108
fill="${color}"
125109
stroke="#2f2f2f"
126-
stroke-opacity=".47321"
127-
stroke-width=".076779"
110+
stroke-opacity=".47"
111+
stroke-width=".08"
128112
/>
129113
</g>
130114
</svg>

0 commit comments

Comments
 (0)