1import contact_finder from "./contact_finder"
2import contacts_popover from "./contacts_popover"
3import command_palette from "./command_palette"
4import project_panel from "./project_panel"
5import search from "./search"
6import picker from "./picker"
7import workspace from "./workspace"
8import context_menu from "./context_menu"
9import shared_screen from "./shared_screen"
10import project_diagnostics from "./project_diagnostics"
11import contact_notification from "./contact_notification"
12import update_notification from "./update_notification"
13import simple_message_notification from "./simple_message_notification"
14import project_shared_notification from "./project_shared_notification"
15import tooltip from "./tooltip"
16import terminal from "./terminal"
17import contact_list from "./contact_list"
18import toolbar_dropdown_menu from "./toolbar_dropdown_menu"
19import incoming_call_notification from "./incoming_call_notification"
20import welcome from "./welcome"
21import copilot from "./copilot"
22import assistant from "./assistant"
23import { titlebar } from "./titlebar"
24import editor from "./editor"
25import feedback from "./feedback"
26import { useTheme } from "../common"
27
28export default function app(): any {
29 const theme = useTheme()
30
31 return {
32 meta: {
33 name: theme.name,
34 is_light: theme.is_light,
35 },
36 command_palette: command_palette(),
37 contact_notification: contact_notification(),
38 project_shared_notification: project_shared_notification(),
39 incoming_call_notification: incoming_call_notification(),
40 picker: picker(),
41 workspace: workspace(),
42 titlebar: titlebar(),
43 copilot: copilot(),
44 welcome: welcome(),
45 context_menu: context_menu(),
46 editor: editor(),
47 project_diagnostics: project_diagnostics(),
48 project_panel: project_panel(),
49 contacts_popover: contacts_popover(),
50 contact_finder: contact_finder(),
51 contact_list: contact_list(),
52 toolbar_dropdown_menu: toolbar_dropdown_menu(),
53 search: search(),
54 shared_screen: shared_screen(),
55 update_notification: update_notification(),
56 simple_message_notification: simple_message_notification(),
57 tooltip: tooltip(),
58 terminal: terminal(),
59 assistant: assistant(),
60 feedback: feedback(),
61 color_scheme: {
62 ...theme,
63 players: Object.values(theme.players),
64 ramps: {
65 neutral: theme.ramps.neutral.colors(100, "hex"),
66 red: theme.ramps.red.colors(100, "hex"),
67 orange: theme.ramps.orange.colors(100, "hex"),
68 yellow: theme.ramps.yellow.colors(100, "hex"),
69 green: theme.ramps.green.colors(100, "hex"),
70 cyan: theme.ramps.cyan.colors(100, "hex"),
71 blue: theme.ramps.blue.colors(100, "hex"),
72 violet: theme.ramps.violet.colors(100, "hex"),
73 magenta: theme.ramps.magenta.colors(100, "hex"),
74 },
75 },
76 }
77}