fix: fix errors and reformat code

This commit is contained in:
saicaca
2024-08-03 16:40:20 +08:00
parent 1f93499ece
commit 0ad144add3
44 changed files with 550 additions and 558 deletions

View File

@@ -1,37 +1,44 @@
import type {Favicon} from "@/types/config.ts";
import type { Favicon } from '@/types/config.ts'
export const defaultFavicons: Favicon[] = [
{
src: '/favicon/favicon-light-32.png',
theme: 'light',
sizes: '32x32',
}, {
src: '/favicon/favicon-light-128.png',
theme: 'light',
sizes: '128x128',
}, {
src: '/favicon/favicon-light-180.png',
theme: 'light',
sizes: '180x180',
}, {
src: '/favicon/favicon-light-192.png',
theme: 'light',
sizes: '192x192',
}, {
src: '/favicon/favicon-dark-32.png',
theme: 'dark',
sizes: '32x32',
}, {
src: '/favicon/favicon-dark-128.png',
theme: 'dark',
sizes: '128x128',
}, {
src: '/favicon/favicon-dark-180.png',
theme: 'dark',
sizes: '180x180',
}, {
src: '/favicon/favicon-dark-192.png',
theme: 'dark',
sizes: '192x192',
}
]
{
src: '/favicon/favicon-light-32.png',
theme: 'light',
sizes: '32x32',
},
{
src: '/favicon/favicon-light-128.png',
theme: 'light',
sizes: '128x128',
},
{
src: '/favicon/favicon-light-180.png',
theme: 'light',
sizes: '180x180',
},
{
src: '/favicon/favicon-light-192.png',
theme: 'light',
sizes: '192x192',
},
{
src: '/favicon/favicon-dark-32.png',
theme: 'dark',
sizes: '32x32',
},
{
src: '/favicon/favicon-dark-128.png',
theme: 'dark',
sizes: '128x128',
},
{
src: '/favicon/favicon-dark-180.png',
theme: 'dark',
sizes: '180x180',
},
{
src: '/favicon/favicon-dark-192.png',
theme: 'dark',
sizes: '192x192',
},
]