fix: update favicon images

Add svg favicon images for dark and light mode

refs acid-info/logos-brand-guidelines#16
This commit is contained in:
Hossein Mehrabi
2023-10-20 18:35:28 +03:30
parent 5addd3a172
commit 655cd48d48
12 changed files with 104 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@@ -0,0 +1,21 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
path {
fill: #000;
}
@media (prefers-color-scheme: dark) {
path {
fill: #fff;
}
}
</style>
<path
d="M43.736 47H4.26398V23.1442H43.6989L43.736 47ZM23.9564 25.058C20.5874 25.0615 17.2713 25.8799 14.3026 27.4408C11.334 29.0016 8.8044 31.2566 6.93858 34.0055C6.69173 34.2846 6.55587 34.6418 6.55587 35.011C6.55587 35.3805 6.69173 35.7376 6.93858 36.0167C8.81639 38.753 11.3506 40.9958 14.3193 42.5485C17.2878 44.1012 20.5999 44.9163 23.9649 44.9224C27.3298 44.9283 30.645 44.1251 33.6192 42.583C36.5936 41.0409 39.1362 38.8072 41.0241 36.0777C41.2935 35.7828 41.4424 35.4008 41.4424 35.005C41.4424 34.6093 41.2935 34.2273 41.0241 33.9322C39.1414 31.1945 36.5992 28.9538 33.6221 27.4081C30.6453 25.8624 27.3254 25.0594 23.9564 25.0701V25.058Z"
fill="black" />
<path
d="M24.0684 20.9134C20.7209 20.9068 17.425 20.1048 14.4631 18.5761C11.5014 17.0476 8.96212 14.8378 7.06302 12.1366C6.74638 11.8066 6.5701 11.3706 6.5701 10.9176C6.5701 10.4646 6.74638 10.0286 7.06302 9.69859C8.96108 7.00211 11.5019 4.80042 14.4654 3.28458C17.4287 1.76874 20.7249 0.984613 24.0676 1.00023C27.4104 1.01584 30.6988 1.83075 33.6473 3.37419C36.5957 4.91765 39.1152 7.14298 40.9869 9.857C41.2553 10.15 41.4036 10.5299 41.4036 10.9237C41.4036 11.3175 41.2553 11.6972 40.9869 11.9902C39.1174 14.7112 36.6004 16.9454 33.6527 18.5C30.7053 20.0546 27.4158 20.883 24.0684 20.9134ZM31.433 11.0394C31.4676 9.58604 31.0594 8.15564 30.2606 6.93055C29.4618 5.70554 28.3086 4.74161 26.948 4.16177C25.5876 3.58193 24.0816 3.41251 22.6226 3.67516C21.1633 3.9378 19.8172 4.62059 18.7557 5.63634C17.6944 6.65211 16.9661 7.95467 16.6637 9.37795C16.3613 10.8012 16.4987 12.2804 17.058 13.6269C17.6175 14.9733 18.5737 16.1258 19.8047 16.9373C21.0357 17.7488 22.4854 18.1823 23.9689 18.1829C25.9187 18.1834 27.7913 17.4361 29.1863 16.1013C30.5811 14.7662 31.3875 12.9495 31.433 11.0394Z"
fill="black" />
<path
d="M23.9936 42.2091C22.5468 42.1851 21.1399 41.7425 19.949 40.9372C18.7583 40.132 17.8369 38.9998 17.3008 37.683C16.7648 36.3662 16.6377 34.9235 16.9359 33.5362C17.234 32.1488 17.9439 30.8788 18.9763 29.8856C20.0088 28.8924 21.3178 28.2205 22.7388 27.954C24.16 27.6876 25.6296 27.8387 26.9633 28.3883C28.2969 28.938 29.4352 29.8616 30.2347 31.0431C31.0344 32.2246 31.4598 33.6114 31.4575 35.0291C31.4544 35.9825 31.2581 36.9257 30.8802 37.8041C30.5022 38.6827 29.9502 39.4789 29.2559 40.1468C28.5617 40.8146 27.739 41.3407 26.8356 41.6947C25.9324 42.0487 24.9663 42.2237 23.9936 42.2091Z"
fill="black" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@@ -0,0 +1,15 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
path {
fill: #000;
}
@media (prefers-color-scheme: dark) {
path {
fill: #fff;
}
}
</style>
<path
d="M37.4779 24.0001C37.4779 26.4779 37.4779 30.3448 37.4779 30.3448C22.6203 30.3448 24.7617 24.0001 12.0985 24C12.0985 26.4778 12.0985 30.3448 12.0985 30.3448H5.75355V24C5.75355 24 -0.564878 23.9999 12.0985 24C12.0985 21.5221 12.0985 17.6552 12.0985 17.6552C26.8502 17.6552 24.7618 24.0001 37.4779 24.0001C37.4779 21.5222 37.4779 17.6552 37.4779 17.6552H43.8227V24.0001C43.8227 24.0001 39.9558 24.0001 37.4779 24.0001Z"
fill="black" />
</svg>

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

@@ -47,6 +47,29 @@ export default function logosTheme(
async contentLoaded(args) {
await createAuthorRoutes(context, args)
},
injectHtmlTags: ({}) => {
return {
headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate icon',
type: 'image/png',
href: '/theme/image/favicon.png',
},
},
{
tagName: 'link',
attributes: {
rel: 'icon',
type: 'image/svg+xml',
href: '/theme/image/favicon.svg',
},
},
],
}
},
}
}