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

@@ -9,6 +9,15 @@ export type SiteConfig = {
enable: boolean
src: string
}
favicon: {
enable: boolean
size: string
src: {
light: string
dark: string
}
}
}
export enum LinkPreset {