added adaptive favicon

This commit is contained in:
sairaj mote 2023-07-27 22:45:43 +05:30
parent 758163267f
commit 8ec71a23a5
2 changed files with 13 additions and 1 deletions

12
assets/favicon.svg Normal file
View File

@ -0,0 +1,12 @@
<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: light) {
path,
rect {
fill: #000000;
}
}
</style>
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2031 8.37711L15.5937 2.76769L0.635254 17.7261L6.24467 23.3356L6.24477 23.3355L15.5939 32.6846L21.2033 27.0752L11.8542 17.726L21.2031 8.37711Z" fill="white"/>
<rect x="17.4634" y="17.7261" width="12.1006" height="12.1006" transform="rotate(-45 17.4634 17.7261)" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 567 B

View File

@ -12,7 +12,7 @@
<link <link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap" href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap"
rel="stylesheet"> rel="stylesheet">
<link rel="shortcut icon" href="assets/icon.svg" type="image/svg"> <link rel="shortcut icon" href="assets/favicon.svg" type="image/svg">
</head> </head>
<body data-theme="dark"> <body data-theme="dark">