Exporting active theme to extensions

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2020-11-13 16:17:28 +03:00
1 parent 88fb43b73b
commit a3f1d6fa04
2 files changed
+8 -1

No files matched your search

+3 -1
View File
@@ -4,9 +4,11 @@
import * as Component from "./components"
import * as K8sApi from "./k8s-api"
import * as Navigation from "./navigation"
import * as Theme from "./theming"
export {
Component,
K8sApi,
Navigation
Navigation,
Theme,
}
+5
View File
@@ -0,0 +1,5 @@
import { themeStore } from "../../renderer/theme.store";
export function getActiveTheme() {
return themeStore.activeTheme;
}