mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
initial environment setup
This commit is contained in:
commit
9d2be2a82e
15 changed files with 13276 additions and 0 deletions
48
src/types/index.d.ts
vendored
Normal file
48
src/types/index.d.ts
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue