mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
refactor: update theme configuration and background styles
This commit is contained in:
parent
8eb0876c01
commit
d148649454
9 changed files with 129 additions and 4214 deletions
9
src/types/index.d.ts
vendored
9
src/types/index.d.ts
vendored
|
@ -14,13 +14,13 @@ export interface ThemeConfig {
|
|||
color: {
|
||||
mode: 'light' | 'dark'
|
||||
light: {
|
||||
primary: string
|
||||
backgroundStart: string
|
||||
text: string
|
||||
backgroundTop: string
|
||||
backgroundEnd: string
|
||||
}
|
||||
dark: {
|
||||
primary: string
|
||||
backgroundStart: string
|
||||
text: string
|
||||
backgroundTop: string
|
||||
backgroundEnd: string
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,6 @@ export interface ThemeConfig {
|
|||
locale: typeof langPath[number]
|
||||
moreLocale: typeof langPath[number][]
|
||||
font: string
|
||||
toc: boolean
|
||||
}
|
||||
|
||||
comment?: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue