Change glass icon shading

This commit is contained in:
Mbucari 2023-08-11 10:55:31 -06:00
parent ff3ac2d6fd
commit 167a021eb1
2 changed files with 74 additions and 86 deletions

View File

@ -1,45 +1,39 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 524 524" enable-background="new 0 0 524 524"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 524 524" enable-background="new 0 0 524 524">
<defs>
<defs> <g id="glass">
<filter id="white-glow" x="-400%" y="-400%" width="800%" height="800%"> <path fill-rule="evenodd" d=
<feFlood result="flood" flood-color="#ffffff" flood-opacity="1"></feFlood> "M262,8
<feComposite in="flood" result="mask" in2="SourceGraphic" operator="in"></feComposite> h-117
<feMorphology in="mask" result="dilated" operator="dilate" radius="3"></feMorphology> a 192,200 0 0 0 -36,82
<feGaussianBlur in="dilated" result="blurred" stdDeviation="6"></feGaussianBlur> a 222,334 41 0 0 138,236
<feMerge> v158
<feMergeNode in="blurred"></feMergeNode> h-81
<feMergeNode in="SourceGraphic"></feMergeNode> a 16,16 0 0 0 0,32
</feMerge> h192
</filter> a 16 16 0 0 0 0,-32
</defs> h-81
v-158
<rect x="-400%" y="-400%" width="800%" height="800%" fill="Black" /> a 222,334 -41 0 0 138,-236
<path id="glass" fill-rule="evenodd" style="fill: #000; filter:url(#white-glow)" d= a 192,200 0 0 0 -36,-82
"M145,8 h-117
a 192,200 0 0 0 -36,82 m-99,30
a 222,334 41 0 0 138,236 a 192,200 0 0 0 -26,95
v158 a 187.5,334 35 0 0 125,159
h-81 a 187.5,334 -35 0 0 125,-159
a 16,16 0 0 0 0,32 a 192,200 0 0 0 -26,-95
h192 h-198
a 16 16 0 0 0 0,-32 z"/>
h-81 </g>
v-158 <g id="wine-level">
a 222,334 -41 0 0 138,-236 <path d=
a 192,200 0 0 0 -36,-82 "M158,136
h-234 a 168,305 35 0 0 104,136
m18,30 a 168,305 -35 0 0 104,-136
a 192,200 0 0 0 -26,95 z"/>
a 187.5,334 35 0 0 125,159 </g>
a 187.5,334 -35 0 0 125,-159 </defs>
a 192,200 0 0 0 -26,-95 <use href="#glass" stroke="#ffffffa0" stroke-width="16" fill="Transparent" />
h-198 <use href="#wine-level" stroke="#ffffffa0" stroke-width="16" fill="Transparent" />
z" /> <use href="#glass" fill="Black" />
<use href="#wine-level" fill="Black" />
<path id="wine-level" style="fill: #000; filter:url(#white-glow)" d=
"M156,136
a 168,300 35 0 0 106,138
a 168,300 -35 0 0 106,-138
z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 968 B

View File

@ -1,45 +1,39 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 524 524" enable-background="new 0 0 524 524"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 524 524" enable-background="new 0 0 524 524">
<defs>
<defs> <g id="glass">
<filter id="white-glow" x="-400%" y="-400%" width="800%" height="800%"> <path fill-rule="evenodd" d=
<feFlood result="flood" flood-color="#ffffff" flood-opacity="1"></feFlood> "M262,8
<feComposite in="flood" result="mask" in2="SourceGraphic" operator="in"></feComposite> h-117
<feMorphology in="mask" result="dilated" operator="dilate" radius="3"></feMorphology> a 192,200 0 0 0 -36,82
<feGaussianBlur in="dilated" result="blurred" stdDeviation="6"></feGaussianBlur> a 222,334 41 0 0 138,236
<feMerge> v158
<feMergeNode in="blurred"></feMergeNode> h-81
<feMergeNode in="SourceGraphic"></feMergeNode> a 16,16 0 0 0 0,32
</feMerge> h192
</filter> a 16 16 0 0 0 0,-32
</defs> h-81
v-158
<rect x="-400%" y="-400%" width="800%" height="800%" fill="Black" /> a 222,334 -41 0 0 138,-236
<path id="glass" fill-rule="evenodd" style="fill: #000; filter:url(#white-glow)" d= a 192,200 0 0 0 -36,-82
"M145,8 h-117
a 192,200 0 0 0 -36,82 m-99,30
a 222,334 41 0 0 138,236 a 192,200 0 0 0 -26,95
v158 a 187.5,334 35 0 0 125,159
h-81 a 187.5,334 -35 0 0 125,-159
a 16,16 0 0 0 0,32 a 192,200 0 0 0 -26,-95
h192 h-198
a 16 16 0 0 0 0,-32 z"/>
h-81 </g>
v-158 <g id="wine-level">
a 222,334 -41 0 0 138,-236 <path d=
a 192,200 0 0 0 -36,-82 "M158,136
h-234 a 168,305 35 0 0 104,136
m18,30 a 168,305 -35 0 0 104,-136
a 192,200 0 0 0 -26,95 z"/>
a 187.5,334 35 0 0 125,159 </g>
a 187.5,334 -35 0 0 125,-159 </defs>
a 192,200 0 0 0 -26,-95 <use href="#glass" stroke="#ffffffa0" stroke-width="16" fill="Transparent" />
h-198 <use href="#wine-level" stroke="#ffffffa0" stroke-width="16" fill="Transparent" />
z" /> <use href="#glass" fill="Black" />
<use href="#wine-level" fill="Black" />
<path id="wine-level" style="fill: #000; filter:url(#white-glow)" d=
"M156,136
a 168,300 35 0 0 106,138
a 168,300 -35 0 0 106,-138
z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 968 B