2022-04-01 03:43:01 +00:00
|
|
|
import Theme from "../themes/theme";
|
|
|
|
import chatPanel from "./chatPanel";
|
2022-03-31 15:27:02 +00:00
|
|
|
import { backgroundColor, borderColor, text } from "./components";
|
2022-04-01 17:45:08 +00:00
|
|
|
import contactsPanel from "./contactsPanel";
|
2022-03-30 23:59:35 +00:00
|
|
|
import editor from "./editor";
|
2022-04-01 03:43:01 +00:00
|
|
|
import projectPanel from "./projectPanel";
|
2022-03-31 15:27:02 +00:00
|
|
|
import search from "./search";
|
2022-04-01 03:43:01 +00:00
|
|
|
import selectorModal from "./selectorModal";
|
2022-03-31 05:38:18 +00:00
|
|
|
import workspace from "./workspace";
|
2022-03-31 00:26:47 +00:00
|
|
|
|
|
|
|
export const panel = {
|
2022-04-01 17:45:08 +00:00
|
|
|
padding: { top: 12, left: 12, bottom: 12, right: 12 },
|
2022-03-31 00:26:47 +00:00
|
|
|
};
|
2022-03-29 19:08:00 +00:00
|
|
|
|
|
|
|
export default function app(theme: Theme): Object {
|
2022-04-01 17:45:08 +00:00
|
|
|
return {
|
|
|
|
selector: selectorModal(theme),
|
|
|
|
workspace: workspace(theme),
|
|
|
|
editor: editor(theme),
|
|
|
|
projectDiagnostics: {
|
|
|
|
background: backgroundColor(theme, 300),
|
|
|
|
tabIconSpacing: 4,
|
|
|
|
tabIconWidth: 13,
|
|
|
|
tabSummarySpacing: 10,
|
|
|
|
emptyMessage: {
|
|
|
|
...text(theme, "sans", "primary", { size: "lg" }),
|
|
|
|
},
|
|
|
|
statusBarItem: {
|
|
|
|
...text(theme, "sans", "muted"),
|
|
|
|
margin: {
|
|
|
|
right: 10,
|
|
|
|
},
|
|
|
|
},
|
2022-03-31 00:26:47 +00:00
|
|
|
},
|
2022-04-01 17:45:08 +00:00
|
|
|
projectPanel: projectPanel(theme),
|
|
|
|
chatPanel: chatPanel(theme),
|
|
|
|
contactsPanel: contactsPanel(theme),
|
|
|
|
search: search(theme),
|
|
|
|
breadcrumbs: {
|
|
|
|
...text(theme, "sans", "primary"),
|
|
|
|
padding: {
|
|
|
|
left: 6,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
2022-03-29 19:08:00 +00:00
|
|
|
}
|