fix: drop ico link tag — favicon.ico has opaque white corners
The .ico file is a single 32×32 frame with white (255,255,255,255) pixels filling the rounded-corner regions instead of transparent ones, so declaring it as an `<link rel="icon">` made Chrome render the favicon with visible white corners on dark backgrounds. The svg+xml type fix and apple-touch-icon link remain — those don't involve the .ico. Legacy browsers that need the .ico will still find it via the root `/favicon.ico` auto-probe; regenerating the .ico from favicon.svg so its content matches the rest is a separate asset change.
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
name="description"
|
name="description"
|
||||||
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript." />
|
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript." />
|
||||||
<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/favicon.svg" />
|
||||||
<link rel="icon" type="image/x-icon" href="%sveltekit.assets%/favicon.ico" />
|
|
||||||
<link rel="apple-touch-icon" href="%sveltekit.assets%/favicon.png" />
|
<link rel="apple-touch-icon" href="%sveltekit.assets%/favicon.png" />
|
||||||
<link rel="mask-icon" href="%sveltekit.assets%/favicon.svg" color="#000000" />
|
<link rel="mask-icon" href="%sveltekit.assets%/favicon.svg" color="#000000" />
|
||||||
<meta name="theme-color" content="#ff3670" />
|
<meta name="theme-color" content="#ff3670" />
|
||||||
|
|||||||
Reference in New Issue
Block a user