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";
17
18export const panel = {
19 padding: { top: 12, bottom: 12 },
20};
21
22export default function app(theme: Theme): Object {
23 return {
24 picker: picker(theme),
25 workspace: workspace(theme),
26 contextMenu: contextMenu(theme),
27 editor: editor(theme),
28 projectDiagnostics: projectDiagnostics(theme),
29 commandPalette: commandPalette(theme),
30 projectPanel: projectPanel(theme),
31 chatPanel: chatPanel(theme),
32 contactsPanel: contactsPanel(theme),
33 contactFinder: contactFinder(theme),
34 search: search(theme),
35 breadcrumbs: {
36 ...text(theme, "sans", "secondary"),
37 padding: {
38 left: 6,
39 },
40 },
41 contactNotification: contactNotification(theme),
42 updateNotification: updateNotification(theme),
43 tooltip: tooltip(theme),
44 };
45}