fix logo replacement

This commit is contained in:
Matthias Kretschmann 2024-02-02 16:59:28 +00:00
parent 0f7ae21beb
commit ce63e43aa3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
10 changed files with 8 additions and 15 deletions

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -0,0 +1,6 @@
<svg width="256px" height="256px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" >
<g id="logo">
<rect id="Rectangle" fill="#C0CED3" fill-rule="nonzero" x="0" y="0" width="256" height="256" rx="28"></rect>
<path d="M148.57,172.766 C144.16,183.925 134.795,190.364 119.016,197.617 C114.515,199.476 110.096,201.662 105.543,203.905 L103.746,143.726 L107.339,143.726 L107.339,132.947 L102.848,132.947 L102.848,128.456 C113.324,126.081 121.026,116.914 120.812,106.002 C121.026,95.1677 114.378,86.2793 104.644,82.6486 L104.644,61.0919 L101.052,60.1938 L101.052,54.8046 L99.2553,53.0082 L98.3571,8.09851 L96.5607,8.09851 L94.7643,8.09851 L93.8661,53.0082 L92.0697,54.8046 L92.0697,60.1938 L88.477,61.0919 L88.477,82.6486 C78.9568,86.2722 72.3095,95.1641 72.3095,106.002 C72.3095,116.91 80.0117,126.077 90.2734,128.456 L90.2734,132.947 L85.7824,132.947 L85.7824,143.726 L89.3752,143.726 L83.986,256 L109.135,256 L106.441,227.258 C109.965,223.185 117.096,219.743 127.099,215.581 C146.18,206.543 162.356,193.991 167.494,163.628 L170.213,163.628 L170.213,152.85 L165.722,152.85 L165.722,148.359 C176.197,145.983 183.899,136.816 183.686,125.904 C183.899,115.07 177.252,106.182 167.518,102.551 L167.518,80.9943 L163.925,80.0961 L163.925,74.7069 L162.129,72.9106 L161.231,28.0009 L159.434,28.0009 L157.638,28.0009 L156.74,72.9106 L154.943,74.7069 L154.943,80.0961 L151.351,80.9943 L151.351,102.551 C141.83,106.175 135.183,115.066 135.183,125.904 C135.183,136.812 142.885,145.979 153.147,148.359 L153.147,152.85 L148.656,152.85 L148.656,163.628 L151.318,163.628 C150.542,167.012 149.651,170.031 148.57,172.766 Z" id="Path" fill="#BA5B81"></path>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,12 +0,0 @@
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<rect width="256" height="256" fill="white"/>
<rect width="256" height="256" rx="28" fill="#C0CED3"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M148.57 172.766C144.16 183.925 134.795 190.364 119.016 197.617C114.515 199.476 110.096 201.662 105.543 203.905L103.746 143.726H107.339V132.947H102.848V128.456C113.324 126.081 121.026 116.914 120.812 106.002C121.026 95.1677 114.378 86.2793 104.644 82.6486V61.0919L101.052 60.1938V54.8046L99.2553 53.0082L98.3571 8.09851H96.5607H94.7643L93.8661 53.0082L92.0697 54.8046V60.1938L88.477 61.0919V82.6486C78.9568 86.2722 72.3095 95.1641 72.3095 106.002C72.3095 116.91 80.0117 126.077 90.2734 128.456V132.947H85.7824V143.726H89.3752L83.986 256H109.135L106.441 227.258C109.965 223.185 117.096 219.743 127.099 215.581C146.18 206.543 162.356 193.991 167.494 163.628H170.213V152.85H165.722V148.359C176.197 145.983 183.899 136.816 183.686 125.904C183.899 115.07 177.252 106.182 167.518 102.551V80.9943L163.925 80.0961V74.7069L162.129 72.9106L161.231 28.0009H159.434H157.638L156.74 72.9106L154.943 74.7069V80.0961L151.351 80.9943V102.551C141.83 106.175 135.183 115.066 135.183 125.904C135.183 136.812 142.885 145.979 153.147 148.359V152.85H148.656V163.628H151.318C150.542 167.012 149.651 170.031 148.57 172.766Z" fill="#BA5B81"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="256" height="256" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,5 +1,3 @@
<link rel="mask-icon" href="/img/gitea-safari.svg" color="#BA5B81">
<style>
:root {
--color-primary: #BA5B81;

View File

@ -29,6 +29,7 @@ gulp.task('deploy', () => {
hostname: 'git',
username: 'git',
destination: '/home/git/gitea/custom',
chown: 'git:git'
chown: 'git:git',
delete: true
}))
})