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:
parent
fce05c6cb2
commit
d559d5e62a
@ -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
src/extensions/renderer-api/theming.ts
Normal file
5
src/extensions/renderer-api/theming.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { themeStore } from "../../renderer/theme.store";
|
||||
|
||||
export function getActiveTheme() {
|
||||
return themeStore.activeTheme;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user