MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / currentCompositeTheme

Function currentCompositeTheme

packages/core/src/runtime/commit/composite.ts:32–35  ·  view source on GitHub ↗
(ctx: CommitCtx)

Source from the content-addressed store, hash-verified

30});
31
32export function currentCompositeTheme(ctx: CommitCtx): Theme | null {
33 if (ctx.compositeThemeStack.length === 0) return null;
34 return ctx.compositeThemeStack[ctx.compositeThemeStack.length - 1] ?? null;
35}
36
37export function resolveCompositeChildTheme(parentTheme: Theme, vnode: VNode): Theme {
38 if (vnode.kind === "themed") {

Callers 2

commitContainerFunction · 0.85
readCompositeColorTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected