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