Pin the UI locale to the language setting and add theme + language selectors with a dark palette
This commit is contained in:
1 parent
b30b9a3bc1
commit
d404e1e72a
18 files changed
+176
-11
No files matched your search
@@ -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[];
|
||||
|
||||
Reference in new issue
Block a user