Introduce new Sable logo! (#809)

<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

I've been given permission to finish this process. Otherwise, I've also
made it quite easy to replace the logo for forks.

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [x] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
I used AI to create the script that replaces each of the existing logo
instances. Otherwise, all logo variants were handmade.
This commit is contained in:
7w1 authored and GitHub committed 2026-05-14 00:58:30 +00:00
commit ed6d767e1a
73 files changed
+216 -287

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
---
default: minor
---
# Introduce the new Sable logo!
- Also, there's a script for other us or other forks to replace the icon in the future, if needed.
+17 -17
View File
@@ -35,86 +35,86 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" href="./public/res/svg/cinny-logo-maskable.svg" />
<link rel="apple-touch-icon" href="./public/res/svg/logo-maskable.svg" />
<link
rel="apple-touch-icon"
sizes="36x36"
href="./public/res/logo-maskable/cinny-logo-maskable-36x36.png"
href="./public/res/logo-maskable/logo-maskable-36x36.png"
/>
<link
rel="apple-touch-icon"
sizes="48x48"
href="./public/res/logo-maskable/cinny-logo-maskable-48x48.png"
href="./public/res/logo-maskable/logo-maskable-48x48.png"
/>
<link
rel="apple-touch-icon"
sizes="57x57"
href="./public/res/logo-maskable/cinny-logo-maskable-57x57.png"
href="./public/res/logo-maskable/logo-maskable-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="./public/res/logo-maskable/cinny-logo-maskable-60x60.png"
href="./public/res/logo-maskable/logo-maskable-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="./public/res/logo-maskable/cinny-logo-maskable-72x72.png"
href="./public/res/logo-maskable/logo-maskable-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="96x96"
href="./public/res/logo-maskable/cinny-logo-maskable-96x96.png"
href="./public/res/logo-maskable/logo-maskable-96x96.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="./public/res/logo-maskable/cinny-logo-maskable-114x114.png"
href="./public/res/logo-maskable/logo-maskable-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="./public/res/logo-maskable/cinny-logo-maskable-120x120.png"
href="./public/res/logo-maskable/logo-maskable-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="./public/res/logo-maskable/cinny-logo-maskable-144x144.png"
href="./public/res/logo-maskable/logo-maskable-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="./public/res/logo-maskable/cinny-logo-maskable-152x152.png"
href="./public/res/logo-maskable/logo-maskable-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="167x167"
href="./public/res/logo-maskable/cinny-logo-maskable-167x167.png"
href="./public/res/logo-maskable/logo-maskable-167x167.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./public/res/logo-maskable/cinny-logo-maskable-180x180.png"
href="./public/res/logo-maskable/logo-maskable-180x180.png"
/>
<link
rel="apple-touch-icon"
sizes="192x192"
href="./public/res/logo-maskable/cinny-logo-maskable-192x192.png"
href="./public/res/logo-maskable/logo-maskable-192x192.png"
/>
<link
rel="apple-touch-icon"
sizes="256x256"
href="./public/res/logo-maskable/cinny-logo-maskable-256x256.png"
href="./public/res/logo-maskable/logo-maskable-256x256.png"
/>
<link
rel="apple-touch-icon"
sizes="384x384"
href="./public/res/logo-maskable/cinny-logo-maskable-384x384.png"
href="./public/res/logo-maskable/logo-maskable-384x384.png"
/>
<link
rel="apple-touch-icon"
sizes="512x512"
href="./public/res/logo-maskable/cinny-logo-maskable-512x512.png"
href="./public/res/logo-maskable/logo-maskable-512x512.png"
/>
</head>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 156 KiB

+27 -27
View File
@@ -11,163 +11,163 @@
"theme_color": "#1b1a21",
"icons": [
{
"src": "./public/svg/cinny-logo-maskable.svg",
"src": "./public/svg/logo-maskable.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-512x512.png",
"src": "./public/logo-maskable/logo-maskable-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-384x384.png",
"src": "./public/logo-maskable/logo-maskable-384x384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-256x256.png",
"src": "./public/logo-maskable/logo-maskable-256x256.png",
"sizes": "256x256",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-192x192.png",
"src": "./public/logo-maskable/logo-maskable-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-180x180.png",
"src": "./public/logo-maskable/logo-maskable-180x180.png",
"sizes": "180x180",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-167x167.png",
"src": "./public/logo-maskable/logo-maskable-167x167.png",
"sizes": "167x167",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-152x152.png",
"src": "./public/logo-maskable/logo-maskable-152x152.png",
"sizes": "152x152",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-144x144.png",
"src": "./public/logo-maskable/logo-maskable-144x144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-120x120.png",
"src": "./public/logo-maskable/logo-maskable-120x120.png",
"sizes": "120x120",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-114x114.png",
"src": "./public/logo-maskable/logo-maskable-114x114.png",
"sizes": "114x114",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-96x96.png",
"src": "./public/logo-maskable/logo-maskable-96x96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-76x76.png",
"src": "./public/logo-maskable/logo-maskable-76x76.png",
"sizes": "76x76",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-72x72.png",
"src": "./public/logo-maskable/logo-maskable-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-60x60.png",
"src": "./public/logo-maskable/logo-maskable-60x60.png",
"sizes": "60x60",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-57x57.png",
"src": "./public/logo-maskable/logo-maskable-57x57.png",
"sizes": "57x57",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-48x48.png",
"src": "./public/logo-maskable/logo-maskable-48x48.png",
"sizes": "48x48",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/logo-maskable/cinny-logo-maskable-36x36.png",
"src": "./public/logo-maskable/logo-maskable-36x36.png",
"sizes": "36x36",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "./public/svg/cinny-logo.svg",
"src": "./public/svg/logo.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-512x512.png",
"src": "./public/logo/logo-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-384x384.png",
"src": "./public/logo/logo-384x384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-256x256.png",
"src": "./public/logo/logo-256x256.png",
"sizes": "256x256",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-192x192.png",
"src": "./public/logo/logo-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-144x144.png",
"src": "./public/logo/logo-144x144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-96x96.png",
"src": "./public/logo/logo-96x96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-72x72.png",
"src": "./public/logo/logo-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any"
},
{
"src": "./public/logo/cinny-logo-48x48.png",
"src": "./public/logo/logo-48x48.png",
"sizes": "48x48",
"type": "image/png",
"purpose": "any"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

-58
View File
@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="2451.377"
height="2451.377"
viewBox="0 0 2451.377 2451.377"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="svg2"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" />
<g
id="Layer1"
style="display:inline"
transform="translate(-91.78964,-37.013267)">
<g
transform="matrix(4.51622,0,0,4.51622,-4176.71,-3832.36)"
id="g1"
style="display:inline">
<g
id="g4"
style="display:inline"><path
id="circle1"
style="display:inline;fill:#181825;fill-opacity:1;stroke:#000000;stroke-width:0.22px"
d="m 1215.5498,857.29289 a 271.28699,271.28699 0 0 0 -271.28688,271.28691 271.28699,271.28699 0 0 0 271.28688,271.2874 271.28699,271.28699 0 0 0 88.1372,-14.7165 132.85447,132.85447 0 0 1 -54.0123,-106.9314 132.85447,132.85447 0 0 1 132.8544,-132.8545 132.85447,132.85447 0 0 1 97.6818,42.8071 271.28699,271.28699 0 0 0 6.6263,-59.5921 271.28699,271.28699 0 0 0 -271.2874,-271.28691 z" /><circle
style="clip-rule:evenodd;display:inline;fill:#31ff41;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path2"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /><circle
style="clip-rule:evenodd;display:none;fill:#fefe32;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle2"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /><circle
style="clip-rule:evenodd;display:none;fill:#989898;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle3"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /></g><circle
cx="1215.55"
cy="1128.58"
style="clip-rule:evenodd;display:none;fill:#181825;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.22px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle1-2"
transform="translate(0.9956778,-0.41043173)"
r="271.28699" /><path
d="m 1048.38,1342.19 c -63.37,-49.68 -104.12,-126.92 -104.12,-213.61 0,-13.91 1.049,-27.57 3.071,-40.92 25.029,-16.21 47.575,-28.28 68.139,-42.84 38.87,-27.54 38.87,-87.474 115.01,-87.474 58.31,0 79,37.463 129.58,69.654 35.6,22.65 92.2,13.47 226.32,85.85 l 0.01,0.08 c -139.04,-51.92 -221.72,-53.49 -237.67,-50.3 -32.39,6.48 -92.02,49.61 -83.44,140.17 6.14,64.88 -39.29,124.88 -116.9,139.39 z m 105.61,-358.258 c -9.78,0 -17.72,7.939 -17.72,17.718 0,9.78 7.94,17.72 17.72,17.72 9.77,0 17.71,-7.94 17.71,-17.72 0,-9.779 -7.94,-17.718 -17.71,-17.718 z"
style="clip-rule:evenodd;display:inline;fill:#ad9eff;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path1"
transform="matrix(0.94490304,0,0,0.94490304,66.971946,62.180312)" /></g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

-60
View File
@@ -1,60 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="2451.377"
height="2451.377"
viewBox="0 0 2451.377 2451.377"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="svg2"
sodipodi:docname="apple-touch-icon.svg"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.47932245"
inkscape:cx="1225.6885"
inkscape:cy="1380.0731"
inkscape:window-width="2560"
inkscape:window-height="1377"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs2" />
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="background"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;display:inline"
transform="translate(-4.9778005e-6)"><rect
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;fill:#1a1c28;stroke-width:1.00157"
id="rect1"
width="2530.6555"
height="2539.0002"
x="-58.415791"
y="-66.760902"
transform="translate(4.9778005e-6)" /></g><g
id="Layer1"
style="display:inline"
transform="translate(-91.78964,-37.013267)">
<g
transform="matrix(4.26739,0,0,4.26739,-3874.25,-3551.54)"
id="g2">
<path
d="m 1048.38,1342.19 c -121.447,14.2738 -231.68198,2.0248 -231.68198,-84.6652 0,-13.91 61.20018,-117.1054 130.63298,-169.8648 25.029,-16.21 47.575,-28.28 68.139,-42.84 38.87,-27.54 38.87,-87.474 115.01,-87.474 58.31,0 79,37.463 129.58,69.654 35.6,22.65 92.2,13.47 226.32,85.85 l 0.01,0.08 c -139.04,-51.92 -221.72,-53.49 -237.67,-50.3 -32.39,6.48 -92.02,49.61 -83.44,140.17 6.14,64.88 -39.29,124.88 -116.9,139.39 z m 105.61,-358.258 c -9.78,0 -17.72,7.939 -17.72,17.718 0,9.78 7.94,17.72 17.72,17.72 9.77,0 17.71,-7.94 17.71,-17.72 0,-9.779 -7.94,-17.718 -17.71,-17.718 z"
style="fill:#ad9eff;fill-opacity:1"
id="path1" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

-49
View File
@@ -1,49 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="2451.377"
height="2451.377"
viewBox="0 0 2451.377 2451.377"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="svg2"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" />
<g
id="Layer1"
style="display:inline"
transform="translate(-91.78964,-37.013267)">
<g
transform="matrix(4.51622,0,0,4.51622,-4176.71,-3832.36)"
id="g1"
style="display:inline">
<g
id="g4"
style="display:none"><path
id="circle1"
style="display:inline;fill:#181825;fill-opacity:1;stroke:#000000;stroke-width:0.22px"
d="m 1215.5498,857.29289 a 271.28699,271.28699 0 0 0 -271.28688,271.28691 271.28699,271.28699 0 0 0 271.28688,271.2874 271.28699,271.28699 0 0 0 88.1372,-14.7165 132.85447,132.85447 0 0 1 -54.0123,-106.9314 132.85447,132.85447 0 0 1 132.8544,-132.8545 132.85447,132.85447 0 0 1 97.6818,42.8071 271.28699,271.28699 0 0 0 6.6263,-59.5921 271.28699,271.28699 0 0 0 -271.2874,-271.28691 z" /><circle
style="clip-rule:evenodd;display:inline;fill:#989898;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path2"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /></g><circle
cx="1215.55"
cy="1128.58"
style="clip-rule:evenodd;display:inline;fill:#181825;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.22px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle1-2"
transform="translate(0.9956778,-0.41043173)"
r="271.28699" /></g>
<g
transform="matrix(4.26739,0,0,4.26739,-3874.25,-3551.54)"
id="g2">
<path
d="m 1048.38,1342.19 c -63.37,-49.68 -104.12,-126.92 -104.12,-213.61 0,-13.91 1.049,-27.57 3.071,-40.92 25.029,-16.21 47.575,-28.28 68.139,-42.84 38.87,-27.54 38.87,-87.474 115.01,-87.474 58.31,0 79,37.463 129.58,69.654 35.6,22.65 92.2,13.47 226.32,85.85 l 0.01,0.08 c -139.04,-51.92 -221.72,-53.49 -237.67,-50.3 -32.39,6.48 -92.02,49.61 -83.44,140.17 6.14,64.88 -39.29,124.88 -116.9,139.39 z m 105.61,-358.258 c -9.78,0 -17.72,7.939 -17.72,17.718 0,9.78 7.94,17.72 17.72,17.72 9.77,0 17.71,-7.94 17.71,-17.72 0,-9.779 -7.94,-17.718 -17.71,-17.718 z"
style="fill:#ad9eff;fill-opacity:1"
id="path1" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

-58
View File
@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="2451.377"
height="2451.377"
viewBox="0 0 2451.377 2451.377"
version="1.1"
xml:space="preserve"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="svg2"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" />
<g
id="Layer1"
style="display:inline"
transform="translate(-91.78964,-37.013267)">
<g
transform="matrix(4.51622,0,0,4.51622,-4176.71,-3832.36)"
id="g1"
style="display:inline">
<g
id="g4"
style="display:inline"><path
id="circle1"
style="display:inline;fill:#181825;fill-opacity:1;stroke:#000000;stroke-width:0.22px"
d="m 1215.5498,857.29289 a 271.28699,271.28699 0 0 0 -271.28688,271.28691 271.28699,271.28699 0 0 0 271.28688,271.2874 271.28699,271.28699 0 0 0 88.1372,-14.7165 132.85447,132.85447 0 0 1 -54.0123,-106.9314 132.85447,132.85447 0 0 1 132.8544,-132.8545 132.85447,132.85447 0 0 1 97.6818,42.8071 271.28699,271.28699 0 0 0 6.6263,-59.5921 271.28699,271.28699 0 0 0 -271.2874,-271.28691 z" /><circle
style="clip-rule:evenodd;display:none;fill:#31ff41;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path2"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /><circle
style="clip-rule:evenodd;display:none;fill:#fefe32;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle2"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /><circle
style="clip-rule:evenodd;display:inline;fill:#989898;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle3"
cx="2068.1877"
cy="1932.7119"
r="300"
transform="matrix(0.22142411,0,0,0.22142411,924.8243,848.57691)" /></g><circle
cx="1215.55"
cy="1128.58"
style="clip-rule:evenodd;display:none;fill:#181825;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.22px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="circle1-2"
transform="translate(0.9956778,-0.41043173)"
r="271.28699" /><path
d="m 1048.38,1342.19 c -63.37,-49.68 -104.12,-126.92 -104.12,-213.61 0,-13.91 1.049,-27.57 3.071,-40.92 25.029,-16.21 47.575,-28.28 68.139,-42.84 38.87,-27.54 38.87,-87.474 115.01,-87.474 58.31,0 79,37.463 129.58,69.654 35.6,22.65 92.2,13.47 226.32,85.85 l 0.01,0.08 c -139.04,-51.92 -221.72,-53.49 -237.67,-50.3 -32.39,6.48 -92.02,49.61 -83.44,140.17 6.14,64.88 -39.29,124.88 -116.9,139.39 z m 105.61,-358.258 c -9.78,0 -17.72,7.939 -17.72,17.718 0,9.78 7.94,17.72 17.72,17.72 9.77,0 17.71,-7.94 17.71,-17.72 0,-9.779 -7.94,-17.718 -17.71,-17.718 z"
style="clip-rule:evenodd;display:inline;fill:#ad9eff;fill-opacity:1;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path1"
transform="matrix(0.94490304,0,0,0.94490304,66.971946,62.180312)" /></g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

+6
View File
@@ -0,0 +1,6 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<path fill="#181825" d="M 255.99974,0.1037582 A 255.89609,255.89609 0 0 0 0.10375619,255.99978 255.89609,255.89609 0 0 0 255.99974,511.89625 255.89609,255.89609 0 0 0 339.13667,498.01466 125.31725,125.31725 0 0 1 288.18864,397.14979 125.31725,125.31725 0 0 1 413.50582,271.83251 125.31725,125.31725 0 0 1 505.64585,312.21104 255.89609,255.89609 0 0 0 511.89622,255.99978 255.89609,255.89609 0 0 0 255.99974,0.1037582 Z"/>
<circle fill="#31ff41" cx="413.73395" cy="395.55249" r="62.658623"/>
<path fill="#9987f7" d="M 281.22266,61.638672 C 252.51456,62.340868 242.25,96.445313 242.25,96.445312 c 0,0 21.86201,-0.227885 38.08398,2 19.65914,2.699828 36.77735,8.470708 36.77735,8.470708 0,0 -12.11668,-45.858806 -35.88867,-45.277348 z M 176.44531,79.111328 c -48.18491,2.028263 -80.827865,69.713282 -12.08398,159.111332 0.80656,1.04883 -3.8528,2.37319 -12.25,-6.08399 -14.29504,-14.39717 -25.27735,-39.58398 -25.27735,-39.58398 0,0 -30.436305,90.74071 -54.556636,125.36133 -11.322277,16.25085 -23.296424,29.36279 -34.673828,40.0664 36.151435,77.35626 112.144444,132.24302 201.664064,138.37696 0.39018,-1.71398 0.87261,-3.37594 1.17773,-5.13672 7.3847,-42.61472 22.24188,-82.33049 49.29102,-109.79297 a 125.31725,125.31725 0 0 1 123.76953,-109.59766 125.31725,125.31725 0 0 1 33.93945,5.30274 c -6.47254,-3.74441 -14.05852,-10.17329 -14.55664,-20.30079 -0.72761,-14.7695 26.44531,-16 26.44531,-16 0,0 -16.78004,-12.90508 -42.25,-31.02929 -14.15715,-10.07648 -23.71667,-44.74677 -63.55664,-75.52735 -42.51349,-32.84957 -109.55468,-29.36132 -109.55468,-29.36132 0,0 11.18932,19.49627 11.88867,25.47265 1.15061,9.83807 -4.14406,0.85935 -4.80664,-0.19336 -20.40648,-35.136141 -46.82455,-50.026407 -69.88867,-51.083982 -1.58601,-0.07268 -3.16642,-0.06541 -4.72071,0 z M 331.66602,200.88867 c 11.37689,-0.77289 21.73754,6.54406 24.80664,17.52735 l 0.88867,6.47265 c 0,12.65368 -9.79137,23.13771 -22.41602,24 -12.62502,0.86151 -23.75391,-8.18588 -25.47265,-20.72265 -1.71877,-12.53681 6.55285,-24.26336 18.94336,-26.83204 1.07318,-0.22215 2.15627,-0.37139 3.25,-0.44531 z"/>
<path fill="#7b6dc4" d="m 177.84845,197.13285 c 0,0 -44.43023,-63.57598 -8.46796,-99.538252 26.21392,-26.213922 64.86752,30.516502 64.86752,30.516502 0,0 -40.50667,-3.42071 -42.97866,11.82315 -1.00026,6.16799 14.37955,10.70468 14.37955,10.70468 0,0 -10.86453,14.69916 -15.49793,22.44815 -4.63345,7.74898 -12.30252,24.04577 -12.30252,24.04577 z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

+5
View File
@@ -0,0 +1,5 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#1a1c28"/>
<path fill="#9987f7" d="M 281.22222,61.638889 C 252.51406,62.341088 242.25,96.444445 242.25,96.444445 c 0,0 21.8613,-0.227895 38.08333,1.999999 19.6592,2.699826 36.77778,8.472226 36.77778,8.472226 0,0 -12.11681,-45.859239 -35.88889,-45.277781 z M 176.44444,79.111111 C 128.25938,81.13938 95.617024,148.8239 164.36111,238.22222 c 0.80656,1.04883 -3.85277,2.37388 -12.25,-6.08333 -14.29507,-14.39723 -25.27778,-39.58333 -25.27778,-39.58333 0,0 -30.435149,90.7404 -54.555552,125.36111 C 46.575304,354.80743 17.318254,376.31454 0,387.38889 v 124.61109 h 234.55556 c 2.59175,-6.54093 4.61992,-13.45464 5.88889,-20.77775 C 252.4793,421.77296 284.21296,359.87744 356.55554,346.5 c 87.13427,-16.11291 100.05555,-65.19445 100.05555,-65.19445 0,0 -22.84751,-6.68893 -23.72218,-24.47222 -0.72761,-14.76956 26.44443,-16 26.44443,-16 0,0 -16.77999,-12.90351 -42.25001,-31.02778 -14.15721,-10.07651 -23.71546,-44.7471 -63.55555,-75.52777 -42.51364,-32.84969 -109.55556,-29.36111 -109.55556,-29.36111 0,0 11.18954,19.49581 11.88889,25.47222 1.15061,9.8381 -4.14297,0.85826 -4.80555,-0.19445 -20.40654,-35.136255 -46.82468,-50.025751 -69.88889,-51.083329 -1.58601,-0.07268 -3.16794,-0.06541 -4.72223,0 z M 331.66667,200.88889 c 11.37695,-0.77289 21.73645,6.54446 24.80555,17.52778 l 0.88887,6.47222 c 0,12.65371 -9.79196,23.13771 -22.41664,24 -12.62508,0.86151 -23.75346,-8.18539 -25.47223,-20.72222 -1.71877,-12.53684 6.55391,-24.26466 18.94445,-26.83334 1.07321,-0.22215 2.15627,-0.37052 3.25,-0.44444 z"/>
<path fill="#7b6dc4" d="m 177.84845,197.13285 c 0,0 -44.43023,-63.57598 -8.46796,-99.538252 26.21392,-26.213922 64.86752,30.516502 64.86752,30.516502 0,0 -40.50667,-3.42071 -42.97866,11.82315 -1.00026,6.16799 14.37955,10.70468 14.37955,10.70468 0,0 -10.86453,14.69916 -15.49793,22.44815 -4.63345,7.74898 -12.30252,24.04577 -12.30252,24.04577 z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

+5
View File
@@ -0,0 +1,5 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<circle fill="#1a1c28" cx="256" cy="256" r="256"/>
<path fill="#9987f7" d="M 281.22266,61.638672 C 252.51454,62.340869 242.25,96.445312 242.25,96.445312 c 0,0 21.86199,-0.227888 38.08398,2 19.65916,2.699828 36.77735,8.470708 36.77735,8.470708 0,0 -12.11665,-45.858806 -35.88867,-45.277348 z M 176.44531,79.111328 c -48.18496,2.028265 -80.827932,69.713192 -12.08398,159.111332 0.80656,1.04883 -3.85279,2.3732 -12.25,-6.08399 -14.29505,-14.39719 -25.27735,-39.58398 -25.27735,-39.58398 0,0 -30.436281,90.74068 -54.556636,125.36133 -11.322288,16.25087 -23.296412,29.36278 -34.673828,40.0664 36.151472,77.35634 112.144354,132.24302 201.664064,138.37696 0.39018,-1.71398 0.87261,-3.37593 1.17773,-5.13672 12.03483,-69.44913 43.76694,-131.34524 116.10938,-144.72266 87.13409,-16.11287 100.05664,-65.19531 100.05664,-65.19531 0,0 -22.84799,-6.68744 -23.72266,-24.47071 -0.72761,-14.76952 26.44531,-16 26.44531,-16 0,0 -16.78002,-12.90506 -42.25,-31.02929 -14.15717,-10.07649 -23.71663,-44.74674 -63.55664,-75.52735 -42.51354,-32.84961 -109.55468,-29.36132 -109.55468,-29.36132 0,0 11.18932,19.49626 11.88867,25.47265 1.15061,9.83808 -4.14406,0.85935 -4.80664,-0.19336 -20.4065,-35.136179 -46.82452,-50.026406 -69.88867,-51.083982 -1.58601,-0.07268 -3.16642,-0.06541 -4.72071,0 z M 331.66602,200.88867 c 11.37691,-0.77289 21.73754,6.54405 24.80664,17.52735 l 0.88867,6.47265 c 0,12.65369 -9.79136,23.13771 -22.41602,24 -12.62504,0.86151 -23.7539,-8.18586 -25.47265,-20.72265 -1.71877,-12.53682 6.55284,-24.26336 18.94336,-26.83204 1.07319,-0.22215 2.15627,-0.37139 3.25,-0.44531 z"/>
<path fill="#7b6dc4" d="m 177.84845,197.13285 c 0,0 -44.43023,-63.57598 -8.46796,-99.538252 26.21392,-26.213922 64.86752,30.516502 64.86752,30.516502 0,0 -40.50667,-3.42071 -42.97866,11.82315 -1.00026,6.16799 14.37955,10.70468 14.37955,10.70468 0,0 -10.86453,14.69916 -15.49793,22.44815 -4.63345,7.74898 -12.30252,24.04577 -12.30252,24.04577 z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

+6
View File
@@ -0,0 +1,6 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<path fill="#181825" d="M 255.99974,0.1037582 A 255.89609,255.89609 0 0 0 0.10375619,255.99978 255.89609,255.89609 0 0 0 255.99974,511.89625 255.89609,255.89609 0 0 0 339.13667,498.01466 125.31725,125.31725 0 0 1 288.18864,397.14979 125.31725,125.31725 0 0 1 413.50582,271.83251 125.31725,125.31725 0 0 1 505.64585,312.21104 255.89609,255.89609 0 0 0 511.89622,255.99978 255.89609,255.89609 0 0 0 255.99974,0.1037582 Z"/>
<circle fill="#989898" cx="413.73395" cy="395.55249" r="62.658623"/>
<path fill="#9987f7" d="M 281.22266,61.638672 C 252.51456,62.340868 242.25,96.445313 242.25,96.445312 c 0,0 21.86201,-0.227885 38.08398,2 19.65914,2.699828 36.77735,8.470708 36.77735,8.470708 0,0 -12.11668,-45.858806 -35.88867,-45.277348 z M 176.44531,79.111328 c -48.18491,2.028263 -80.827865,69.713282 -12.08398,159.111332 0.80656,1.04883 -3.8528,2.37319 -12.25,-6.08399 -14.29504,-14.39717 -25.27735,-39.58398 -25.27735,-39.58398 0,0 -30.436305,90.74071 -54.556636,125.36133 -11.322277,16.25085 -23.296424,29.36279 -34.673828,40.0664 36.151435,77.35626 112.144444,132.24302 201.664064,138.37696 0.39018,-1.71398 0.87261,-3.37594 1.17773,-5.13672 7.3847,-42.61472 22.24188,-82.33049 49.29102,-109.79297 a 125.31725,125.31725 0 0 1 123.76953,-109.59766 125.31725,125.31725 0 0 1 33.93945,5.30274 c -6.47254,-3.74441 -14.05852,-10.17329 -14.55664,-20.30079 -0.72761,-14.7695 26.44531,-16 26.44531,-16 0,0 -16.78004,-12.90508 -42.25,-31.02929 -14.15715,-10.07648 -23.71667,-44.74677 -63.55664,-75.52735 -42.51349,-32.84957 -109.55468,-29.36132 -109.55468,-29.36132 0,0 11.18932,19.49627 11.88867,25.47265 1.15061,9.83807 -4.14406,0.85935 -4.80664,-0.19336 -20.40648,-35.136141 -46.82455,-50.026407 -69.88867,-51.083982 -1.58601,-0.07268 -3.16642,-0.06541 -4.72071,0 z M 331.66602,200.88867 c 11.37689,-0.77289 21.73754,6.54406 24.80664,17.52735 l 0.88867,6.47265 c 0,12.65368 -9.79137,23.13771 -22.41602,24 -12.62502,0.86151 -23.75391,-8.18588 -25.47265,-20.72265 -1.71877,-12.53681 6.55285,-24.26336 18.94336,-26.83204 1.07318,-0.22215 2.15627,-0.37139 3.25,-0.44531 z"/>
<path fill="#7b6dc4" d="m 177.84845,197.13285 c 0,0 -44.43023,-63.57598 -8.46796,-99.538252 26.21392,-26.213922 64.86752,30.516502 64.86752,30.516502 0,0 -40.50667,-3.42071 -42.97866,11.82315 -1.00026,6.16799 14.37955,10.70468 14.37955,10.70468 0,0 -10.86453,14.69916 -15.49793,22.44815 -4.63345,7.74898 -12.30252,24.04577 -12.30252,24.04577 z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

+126
View File
@@ -0,0 +1,126 @@
#!/usr/bin/env bash
set -euo pipefail
readonly BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
usage(){
cat <<EOF
Usage: run this script and provide four file paths when prompted.
It will replace icons in the repository `public/` tree using ffmpeg.
You will be prompted for:
- maskless (borderless) logo (used for maskable icons)
- circular logo (used for circular icons)
- highlight variant (icon for highlight indicator)
- unread variant (icon for unread indicator)
Requires: ffmpeg, base64
EOF
}
if [[ "${1-}" == "--help" || "${1-}" == "-h" ]]; then
usage
exit 0
fi
read -rp "Path to maskless (borderless) logo: " MASKLESS
read -rp "Path to circular logo: " CIRCULAR
read -rp "Path to highlight variant: " HIGHLIGHT
read -rp "Path to unread variant: " UNREAD
for f in "$MASKLESS" "$CIRCULAR" "$HIGHLIGHT" "$UNREAD"; do
if [[ ! -f "$f" ]]; then
echo "File not found: $f" >&2
exit 2
fi
if [[ "${f,,}" != *.svg ]]; then
echo "Input must be an SVG: $f" >&2
exit 3
fi
done
ffmpeg_cmd(){
local in="$1" out="$2" size="$3"
mkdir -p "$(dirname "$out")"
echo "Generating $out ($size x $size)"
ffmpeg -y -width "$size" -height "$size" -i "$in" "$out" 2>/dev/null
}
# All inputs are required to be SVG. Use ffmpeg to render SVGs to PNG targets
# and copy SVGs directly to the svg assets directory.
is_svg(){
local f="$1"
[[ "${f,,}" == *.svg ]]
}
echo "Replacing circular icons..."
declare -a CIRCULAR_TARGETS=(
"512:$BASE_DIR/public/favicon.png"
"2560:$BASE_DIR/public/full_res_sable.png"
"144:$BASE_DIR/public/res/logo/logo-144x144.png"
"192:$BASE_DIR/public/res/logo/logo-192x192.png"
"256:$BASE_DIR/public/res/logo/logo-256x256.png"
"36:$BASE_DIR/public/res/logo/logo-36x36.png"
"384:$BASE_DIR/public/res/logo/logo-384x384.png"
"48:$BASE_DIR/public/res/logo/logo-48x48.png"
"512:$BASE_DIR/public/res/logo/logo-512x512.png"
"72:$BASE_DIR/public/res/logo/logo-72x72.png"
"96:$BASE_DIR/public/res/logo/logo-96x96.png"
)
for entry in "${CIRCULAR_TARGETS[@]}"; do
size=${entry%%:*}
out=${entry#*:}
ffmpeg_cmd "$CIRCULAR" "$out" "$size"
done
echo "Replacing maskable icons (using maskless input)..."
declare -a MASKABLE_TARGETS=(
"114:$BASE_DIR/public/res/logo-maskable/logo-maskable-114x114.png"
"120:$BASE_DIR/public/res/logo-maskable/logo-maskable-120x120.png"
"144:$BASE_DIR/public/res/logo-maskable/logo-maskable-144x144.png"
"152:$BASE_DIR/public/res/logo-maskable/logo-maskable-152x152.png"
"167:$BASE_DIR/public/res/logo-maskable/logo-maskable-167x167.png"
"180:$BASE_DIR/public/res/logo-maskable/logo-maskable-180x180.png"
"192:$BASE_DIR/public/res/logo-maskable/logo-maskable-192x192.png"
"256:$BASE_DIR/public/res/logo-maskable/logo-maskable-256x256.png"
"36:$BASE_DIR/public/res/logo-maskable/logo-maskable-36x36.png"
"384:$BASE_DIR/public/res/logo-maskable/logo-maskable-384x384.png"
"48:$BASE_DIR/public/res/logo-maskable/logo-maskable-48x48.png"
"512:$BASE_DIR/public/res/logo-maskable/logo-maskable-512x512.png"
"57:$BASE_DIR/public/res/logo-maskable/logo-maskable-57x57.png"
"60:$BASE_DIR/public/res/logo-maskable/logo-maskable-60x60.png"
"72:$BASE_DIR/public/res/logo-maskable/logo-maskable-72x72.png"
"76:$BASE_DIR/public/res/logo-maskable/logo-maskable-76x76.png"
"96:$BASE_DIR/public/res/logo-maskable/logo-maskable-96x96.png"
)
for entry in "${MASKABLE_TARGETS[@]}"; do
size=${entry%%:*}
out=${entry#*:}
ffmpeg_cmd "$MASKLESS" "$out" "$size"
done
echo "Handling SVG assets in public/res/svg/..."
SVG_DIR="$BASE_DIR/public/res/svg"
mkdir -p "$SVG_DIR"
# logo.svg from circular input (inputs are SVG so copy directly)
echo "Copying circular SVG to $SVG_DIR/logo.svg"
cp "$CIRCULAR" "$SVG_DIR/logo.svg"
# logo-maskable.svg from maskless input
echo "Copying maskable SVG to $SVG_DIR/logo-maskable.svg"
cp "$MASKLESS" "$SVG_DIR/logo-maskable.svg"
# highlight.svg
cp "$HIGHLIGHT" "$SVG_DIR/highlight.svg"
# unread.svg
cp "$UNREAD" "$SVG_DIR/unread.svg"
echo "All done. Please review the generated files."
+3 -3
View File
@@ -3,7 +3,7 @@ import { Box, Text, Icon, Icons, Scroll, Button, config, toRem, Spinner } from '
import { PageContent } from '$components/page';
import { SequenceCard } from '$components/sequence-card';
import { SettingTile } from '$components/setting-tile';
import CinnySVG from '$public/res/svg/cinny-logo.svg';
import LogoSVG from '$public/res/svg/logo.svg';
import { clearCacheAndReload } from '$client/initMatrix';
import { useMatrixClient } from '$hooks/useMatrixClient';
import { SequenceCardStyle } from '$features/settings/styles.css';
@@ -190,8 +190,8 @@ export function About({ requestBack, requestClose }: Readonly<AboutProps>) {
<Box shrink="No">
<img
style={{ width: toRem(60), height: toRem(60) }}
src={CinnySVG}
alt="Cinny logo"
src={LogoSVG}
alt="Sable logo"
/>
</Box>
<Box direction="Column" gap="300">
+2 -2
View File
@@ -14,7 +14,7 @@ import classNames from 'classnames';
import * as PatternsCss from '$styles/Patterns.css';
import { clientAllowedServer, clientDefaultServer, useClientConfig } from '$hooks/useClientConfig';
import { AsyncStatus, useAsyncCallback } from '$hooks/useAsyncCallback';
import CinnySVG from '$public/favicon.png';
import LogoSVG from '$public/res/svg/logo.svg';
import { SpecVersionsLoader } from '$components/SpecVersionsLoader';
import { SpecVersionsProvider } from '$hooks/useSpecVersions';
import { AutoDiscoveryInfoProvider } from '$hooks/useAutoDiscoveryInfo';
@@ -136,7 +136,7 @@ export function AuthLayout() {
<Box direction="Column" className={css.AuthCard}>
<Header className={css.AuthHeader} size="600" variant="Surface">
<Box grow="Yes" direction="Row" gap="300" alignItems="Center">
<img className={css.AuthLogo} src={CinnySVG} alt="Cinny Logo" />
<img className={css.AuthLogo} src={LogoSVG} alt="Sable Logo" />
<Text size="H3">Sable</Text>
</Box>
{isAddingAccount && (
@@ -35,7 +35,7 @@ import {
import { NotificationType } from '$types/matrix/room';
import { createLogger } from '$utils/debug';
import { createDebugLogger } from '$utils/debugLogger';
import LogoSVG from '$public/res/svg/cinny-logo.svg';
import LogoSVG from '$public/res/svg/logo.svg';
import { nicknamesAtom } from '$state/nicknames';
import {
buildRoomMessageNotification,
+3 -3
View File
@@ -17,9 +17,9 @@ import parse from 'html-react-parser';
import { getReactCustomHtmlParser, LINKIFY_OPTS } from '$plugins/react-custom-html-parser';
import { sanitizeCustomHtml } from '$utils/sanitize';
import { roomToUnreadAtom } from '$state/room/roomToUnread';
import LogoSVG from '$public/res/svg/cinny-logo.svg';
import LogoUnreadSVG from '$public/res/svg/cinny-unread.svg';
import LogoHighlightSVG from '$public/res/svg/cinny-highlight.svg';
import LogoSVG from '$public/res/svg/logo.svg';
import LogoUnreadSVG from '$public/res/svg/unread.svg';
import LogoHighlightSVG from '$public/res/svg/highlight.svg';
import NotificationSound from '$public/sound/notification.ogg';
import InviteSound from '$public/sound/invite.ogg';
import { notificationPermission, setFavicon } from '$utils/dom';
+2 -2
View File
@@ -1,6 +1,6 @@
import { Box, Button, Icon, Icons, Text, config, toRem } from 'folds';
import { Page, PageHero, PageHeroSection } from '$components/page';
import CinnySVG from '$public/res/svg/cinny-logo.svg';
import LogoSVG from '$public/res/svg/logo.svg';
export function WelcomePage() {
return (
@@ -13,7 +13,7 @@ export function WelcomePage() {
>
<PageHeroSection>
<PageHero
icon={<img width="70" height="70" src={CinnySVG} alt="Cinny Logo" />}
icon={<img width="70" height="70" src={LogoSVG} alt="Sable Logo" />}
title="Welcome to Sable"
subTitle={
<span>
+2 -3
View File
@@ -1,6 +1,5 @@
export const DEFAULT_NOTIFICATION_ICON =
'/public/res/logo-maskable/cinny-logo-maskable-180x180.png';
export const DEFAULT_NOTIFICATION_BADGE = '/public/res/logo-maskable/cinny-logo-maskable-72x72.png';
export const DEFAULT_NOTIFICATION_ICON = '/public/res/logo-maskable/logo-maskable-180x180.png';
export const DEFAULT_NOTIFICATION_BADGE = '/public/res/logo-maskable/logo-maskable-72x72.png';
export const DEFAULT_MESSAGE_PREVIEW = 'new message';
export const ENCRYPTED_MESSAGE_PREVIEW = 'Encrypted message';
+4 -4
View File
@@ -433,8 +433,8 @@ async function handleMinimalPushPayload(
console.debug('[SW push] minimal payload: no session, showing generic notification');
await self.registration.showNotification('New Message', {
body: undefined,
icon: '/public/res/logo-maskable/cinny-logo-maskable-180x180.png',
badge: '/public/res/logo-maskable/cinny-logo-maskable-72x72.png',
icon: '/public/res/logo-maskable/logo-maskable-180x180.png',
badge: '/public/res/logo-maskable/logo-maskable-72x72.png',
tag: `room-${roomId}`,
renotify: true,
data: { room_id: roomId, event_id: eventId },
@@ -452,8 +452,8 @@ async function handleMinimalPushPayload(
if (!rawEvent) {
await self.registration.showNotification('New Message', {
body: undefined,
icon: '/public/res/logo-maskable/cinny-logo-maskable-180x180.png',
badge: '/public/res/logo-maskable/cinny-logo-maskable-72x72.png',
icon: '/public/res/logo-maskable/logo-maskable-180x180.png',
badge: '/public/res/logo-maskable/logo-maskable-72x72.png',
tag: `room-${roomId}`,
renotify: true,
data: { room_id: roomId, event_id: eventId, user_id: session.userId },