/** @babel */ import React from 'react'; import {Actions, WorkspaceStore} from 'nylas-exports'; import ThemePicker from './theme-picker'; export function activate() { this.disposable = NylasEnv.commands.add("body", "window:launch-theme-picker", () => { WorkspaceStore.popToRootSheet(); Actions.openModal({ component: (), height: 390, width: 250, }); }); } export function deactivate() { this.disposable.dispose(); }