ASF-admin: gebruik het echte favicon.png van de website als themafavicon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="ASF">
|
||||
<rect width="64" height="64" rx="8" fill="#5f6a58"/>
|
||||
<text x="32" y="41" text-anchor="middle" font-family="Georgia, 'Times New Roman', serif" font-size="26" fill="#faf7f2">ASF</text>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 283 B |
@@ -38,7 +38,7 @@ export function resolveTheme(name: string | undefined, dir: string = THEMES_DIR)
|
||||
);
|
||||
}
|
||||
|
||||
const favicon = path.join(dir, trimmed, 'favicon.svg');
|
||||
const favicon = path.join(dir, trimmed, 'favicon.png');
|
||||
return {
|
||||
css: path.join(dir, trimmed, 'theme.css'),
|
||||
favicon: fs.existsSync(favicon) ? favicon : null,
|
||||
|
||||
Reference in New Issue
Block a user