fix: update language options in SiteConfig for clarity and completeness

This commit is contained in:
L4Ph
2025-08-03 22:23:18 +09:00
parent 7bb75ef394
commit 7d5f18d8a1
2 changed files with 12 additions and 2 deletions

View File

@@ -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

View File

@@ -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;