diff --git a/src/config.ts b/src/config.ts index 2395249f..aec790a9 100644 --- a/src/config.ts +++ b/src/config.ts @@ -10,7 +10,7 @@ import { LinkPreset } from "./types/config"; export const siteConfig: SiteConfig = { title: "Fuwari", subtitle: "Demo Site", - lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th', 'vi', 'id' + lang: "en", // Language code, e.g. 'en', 'zh-CN', 'ja', etc. themeColor: { hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345 fixed: false, // Hide the theme color picker for visitors diff --git a/src/types/config.ts b/src/types/config.ts index d7c7409d..c2c6a615 100644 --- a/src/types/config.ts +++ b/src/types/config.ts @@ -4,7 +4,17 @@ export type SiteConfig = { title: string; subtitle: string; - lang: "en" | "zh_CN" | "zh_TW" | "ja" | "ko" | "es" | "th" | "vi" | "tr"; + lang: + | "en" + | "zh_CN" + | "zh_TW" + | "ja" + | "ko" + | "es" + | "th" + | "vi" + | "tr" + | "id"; themeColor: { hue: number;