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:
Joey Chen
2024-04-23 00:52:45 +08:00
committed by saica.go
parent 582e76cf43
commit bd468054c2
3 changed files with 21 additions and 1 deletions

View File

@@ -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 = {