fix: make favicon theme-aware

This commit is contained in:
2026-04-19 19:44:39 +02:00
parent 1e1a3e8205
commit 2d5cfa8eb6

View File

@@ -1 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="#ffffff" stroke-width="2.5" stroke-linejoin="miter"><rect x="6" y="10" width="12" height="12"></rect><rect x="14" y="6" width="12" height="12"></rect></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none">
<style>
:root { color: #24292f; }
@media (prefers-color-scheme: dark) {
:root { color: #f0f6fc; }
}
.logo {
stroke: currentColor;
stroke-width: 2.5;
stroke-linejoin: miter;
}
</style>
<rect class="logo" x="6" y="10" width="12" height="12" />
<rect class="logo" x="14" y="6" width="12" height="12" />
</svg>

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 455 B