1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Exporting active theme to extensions

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

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,
}

View File

@ -0,0 +1,5 @@
import { themeStore } from "../../renderer/theme.store";
export function getActiveTheme() {
return themeStore.activeTheme;
}