Commit dbd2845d authored by andrej stefanovski's avatar andrej stefanovski
Browse files

Implement Light/Dark Mode for SVG Favicon

parent 1317ef2f
<!--
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="159" height="129" viewBox="0 0 602.501 488.822">
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="256" height="256" viewBox="0 0 680 680"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid" width="256" height="256" viewBox="0 0 680 680">
<defs> <defs>
<style> <style>
.cls-1 { path {
fill: #131313; fill: #131313;
fill-rule: evenodd; fill-rule: evenodd;
} }
</style> @media (prefers-color-scheme: dark) {
</defs> path {
<rect x="0" y="0" width="600" height="490" fill="white" /> fill: #ffffff;
<path d="M557.623,275.705 C546.556,309.127 537.711,339.182 531.093,365.874 C524.471,392.567 521.165,408.411 521.165,413.400 C521.165,422.301 523.876,426.747 529.303,426.747 C536.246,426.747 550.462,418.283 571.946,401.356 C575.415,397.887 577.806,395.822 579.108,395.171 L589.850,409.169 C576.829,422.189 562.557,434.671 547.044,446.603 C531.526,458.541 517.798,467.762 505.865,474.273 C493.928,480.783 485.464,484.038 480.475,484.038 C470.272,484.038 465.175,477.742 465.175,465.158 C465.175,459.085 466.966,449.045 470.546,435.047 C474.127,421.050 476.569,413.075 477.871,411.122 C479.824,403.309 481.991,395.822 484.381,388.661 L483.079,387.359 C464.850,410.583 444.449,432.499 421.881,453.114 C399.308,473.734 378.800,484.038 360.358,484.038 C345.816,484.038 333.228,476.928 322.597,462.717 C311.962,448.506 306.647,427.835 306.647,400.705 C306.647,372.929 312.450,345.366 324.062,318.023 C335.669,290.679 351.675,266.051 372.076,244.130 C392.472,222.213 416.022,204.691 442.714,191.558 C469.407,178.430 497.509,171.864 527.024,171.864 C530.493,171.864 541.073,172.952 558.763,175.119 C576.448,177.291 586.595,178.486 589.199,178.700 L593.105,186.512 C580.517,212.554 568.691,242.288 557.623,275.705 ZM492.519,200.510 C474.722,200.510 457.795,205.993 441.738,216.948 C425.676,227.909 411.464,242.777 399.095,261.545 C386.725,280.318 376.959,301.314 369.798,324.533 C362.636,347.757 359.056,370.650 359.056,393.218 C359.056,410.364 361.929,423.003 367.682,431.141 C373.429,439.279 379.238,443.348 385.097,443.348 C393.561,443.348 406.526,436.187 423.997,421.864 C441.463,407.541 457.688,389.098 472.662,366.525 C482.428,352.421 490.566,336.633 497.076,319.162 C503.587,301.696 512.915,272.124 525.071,230.458 C525.504,229.374 526.643,225.900 528.489,220.041 C530.330,214.182 531.470,210.387 531.907,208.648 C515.194,203.226 502.066,200.510 492.519,200.510 ZM0.006,475.900 L233.405,-0.011 L278.001,-0.011 L44.602,475.900 L0.006,475.900 Z" transform="translate(4.7 2.39)" class="cls-1"/> fill-rule: evenodd;
}
}
</style>
</defs>
<path d="M557.623,275.705 C546.556,309.127 537.711,339.182 531.093,365.874 C524.471,392.567 521.165,408.411 521.165,413.400 C521.165,422.301 523.876,426.747 529.303,426.747 C536.246,426.747 550.462,418.283 571.946,401.356 C575.415,397.887 577.806,395.822 579.108,395.171 L589.850,409.169 C576.829,422.189 562.557,434.671 547.044,446.603 C531.526,458.541 517.798,467.762 505.865,474.273 C493.928,480.783 485.464,484.038 480.475,484.038 C470.272,484.038 465.175,477.742 465.175,465.158 C465.175,459.085 466.966,449.045 470.546,435.047 C474.127,421.050 476.569,413.075 477.871,411.122 C479.824,403.309 481.991,395.822 484.381,388.661 L483.079,387.359 C464.850,410.583 444.449,432.499 421.881,453.114 C399.308,473.734 378.800,484.038 360.358,484.038 C345.816,484.038 333.228,476.928 322.597,462.717 C311.962,448.506 306.647,427.835 306.647,400.705 C306.647,372.929 312.450,345.366 324.062,318.023 C335.669,290.679 351.675,266.051 372.076,244.130 C392.472,222.213 416.022,204.691 442.714,191.558 C469.407,178.430 497.509,171.864 527.024,171.864 C530.493,171.864 541.073,172.952 558.763,175.119 C576.448,177.291 586.595,178.486 589.199,178.700 L593.105,186.512 C580.517,212.554 568.691,242.288 557.623,275.705 ZM492.519,200.510 C474.722,200.510 457.795,205.993 441.738,216.948 C425.676,227.909 411.464,242.777 399.095,261.545 C386.725,280.318 376.959,301.314 369.798,324.533 C362.636,347.757 359.056,370.650 359.056,393.218 C359.056,410.364 361.929,423.003 367.682,431.141 C373.429,439.279 379.238,443.348 385.097,443.348 C393.561,443.348 406.526,436.187 423.997,421.864 C441.463,407.541 457.688,389.098 472.662,366.525 C482.428,352.421 490.566,336.633 497.076,319.162 C503.587,301.696 512.915,272.124 525.071,230.458 C525.504,229.374 526.643,225.900 528.489,220.041 C530.330,214.182 531.470,210.387 531.907,208.648 C515.194,203.226 502.066,200.510 492.519,200.510 ZM0.006,475.900 L233.405,-0.011 L278.001,-0.011 L44.602,475.900 L0.006,475.900 Z" transform="translate(4.7 2.39)" />
</svg> </svg>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment