forked from
quillmatiq.com/augment
Fork of Chiri for Astro for my blog
1// Date format types
2export type DateFormat = 'YYYY-MM-DD' | 'MM-DD-YYYY' | 'DD-MM-YYYY' | 'MONTH DAY YYYY' | 'DAY MONTH YYYY'
3
4// Site info configuration type
5export interface SiteInfo {
6 website: string
7 title: string
8 author: string
9 description: string
10 language: string
11}
12
13// General settings configuration type
14export interface GeneralSettings {
15 contentWidth: string
16 centeredLayout: boolean
17 themeToggle: boolean
18 postListDottedDivider: boolean
19 footer: boolean
20 fadeAnimation: boolean
21}
22
23// Date settings configuration type
24export interface DateSettings {
25 dateFormat: DateFormat
26 dateSeparator: string
27 dateOnRight: boolean
28}
29
30// Post settings configuration type
31export interface PostSettings {
32 readingTime: boolean
33 toc: boolean
34 imageViewer: boolean
35 copyCode: boolean
36 linkCard: boolean
37}
38
39// Theme configuration type
40export interface ThemeConfig {
41 site: SiteInfo
42 general: GeneralSettings
43 date: DateSettings
44 post: PostSettings
45}