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