Soften app icon glow (build 66)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac363ea0f7
commit
5c87b19085
6 files changed
+4
-4
No files matched your search
@@ -47,7 +47,7 @@ def svg(mode="color", sash=False):
|
||||
'<stop offset="1" stop-color="#05040A"/></radialGradient>'
|
||||
'<rect width="1024" height="1024" fill="url(#bg)"/>')
|
||||
# soft colored light pooling behind the bars
|
||||
aura = ('<g filter="url(#aura)" opacity="0.55">'
|
||||
aura = ('<g filter="url(#aura)" opacity="0.35">'
|
||||
f'<circle cx="330" cy="420" r="190" fill="{hx(STEMS[0])}"/>'
|
||||
f'<circle cx="690" cy="400" r="200" fill="{hx(STEMS[4])}"/>'
|
||||
f'<circle cx="520" cy="660" r="210" fill="{hx(STEMS[2])}"/>'
|
||||
@@ -76,11 +76,11 @@ def svg(mode="color", sash=False):
|
||||
return f'''<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
||||
<defs>{"".join(defs)}
|
||||
<filter id="aura" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="110"/></filter>
|
||||
<filter id="glow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="26"/></filter>
|
||||
<filter id="glow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="18"/></filter>
|
||||
<filter id="drop" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="10"/></filter>
|
||||
</defs>
|
||||
{bg}{aura}
|
||||
<g filter="url(#glow)" opacity="{0.25 if tint else 0.7}">{"".join(glow)}</g>
|
||||
<g filter="url(#glow)" opacity="{0.15 if tint else 0.35}">{"".join(glow)}</g>
|
||||
<g filter="url(#drop)" opacity="0.5" transform="translate(0,14)">{"".join(g.replace('fill="#', 'fill="#000" data-c="') for g in glow)}</g>
|
||||
<g>{"".join(bars)}</g>
|
||||
<g>{"".join(shine)}</g>
|
||||
|
||||
Reference in new issue
Block a user