Exporting active theme to extensions (#1371)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2020-11-16 12:10:35 +02:00
1 parent fce05c6cb2
commit d559d5e62a
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;
}