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 { ColorScheme } from "../theme/color_scheme"
21import welcome from "./welcome"
22import copilot from "./copilot"
23import assistant from "./assistant"
24import { titlebar } from "./titlebar"
25import editor from "./editor"
26import feedback from "./feedback"
27
28export default function app(theme: ColorScheme): any {
29 return {
30 meta: {
31 name: theme.name,
32 is_light: theme.is_light,
33 },
34 command_palette: command_palette(theme),
35 contact_notification: contact_notification(theme),
36 project_shared_notification: project_shared_notification(theme),
37 incoming_call_notification: incoming_call_notification(theme),
38 picker: picker(theme),
39 workspace: workspace(theme),
40 titlebar: titlebar(theme),
41 copilot: copilot(theme),
42 welcome: welcome(theme),
43 context_menu: context_menu(theme),
44 editor: editor(theme),
45 project_diagnostics: project_diagnostics(theme),
46 project_panel: project_panel(theme),
47 contacts_popover: contacts_popover(theme),
48 contact_finder: contact_finder(theme),
49 contact_list: contact_list(theme),
50 toolbar_dropdown_menu: toolbar_dropdown_menu(theme),
51 search: search(theme),
52 shared_screen: shared_screen(theme),
53 update_notification: update_notification(theme),
54 simple_message_notification: simple_message_notification(theme),
55 tooltip: tooltip(theme),
56 terminal: terminal(theme),
57 assistant: assistant(theme),
58 feedback: feedback(theme),
59 color_scheme: {
60 ...theme,
61 players: Object.values(theme.players),
62 ramps: {
63 neutral: theme.ramps.neutral.colors(100, "hex"),
64 red: theme.ramps.red.colors(100, "hex"),
65 orange: theme.ramps.orange.colors(100, "hex"),
66 yellow: theme.ramps.yellow.colors(100, "hex"),
67 green: theme.ramps.green.colors(100, "hex"),
68 cyan: theme.ramps.cyan.colors(100, "hex"),
69 blue: theme.ramps.blue.colors(100, "hex"),
70 violet: theme.ramps.violet.colors(100, "hex"),
71 magenta: theme.ramps.magenta.colors(100, "hex"),
72 },
73 },
74 }
75}