Pin the UI locale to the language setting and add theme + language selectors with a dark palette

This commit is contained in:
ZacharyZhang-NY committed 2026-07-07 12:28:06 -04:00
1 parent b30b9a3bc1
commit d404e1e72a
18 files changed
+176 -11

No files matched your search

+9
View File
@@ -62,8 +62,17 @@ import type {
SocialAuditRecord,
} from "./social-domain";
export type UiTheme = "system" | "light" | "dark";
export type UiLanguage = "en" | "zh";
export interface UiPreferences {
theme: UiTheme;
language: UiLanguage;
}
export interface AppSnapshot {
activeOrgId: string | null;
uiPreferences: UiPreferences;
organizations: OrganizationRecord[];
employees: EmployeeRecord[];
agents: AgentRecord[];