initial environment setup

This commit is contained in:
radishzzz 2025-01-13 02:50:27 +00:00
commit 9d2be2a82e
15 changed files with 13276 additions and 0 deletions

48
src/types/index.d.ts vendored Normal file
View file

@ -0,0 +1,48 @@
export interface ThemeConfig {
site: {
title_EN: string
title_CN: string
subtitle_EN: string
subtitle_CN: string
url: string
author: string
favicon: string
language: string
}
theme: {
color: 'light' | 'dark' | 'auto'
light: {
primary: string
background: string
grid: string
}
dark: {
primary: string
background: string
grid: string
}
}
toc: {
enable: boolean
depth: '1' | '2' | '3'
}
rss?: {
enabled: boolean
follow?: {
feedId: string
userId: string
}
}
analytics?: {
google?: string
umami?: string
}
comment?: {
waline?: {
serverURL: string
emoji?: string[]
search?: boolean
imageUploader?: boolean
}
}
}