aboutsummaryrefslogtreecommitdiff
path: root/favicon.svg
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-08-01 13:15:38 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-08-01 13:15:38 +0700
commit8a90bca75c8d8755016b46747ca943bb7b37140c (patch)
treee45289bb96aea9216cb33a550e13c3fe477fa2cd /favicon.svg
parent793860dbd6df42d5bbf05542f2292a1c6d30fc76 (diff)
downloadcgitext-8a90bca75c8d8755016b46747ca943bb7b37140c.tar.gz
cgitext-8a90bca75c8d8755016b46747ca943bb7b37140c.zip
logo: include svg variant for both favicon and logov1.3.1+11
The reasoning behind using svg as primary defaults is simple – at close-up it is much neater, plus svg favicon is supported since 2015 in Firefox, 2020 in Chromium, 2025 in Safari. For old browsers ico is still kept as a fallback. The svg was auto-generated using a Python script and then simplified to a path, but kept close to an original.
Diffstat (limited to 'favicon.svg')
-rw-r--r--favicon.svg5
1 files changed, 5 insertions, 0 deletions
diff --git a/favicon.svg b/favicon.svg
new file mode 100644
index 0000000..6be3df4
--- /dev/null
+++ b/favicon.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 52 52" fill="none" stroke-width="6">
+ <title>cgit</title>
+ <g stroke="#f33"><path id="g" d="M37.5 15A9 9 0 0 0 28.5 6h-5A9 9 0 0 0 14.5 15v10.5a9 9 0 0 0 9 9h5a9 9 0 0 0 9-9M37.5 25.5V38a8 8 0 0 1-8 8H23a8 8 0 0 1-8-8"/></g>
+ <use href="#g" stroke="#a00" stroke-width="4"/>
+</svg>