1import contactFinder from "./contactFinder"
2import contactsPopover from "./contactsPopover"
3import commandPalette from "./commandPalette"
4import editor from "./editor"
5import projectPanel from "./projectPanel"
6import search from "./search"
7import picker from "./picker"
8import workspace from "./workspace"
9import contextMenu from "./contextMenu"
10import sharedScreen from "./sharedScreen"
11import projectDiagnostics from "./projectDiagnostics"
12import contactNotification from "./contactNotification"
13import updateNotification from "./updateNotification"
14import simpleMessageNotification from "./simpleMessageNotification"
15import projectSharedNotification from "./projectSharedNotification"
16import tooltip from "./tooltip"
17import terminal from "./terminal"
18import contactList from "./contactList"
19import toolbarDropdownMenu from "./toolbarDropdownMenu"
20import incomingCallNotification from "./incomingCallNotification"
21import { ColorScheme } from "../theme/colorScheme"
22import feedback from "./feedback"
23import welcome from "./welcome"
24import copilot from "./copilot"
25import assistant from "./assistant"
26import { titlebar } from "./titlebar"
27
28export default function app(colorScheme: ColorScheme): Object {
29 return {
30 meta: {
31 name: colorScheme.name,
32 isLight: colorScheme.isLight,
33 },
34 commandPalette: commandPalette(colorScheme),
35 contactNotification: contactNotification(colorScheme),
36 projectSharedNotification: projectSharedNotification(colorScheme),
37 incomingCallNotification: incomingCallNotification(colorScheme),
38 picker: picker(colorScheme),
39 workspace: workspace(colorScheme),
40 titlebar: titlebar(colorScheme),
41 copilot: copilot(colorScheme),
42 welcome: welcome(colorScheme),
43 contextMenu: contextMenu(colorScheme),
44 editor: editor(colorScheme),
45 projectDiagnostics: projectDiagnostics(colorScheme),
46 projectPanel: projectPanel(colorScheme),
47 contactsPopover: contactsPopover(colorScheme),
48 contactFinder: contactFinder(colorScheme),
49 contactList: contactList(colorScheme),
50 toolbarDropdownMenu: toolbarDropdownMenu(colorScheme),
51 search: search(colorScheme),
52 sharedScreen: sharedScreen(colorScheme),
53 updateNotification: updateNotification(colorScheme),
54 simpleMessageNotification: simpleMessageNotification(colorScheme),
55 tooltip: tooltip(colorScheme),
56 terminal: terminal(colorScheme),
57 assistant: assistant(colorScheme),
58 feedback: feedback(colorScheme),
59 colorScheme: {
60 ...colorScheme,
61 players: Object.values(colorScheme.players),
62 ramps: {
63 neutral: colorScheme.ramps.neutral.colors(100, "hex"),
64 red: colorScheme.ramps.red.colors(100, "hex"),
65 orange: colorScheme.ramps.orange.colors(100, "hex"),
66 yellow: colorScheme.ramps.yellow.colors(100, "hex"),
67 green: colorScheme.ramps.green.colors(100, "hex"),
68 cyan: colorScheme.ramps.cyan.colors(100, "hex"),
69 blue: colorScheme.ramps.blue.colors(100, "hex"),
70 violet: colorScheme.ramps.violet.colors(100, "hex"),
71 magenta: colorScheme.ramps.magenta.colors(100, "hex"),
72 },
73 },
74 }
75}