1import Theme from "../themes/common/theme";
2import chatPanel from "./chatPanel";
3import { text } from "./components";
4import contactFinder from "./contactFinder";
5import contactsPanel from "./contactsPanel";
6import commandPalette from "./commandPalette";
7import editor from "./editor";
8import projectPanel from "./projectPanel";
9import search from "./search";
10import picker from "./picker";
11import workspace from "./workspace";
12import contextMenu from "./contextMenu";
13import projectDiagnostics from "./projectDiagnostics";
14import contactNotification from "./contactNotification";
15import updateNotification from "./updateNotification";
16import tooltip from "./tooltip";
17import terminal from "./terminal";
18
19export const panel = {
20 padding: { top: 12, bottom: 12 },
21};
22
23export default function app(theme: Theme): Object {
24 return {
25 picker: picker(theme),
26 workspace: workspace(theme),
27 contextMenu: contextMenu(theme),
28 editor: editor(theme),
29 projectDiagnostics: projectDiagnostics(theme),
30 commandPalette: commandPalette(theme),
31 projectPanel: projectPanel(theme),
32 chatPanel: chatPanel(theme),
33 contactsPanel: contactsPanel(theme),
34 contactFinder: contactFinder(theme),
35 search: search(theme),
36 breadcrumbs: {
37 ...text(theme, "sans", "secondary"),
38 padding: {
39 left: 6,
40 },
41 },
42 contactNotification: contactNotification(theme),
43 updateNotification: updateNotification(theme),
44 tooltip: tooltip(theme),
45 terminal: terminal(theme),
46 };
47}