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"
25
26export default function app(colorScheme: ColorScheme): Object {
27 return {
28 meta: {
29 name: colorScheme.name,
30 isLight: colorScheme.isLight,
31 },
32 commandPalette: commandPalette(colorScheme),
33 contactNotification: contactNotification(colorScheme),
34 projectSharedNotification: projectSharedNotification(colorScheme),
35 incomingCallNotification: incomingCallNotification(colorScheme),
36 picker: picker(colorScheme),
37 workspace: workspace(colorScheme),
38 copilot: copilot(colorScheme),
39 welcome: welcome(colorScheme),
40 contextMenu: contextMenu(colorScheme),
41 editor: editor(colorScheme),
42 projectDiagnostics: projectDiagnostics(colorScheme),
43 projectPanel: projectPanel(colorScheme),
44 contactsPopover: contactsPopover(colorScheme),
45 contactFinder: contactFinder(colorScheme),
46 contactList: contactList(colorScheme),
47 search: search(colorScheme),
48 sharedScreen: sharedScreen(colorScheme),
49 updateNotification: updateNotification(colorScheme),
50 simpleMessageNotification: simpleMessageNotification(colorScheme),
51 tooltip: tooltip(colorScheme),
52 terminal: terminal(colorScheme),
53 feedback: feedback(colorScheme),
54 colorScheme: {
55 ...colorScheme,
56 players: Object.values(colorScheme.players),
57 ramps: {
58 neutral: colorScheme.ramps.neutral.colors(100, "hex"),
59 red: colorScheme.ramps.red.colors(100, "hex"),
60 orange: colorScheme.ramps.orange.colors(100, "hex"),
61 yellow: colorScheme.ramps.yellow.colors(100, "hex"),
62 green: colorScheme.ramps.green.colors(100, "hex"),
63 cyan: colorScheme.ramps.cyan.colors(100, "hex"),
64 blue: colorScheme.ramps.blue.colors(100, "hex"),
65 violet: colorScheme.ramps.violet.colors(100, "hex"),
66 magenta: colorScheme.ramps.magenta.colors(100, "hex"),
67 },
68 },
69 }
70}