feat: replace icon
This commit is contained in:
68
public/favicon.svg
Normal file
68
public/favicon.svg
Normal file
@@ -0,0 +1,68 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<!-- Light mode: dark lines -->
|
||||
<linearGradient id="l1" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#111111" stop-opacity="0"/>
|
||||
<stop offset="20%" stop-color="#111111" stop-opacity="0.9"/>
|
||||
<stop offset="100%" stop-color="#111111" stop-opacity="0.9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="l2" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#111111" stop-opacity="0"/>
|
||||
<stop offset="24%" stop-color="#111111" stop-opacity="0.6"/>
|
||||
<stop offset="100%" stop-color="#111111" stop-opacity="0.6"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="l3" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#111111" stop-opacity="0"/>
|
||||
<stop offset="22%" stop-color="#111111" stop-opacity="0.35"/>
|
||||
<stop offset="100%" stop-color="#111111" stop-opacity="0.35"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="l4" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#111111" stop-opacity="0"/>
|
||||
<stop offset="28%" stop-color="#111111" stop-opacity="0.18"/>
|
||||
<stop offset="100%" stop-color="#111111" stop-opacity="0.18"/>
|
||||
</linearGradient>
|
||||
<!-- Dark mode: white lines -->
|
||||
<linearGradient id="d1" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0"/>
|
||||
<stop offset="20%" stop-color="#ffffff" stop-opacity="0.95"/>
|
||||
<stop offset="100%" stop-color="#ffffff" stop-opacity="0.95"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="d2" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0"/>
|
||||
<stop offset="24%" stop-color="#ffffff" stop-opacity="0.65"/>
|
||||
<stop offset="100%" stop-color="#ffffff" stop-opacity="0.65"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="d3" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0"/>
|
||||
<stop offset="22%" stop-color="#ffffff" stop-opacity="0.4"/>
|
||||
<stop offset="100%" stop-color="#ffffff" stop-opacity="0.4"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="d4" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0"/>
|
||||
<stop offset="28%" stop-color="#ffffff" stop-opacity="0.22"/>
|
||||
<stop offset="100%" stop-color="#ffffff" stop-opacity="0.22"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<style>
|
||||
.light-icon { display: block; }
|
||||
.dark-icon { display: none; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.light-icon { display: none; }
|
||||
.dark-icon { display: block; }
|
||||
}
|
||||
</style>
|
||||
<!-- Light mode group -->
|
||||
<g class="light-icon">
|
||||
<rect x="3" y="7" width="24" height="2.2" rx="1.1" fill="url(#l1)"/>
|
||||
<rect x="4" y="12.5" width="18" height="2.2" rx="1.1" fill="url(#l2)"/>
|
||||
<rect x="3" y="18" width="20" height="2.2" rx="1.1" fill="url(#l3)"/>
|
||||
<rect x="5" y="23.5" width="14" height="2.2" rx="1.1" fill="url(#l4)"/>
|
||||
</g>
|
||||
<!-- Dark mode group -->
|
||||
<g class="dark-icon">
|
||||
<rect x="3" y="7" width="24" height="2.2" rx="1.1" fill="url(#d1)"/>
|
||||
<rect x="4" y="12.5" width="18" height="2.2" rx="1.1" fill="url(#d2)"/>
|
||||
<rect x="3" y="18" width="20" height="2.2" rx="1.1" fill="url(#d3)"/>
|
||||
<rect x="5" y="23.5" width="14" height="2.2" rx="1.1" fill="url(#d4)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.3 KiB |
Reference in New Issue
Block a user