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

Exporting active theme to extensions (#1371)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-11-16 13:10:35 +03:00 committed by GitHub
parent fce05c6cb2
commit d559d5e62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -4,9 +4,11 @@
import * as Component from "./components" import * as Component from "./components"
import * as K8sApi from "./k8s-api" import * as K8sApi from "./k8s-api"
import * as Navigation from "./navigation" import * as Navigation from "./navigation"
import * as Theme from "./theming"
export { export {
Component, Component,
K8sApi, K8sApi,
Navigation Navigation,
Theme,
} }

View File

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