Skip to content

Commit b49ca20

Browse files
committed
fix: improve footer text shadow with dual-layer drop shadow
1 parent d4070e3 commit b49ca20

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

assets/footer.svg

Lines changed: 4 additions & 3 deletions
Loading

scripts/generate-footer.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ function main() {
2020
</feComponentTransfer>
2121
</filter>
2222
23-
<filter id="text-shadow" x="-20%" y="-50%" width="140%" height="200%">
24-
<feDropShadow dx="0" dy="0" stdDeviation="4" flood-color="#000000" flood-opacity="0.6"/>
23+
<filter id="text-shadow" x="-10%" y="-30%" width="120%" height="160%">
24+
<feDropShadow dx="0" dy="0" stdDeviation="6" flood-color="#000000" flood-opacity="0.7"/>
25+
<feDropShadow dx="0" dy="2" stdDeviation="2" flood-color="#000000" flood-opacity="0.5"/>
2526
</filter>
2627
2728
<mask id="wave-mask-inv">
@@ -68,7 +69,7 @@ V 350 H 0 Z">
6869
font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif"
6970
font-size="18"
7071
fill="#ffffff"
71-
opacity="0.5"
72+
fill-opacity="0.5"
7273
text-anchor="middle"
7374
letter-spacing="0.5"
7475
filter="url(#text-shadow)">

0 commit comments

Comments
 (0)