(ctx: CommitCtx)
| 30 | }); |
| 31 | |
| 32 | export 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 | |
| 37 | export function resolveCompositeChildTheme(parentTheme: Theme, vnode: VNode): Theme { |
| 38 | if (vnode.kind === "themed") { |
no outgoing calls
no test coverage detected