Inset the serif R in the app icon

Give the letter R depth with a clipped inset shadow instead of a flat fill.
This commit is contained in:
raucao committed 2026-11-26 13:47:13 +04:00
1 parent 5429418b48
commit bf737880be
1 file changed
+19 -9
@@ -1,6 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
<title>Regent</title>
<desc>A violet royal seal with an ivory serif R.</desc>
<desc>A violet royal seal with an inset ivory serif R.</desc>
<defs>
<path id="seal" d="
M 64,12
@@ -16,14 +16,7 @@
C 12,54 22,52 22,38
C 22,28 28,22 38,22
C 52,22 54,12 64,12 Z"/>
</defs>
<!-- The seal is a round emblem, so it follows the Adwaita app-icon template's
circle keyline: Ø119 on the 128 canvas, centred on (64,64). The drawn
seal is 104 across, hence the 119/104 scale. -->
<g transform="translate(64 64) scale(1.1442) translate(-64 -64)">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#seal" y="4" fill="#5B34C8"/>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#seal" fill="#8B5CF6"/>
<path fill="#FFF7E8" fill-rule="evenodd" d="
<path id="letter-r" fill-rule="evenodd" clip-rule="evenodd" d="
M 39,37 H 66
C 78,37 86,42 86,51
C 86,58 81,63 73,65
@@ -39,5 +32,22 @@
M 57,42 V 61 H 64
C 71,61 75,58 75,51
C 75,45 71,42 64,42 Z"/>
<clipPath id="letter-r-inset">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#letter-r"/>
</clipPath>
</defs>
<!-- The seal is a round emblem, so it follows the Adwaita app-icon template's
circle keyline: Ø119 on the 128 canvas, centred on (64,64). The drawn
seal is 104 across, hence the 119/104 scale. -->
<g transform="translate(64 64) scale(1.1442) translate(-64 -64)">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#seal" y="4" fill="#5B34C8"/>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#seal" fill="#8B5CF6"/>
<g xmlns:xlink="http://www.w3.org/1999/xlink" transform="translate(64 62) scale(0.9) translate(-64 -62)">
<g clip-path="url(#letter-r-inset)">
<use xlink:href="#letter-r" fill="#A78AB8"/>
<use xlink:href="#letter-r" y="0.8" fill="#DFC9DE"/>
<use xlink:href="#letter-r" y="1.7" fill="#FFF7E8"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB