mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
feat: allow user to customize favicon (#47)
* feat: add basic custom favicon feature * add auto-switch icon * revert to the original setting `false`
This commit is contained in:
@@ -15,6 +15,14 @@ export const siteConfig: SiteConfig = {
|
||||
enable: false,
|
||||
src: 'assets/images/demo-banner.png',
|
||||
},
|
||||
favicon: {
|
||||
enable: false,
|
||||
size: '32x32',
|
||||
src: {
|
||||
light: '/favicon/favicon-light-32.png',
|
||||
dark: '/favicon/favicon-dark-32.png',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export const navBarConfig: NavBarConfig = {
|
||||
|
||||
Reference in New Issue
Block a user